473,412 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Where do I activate mysql support?

I run php pages in IIS in cgi-mode(only pointing them to PHP.exe).

But I can't connect to database:

Fatal error: Call to undefined function: mysql_pconnect().....

I read that I have to activate PHP with mySQL support...but where in my
scenario??

I looked at php.ini...but no results...

any help appreciated..

regards.

--
fabriZio
Jul 16 '05 #1
3 10030
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo**********************@yahoo.it> wrote:
I run php pages in IIS in cgi-mode(only pointing them to PHP.exe).

But I can't connect to database:

Fatal error: Call to undefined function: mysql_pconnect().....

I read that I have to activate PHP with mySQL support...but where in my
scenario??

I looked at php.ini...but no results...


Maybe look again. Is the extension for mysql commented maybe (with a ;
???)

HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 16 '05 #2
Only lines I found are:

;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
...............
CUT

but there aren't mysql dll (also MySQL and ODBC support is now built in)

Can u please help me?

--
fabriZio
"Jochen Daum" <jo*********@cans.co.nz> ha scritto nel messaggio
news:9h********************************@4ax.com...
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo**********************@yahoo.it> wrote:
I run php pages in IIS in cgi-mode(only pointing them to PHP.exe).

But I can't connect to database:

Fatal error: Call to undefined function: mysql_pconnect().....

I read that I have to activate PHP with mySQL support...but where in my
scenario??

I looked at php.ini...but no results...


Maybe look again. Is the extension for mysql commented maybe (with a ;
???)

HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/

Jul 16 '05 #3

"fabriZio" <jo**********************@yahoo.it> wrote in message
news:be************@ID-188335.news.dfncis.de...
Only lines I found are:

;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
..............
CUT

but there aren't mysql dll (also MySQL and ODBC support is now built in)

Can u please help me?

--
fabriZio
"Jochen Daum" <jo*********@cans.co.nz> ha scritto nel messaggio
news:9h********************************@4ax.com...
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo**********************@yahoo.it> wrote:
I run php pages in IIS in cgi-mode(only pointing them to PHP.exe).

But I can't connect to database:

Fatal error: Call to undefined function: mysql_pconnect().....

I read that I have to activate PHP with mySQL support...but where in my
scenario??

I looked at php.ini...but no results...


Maybe look again. Is the extension for mysql commented maybe (with a ;
???)

HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/



I did use my WinME laptop with Apache/PHP/MySQL and it worked fine - as a
module.

I've just checked my php.ini and the help page and found that you don't need
to enable it - what version of PHP are you using? Do a phpinfo(); and
examine the output - search for 'mysql' and it should turn up a section on
its own - There is something in my Linux configuration that says that
MYSQL_MODULE_TYPE is 'builtin'.... Secondly, since you are using php.exe as
a cgi with IIS, maybe that could be the problem since I'm using mine as a
php/apache module.

If I remember correctly, on http://www.php.net/downloads.php I downloaded
the larger of the two windows binaries when I had installed it on my laptop
(the 6mb zip package, not the 1mb installer)... I know they both say they
have mysql support built in, but... well... unless you got dialup it won't
hurt to download the 6mb file and install it...

I hope that gives you some food for thought... its what I would try...
Jul 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

74
by: John Wells | last post by:
Yes, I know you've seen the above subject before, so please be gentle with the flamethrowers. I'm preparing to enter a discussion with management at my company regarding going forward as either...
12
by: Martin_Hurst | last post by:
It would appear that MySQL is making great strides into the commercial and even the enterprise arena. I am not seeing the same news coverage being said about Postgresql. I believe Postgresql has...
5
by: Jonas | last post by:
Can you activate and deactivate the Windows Toolbar function "QuickLaunch" programatically?
2
by: Dave Booker | last post by:
I have a Windows form application that I generally run minimized. When a critical event occurs it instantiates another "Alert" form which I want to grab the user focus. In the Alert constructor...
2
by: Phillip N Rounds | last post by:
I'm working on a UserControl ( ASP.NET 1.1, C#, VS 2003), where I can't manage the state of multiple controls correctly. The controls have the following constraints 1: It has two possible...
3
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips...
1
by: Jason Wilson | last post by:
I've been tasked by my boss with configuring a MySQL install that we host for one our partners to support SSL using a commercial certificate. MySQL is installed on Windows 2000 Server. 1st: I...
0
Coldfire
by: Coldfire | last post by:
Since i cannot show the differences in a two-column like table. I am first putting MS SQL Server 2005 and then MySQL 5.x. MS SQL Server 2005 Brief Overview - SQL Server is a full-fledged...
8
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I make the 'Menu & Toolbars' menu active in the toolbox? Right now I can see the options, but not been able to select items.
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.