Problem installing PHP4/IIS isapi
| From: | St�phane Moitry | Date: | Wed, 26 Feb 2003 13:50:21 +0000 |
| Subject: | Problem installing PHP4/IIS isapi | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10200@lists.php.net to get a copy of this message | ||
Hi everybody,
I've a big problem : I usually use ASP scripts, but if I watch what is done,
it seems to be usefull to know how to programm in PHP.
So I downloaded php4.3.1 (the zip version for manual installation in isapi
modules), to install it on IIS5 on Windows 2000 Server.
I unzipped the pack in d:\php
I added the association between .php files and d:\php\sapi\php4isapi.dll in
the internet services manager on my configured website.
I copied the php.ini-recommended to the c:\winnt directory and renamed it
php.ini, edited it to change the extensions dir to d:\php\extensions, and
the docroot directory to c:\inetpub\wwwroot value.
The d:\php directory and its subdirectories and files have permissions "full
control" (I appologize : my windows is french and I translate the names
without knowing the good english names) for "everybody". The
c:\winnt\php.ini has permissions for "full control" for "everybody".
When I use the command line "php -i" I can see the appropriate html code
that seems to tell that php is running. But when I try to access a page
called "info.php" in my webserver using the browser (url :
http://localhost/info.php), I get a 500 server error. The
file info.php
contains only one line "<? phpinfo();?>" (the same file works when uploaded
to my online website located by my provider).
Could you tell me what I did wrong ? I made all the changes described in the
help file and the faq online from php.net website. The only thing I haven't
understood is the browscap.ini related instructions.
Please help me : I don't know what to do any more ! Many thanks for you !
Stephane.