473,549 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10044
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo************ **********@yaho o.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*********@ca ns.co.nz> ha scritto nel messaggio
news:9h******** *************** *********@4ax.c om...
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo************ **********@yaho o.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************ **********@yaho o.it> wrote in message
news:be******** ****@ID-188335.news.dfn cis.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*********@ca ns.co.nz> ha scritto nel messaggio
news:9h******** *************** *********@4ax.c om...
Hi !
On Wed, 9 Jul 2003 00:42:32 +0200, "fabriZio"
<jo************ **********@yaho o.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_TY PE 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
7899
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 a MySql shop or a Postgresql shop. It's my opinion that we should be using PG, because of the full ACID support, and the license involved. A...
12
2231
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 been a much better rdbms than MySQL for a long time, so then why has not Postgresql grabbed the commercial and enterprise arena before MySQL did? ...
5
1996
by: Jonas | last post by:
Can you activate and deactivate the Windows Toolbar function "QuickLaunch" programatically?
2
7881
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 I call both this.Show() and this.Activate(), but if the parent application is minimized then the Alert form will also stay minimized (and just...
2
2288
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 appearances: One 25px high ( InActiveState) with just a summary & an 'Activate / DeActivate' button, or the complete (400px) high (Active) control 2:...
3
5521
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 or sample code would be appreciated. Application outline; Machine A is running a "listener" application that is connected to a another device...
1
11195
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 know nothing about MySQL. 2nd: What little documentation I was able to find was very cryptic and seems written for LINUX. 3rd: I have found...
0
12874
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 database system developed specifically for large enterprise databases. All advanced features of a relational database are fully implemented. - Once...
8
2196
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.
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6043
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.