Re: [PHP-WIN] PHP info can't find MySql with IIS web server
[email protected] ("Steve Ricketts")
| Newsgroups | php.windows |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Don! I'm in the process of uninstalling everything per Pierre's recommendations and going to install from the Web Platform installer. However, I'm a bit confused by your last comment. You said, "Get Microsoft Web Platform installer and install PHP from there" but then the last sentence was "Please install PHP from http://php.iis.net"... With Platform installer installing PHP, why would I need to install again from php.iis.net? Steve "Venkat Raman Don" <[email protected]> wrote in message news:3FA2AD39E9964240B4E6DD4AE62E031B15129F54@TK5EX14MBXC118.redmond.corp.microsoft.com... > 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:[email protected]] > Sent: Sunday, November 22, 2009 10:04 AM > To: [email protected] > Subject: Re: [PHP-WIN] 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" <[email protected]> wrote in message > news:[email protected]... >> 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 > >