472,955 Members | 2,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,955 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 10008
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.
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.