Forums
This topic is locked
PHP and iis
Posted 18 Nov 2005 13:08:58
1
has voted
18 Nov 2005 13:08:58 stany berden posted:
Please a need some help.I installed mysql and try to use php on Winxp using IIS 5.1.
The phpinfo script runs great however i cant set up a connection string using dreamweaver, when i select a database a get the message
Your php server doesn't have the Mysql module loaded or cant use the mysql_pconnect functions.
the php.ini is still on default no change are made manual
Can someone please help me
THX
Replies
Replied 21 Nov 2005 14:52:05
21 Nov 2005 14:52:05 stany berden replied:
Thank you so much for helping me. <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
It is working great now.
Mysql 4.1.15
PHP 5
IIS 5.1 on winxp pro
Works like a charm
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
It is working great now.
Mysql 4.1.15
PHP 5
IIS 5.1 on winxp pro
Works like a charm
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
Replied 19 Jan 2006 14:48:37
19 Jan 2006 14:48:37 Peter Freeman replied:
I have this same mysql problem as described in these forum postings. On the forum, I see the first post (Please I need some help) and the last post (Thank you so much for helping me). How do I see the other posts which presumably show the solution?
Many thanks.
Peter Freeman
Many thanks.
Peter Freeman
Replied 24 Jan 2006 07:21:46
24 Jan 2006 07:21:46 Faraz Aleem replied:
I m trying to install PHP with IIS server for last 10,15 days but i m unsuccessful.I Seek help from interet also but still unable to install.I found its installing procedure is very difficult.Is there any simple way of installing PHP with IIS server or APACHE.
Dropshippers Directory | Wholesale Directory
Property Portal | Wholesale Dropshippers
Dropshippers Directory | Wholesale Directory
Property Portal | Wholesale Dropshippers
Replied 15 Mar 2007 18:31:42
15 Mar 2007 18:31:42 Patrick Molyneux replied:
I am having exactly the same problem.
Your PHP server doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions.
Please could you send me the solution
Many thanks
Your PHP server doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions.
Please could you send me the solution
Many thanks
Replied 08 Apr 2007 09:22:38
08 Apr 2007 09:22:38 Steve Cragberg replied:
Replied 15 Apr 2007 22:06:04
15 Apr 2007 22:06:04 Kenneth Halley replied:
Installing php on Windows is usually fairly painless as there isn't much to do- just run the installer - you can get it here: www.php.net/downloads.php
The fourth one down is the Windows Binaries PHP 5.2.1 installer. There is really only one file that gets dumped in your windows directory- php.ini the rest is self contained really.
However I find my prefered way of running php/mysql/ on windows is with Apache- I use the full package you can download from
www.devside.net/server/webdeveloper
Really easy to install- read the read me info- there is even a control panel built in now so you can choose to auto or manually start the services. Only things to be aware of- you have to install it to the drive you run the installation exe on and it usually always installs to /www
I haven't done this but think you can use it to control iis assuming you have installed it too.
-----------------------------------
www.halleynet.co.uk
The fourth one down is the Windows Binaries PHP 5.2.1 installer. There is really only one file that gets dumped in your windows directory- php.ini the rest is self contained really.
However I find my prefered way of running php/mysql/ on windows is with Apache- I use the full package you can download from
www.devside.net/server/webdeveloper
Really easy to install- read the read me info- there is even a control panel built in now so you can choose to auto or manually start the services. Only things to be aware of- you have to install it to the drive you run the installation exe on and it usually always installs to /www
I haven't done this but think you can use it to control iis assuming you have installed it too.
-----------------------------------
www.halleynet.co.uk
Replied 28 Nov 2007 17:51:00
28 Nov 2007 17:51:00 Jim Ong replied:
I guess it's been a while since this topic was discussed, but this is what I did to get it to work...
My environment: XP Pro SP2, IIS 5.1, PHP 5.2.5, MySQL 5.
I installed PHP via the msi installer, and by default it wants to install to c:\program files\PHP...CHANGE THAT!! The problem here is that the PHP binaries look for the MySQL extension in c:\php5\ext and the php.ini in c:\windows. So, I installed to c:\php5, with the MySQL extension enabled. Then, I copied php.ini and libmysql.dll to c:\windows (I also copied libmysql.dll to c:\windows\system32, just in case).
So, I have 3 copies of libmysql.dll, and 2 copies of php.ini on my machine...overkill but it works.
My environment: XP Pro SP2, IIS 5.1, PHP 5.2.5, MySQL 5.
I installed PHP via the msi installer, and by default it wants to install to c:\program files\PHP...CHANGE THAT!! The problem here is that the PHP binaries look for the MySQL extension in c:\php5\ext and the php.ini in c:\windows. So, I installed to c:\php5, with the MySQL extension enabled. Then, I copied php.ini and libmysql.dll to c:\windows (I also copied libmysql.dll to c:\windows\system32, just in case).
So, I have 3 copies of libmysql.dll, and 2 copies of php.ini on my machine...overkill but it works.
Replied 29 Nov 2007 03:42:30
29 Nov 2007 03:42:30 Tim Burkart replied:
I running Vista and tried Jim Ong's configuration but am still getting the same message. Are there other options?
Thanks!
Thanks!
Replied 19 Feb 2008 06:34:43
19 Feb 2008 06:34:43 Errol Frank replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>How did you get your sql problem fixed am having the same problem any help would be greatly appreciated.
Thank you so much for helping me. <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
It is working great now.
Mysql 4.1.15
PHP 5
IIS 5.1 on winxp pro
Works like a charm
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thank you so much for helping me. <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
It is working great now.
Mysql 4.1.15
PHP 5
IIS 5.1 on winxp pro
Works like a charm
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>