RE: PHP info can't find MySql with IIS web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve, it might have been possible that your PHP installation was loading the libMySQL.DLL which is present in MySQL installation and not compatible with PHP MySQL extension. Solving this would have been easier by just ensuring that in the PATH extension C:\Program Files\PHP comes first. However the state you are in now, I am not sure. Try doing the below:
1. Uninstall everything whatever you have installed so far. When I say everything I mean everything i.e. Zend Server CE, PHP install, FastCGI etc.
2. Get Microsoft Web Platform installer and install PHP from there. This will configure everything for you. Please install PHP from http://php.iis.net/.

Good Luck!

Thanks,
Don.

-----Original Message-----
From: Steve Ricketts [mailto:velocedge@xxxxxxxxxxx] 
Sent: Sunday, November 22, 2009 10:04 AM
To: php-windows@xxxxxxxxxxxxx
Subject: Re:  PHP info can't find MySql with IIS web server

Funny you should mention Zend.  I was looking through the posts and found a 
reference to it.  I installed it but ran into an error right off the bat. 
So I signed up for the Zend forums and posted my problem there.

I had copied libmysql.dll to windows\system32 but that didn't seem to help. 
So I uninstalled php and then installed the Zend server.   Now when I run my 
phpinfo(), I get the fastcgi error and if I try to open localhost/ZendServer 
I get a 404 error from Apache... not sure why I have Apache now since I'm 
using IIS.   Getting more and more confused all the time!  ;-)

sr


"Sascha Meyer" <harlequin2@xxxxxx> wrote in message 
news:4B097BE8.5020500@xxxxxxxxx
> Hi Steve,
>
> Steve Ricketts schrieb:
>> I'm trying to install the latest version of PHP on a 2003 server running 
>> IIS.  PHP runs fine but when I run phpinfo(), it doesn't find MySql.
>
> Please check if libmysql.dll is somewhere in your path or in a location 
> like C:\windows\system32. I ran into similar problems with my local IIS 
> installation where IIS could not find libmysql.dll and that solved it.
> It's always a good idea to set "error_log" to syslog in your php.ini and 
> check your eventlog if there are any PHP-related entries when you restart 
> your server.
>
> If you just started configuring the server, take a look at ZendServer CE 
> (Community Edition) [1], because it comes with some extra functionality 
> and I never had any problems loading an extension with ZendServer. It's 
> free, runs with both Apache and IIS and comes bundled with Apache2 if you 
> don't have an installed web server.
>
> Best regards,
>
> Sascha
>
> [1] http://www.zend.com/en/products/server-ce/ 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux