You are here: Re: Install problems - php5, IIS 5.1, Windows XP Pro, ISAPI « All PHP « IT news, forums, messages
Re: Install problems - php5, IIS 5.1, Windows XP Pro, ISAPI

Posted by Jeff North on 12/07/05 01:11

On Tue, 06 Dec 2005 07:54:25 -0700, in alt.php Martin
<martinvalley@comcast.net> wrote:

>| On Tue, 06 Dec 2005 13:06:53 GMT, Jeff North <jnorthau@yahoo.com.au>
>| wrote:
>|
>| >php.ini located in c:\php folder
>| >Changes made to php.ini file
>| >
>| >extension_dir = "c:\PHP\ext"
>| >cgi.force_redirect = 0
>| >fastcgi.impersonate = 1
>| >
>| >extension=php_mysql.dll
>| >;;;;; any other extension required
>| >
>| >mysql.default_port = 3306
>| >
>| >Edited the pws-php5isapi.reg file and fixed up the folder name
>| >Right mouse click on pws-php5isapi.reg file and select Merge to set up
>| >registry.
>| >
>| >Start|Settings|Control Panel|System|Advanced|Environment Variables
>| >Set the command line PATH to include c:\php
>| >Create New System Variable PHPRC value C:\PHP
>| >
>| >IIS mappings should already be set to php|php5isapi.dll
>| >----
>| >The only changes that I just made to the ini file was:
>| >ensure that doc_root=<blank>
>| >set fastcgi.impersonate = 1
>|
>| Jeff -
>|
>| Thanks for your comments.
>|
>| I just now reviewed things and made a couple of changes in the PHP.INI
>| file to agree with what you have. I also added the PHPRC system
>| variable. But, it didn't change the outcome any - I'm still getting
>| the same error. It just does not seem to recognize that MySQL is
>| there.

Dont forget that you need to stop then re-start the web service with
any changes made to the ini file. The machine needs to be rebooted
with any change to the environment variables.



>| FWIW, I have a very similar installation working on another computer
>| here in my office. The only difference between the two - that I know
>| of - is that the functioning one is using CGI whereas this one uses
>| ISAPI. However, I have no idea if this could be the problem or not.
>|
>| At least I'm glad to find out that I'm not the only one with this
>| problem. I'm also glad this is not a critical installation - I've been
>| stuck on this for about 10 days now.
>|
>| If I stumble across something, I'll be sure and post it here.
>|
>| Martin
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация