RE: [PHP-WIN] PHP info can't find MySql with IIS web server
| From: | Venkat Raman Don | Date: | Sun, 22 Nov 2009 23:06:05 +0000 |
| Subject: | RE: [PHP-WIN] PHP info can't find MySql with IIS web server | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29730@lists.php.net to get a copy of this message | ||
Hi,
For other people knowledge and for archiving purpose the problem was because PHP MSI custom install
action is failing. I helped Steve working it around by doing the handler mapping manually.
Details about this can be found at http://forums.iis.net/p/1162874/1925785.aspx#1925785.
Thanks,
Don.
-----Original Message-----
From: Venkat Raman Don
Sent: Sunday, November 22, 2009 11:22 AM
To: 'Steve Ricketts'; php-windows@lists.php.net
Subject: RE: [PHP-WIN] PHP info can't find MySql with IIS web server
Installer should have done it. I am not sure how appropriate is this DL to discuss all this. Can you
post your problem in http://forums.iis.net/1102.aspx.
I will reply there.
Let's not flood people's email with unnecessary mails.
You can also do PHP install troubleshooting using http://blogs.iis.net/donraman/archive/2009/11/15/troubleshooting-php-installation-on-windows.aspx.
I will wait for you on the PHP forum for IIS.
Thanks,
Don.
-----Original Message-----
From: Steve Ricketts [mailto:velocedge@hotmail.com]
Sent: Sunday, November 22, 2009 11:17 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] PHP info can't find MySql with IIS web server
(replied to the wrong e-mail)
Many thanks for the clarification. I've gone to the Web Platform Installer
and installed PHP. However, when I run my info.php (phpinfo()), I get a 404
error. Looking at the mappings extensions there is no .php extension
defined. Shouldn't the installer have configured that?... or do I need to
make a manual entry of some kind.
Thanks again for all the help,
sr
"Venkat Raman Don" <Don.Raman@microsoft.com> wrote in message
news:3FA2AD39E9964240B4E6DD4AE62E031B15129F8E@TK5EX14MBXC118.redmond.corp.microsoft.com...
> Sorry, I meant you can get Web Platform Installer from php.iis.net. Both
> me and Pierre are saying the same thing. If you are using Web platform
> Installer, you are all done.
>
> Thanks,
> Don.
>
> -----Original Message-----
> From: Steve Ricketts [mailto:velocedge@hotmail.com]
> Sent: Sunday, November 22, 2009 11:05 AM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] PHP info can't find MySql with IIS web server
>
> 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" <Don.Raman@microsoft.com> 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:velocedge@hotmail.com]
>> Sent: Sunday, November 22, 2009 10:04 AM
>> To: php-windows@lists.php.net
>> 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" <harlequin2@gmx.de> wrote in message
>> news:4B097BE8.5020500@gmx.de...
>>> 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
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php