RE: [PHP-INST] HELP-- PHP wouldn't work with Apache/W2K
| From: | Rich Gray | Date: | Tue, 04 Mar 2003 04:54:43 +0000 |
| Subject: | RE: [PHP-INST] HELP-- PHP wouldn't work with Apache/W2K | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10258@lists.php.net to get a copy of this message | ||
> Hi all,
>
> I have installed PHP 4.3.1 on Apache 1.3.27 on Windows2000
> Server, and I've
> created a test file with just <? php phpinfo(); ?>, but when I
> tried to view
> that file via my browser, I got a blank screen. And when I did 'view
> source' in the browser, I was able to see the source code of the
> PHP script.
>
> According to the FAQ, this means that the web server did not send
> the script
> to PHP for interpretation, but I have double checked the Apache
> configuration against the PHP installation instructions many many
> times, and
> there doesn't seem to be anything wrong.
>
> Here are the steps that I followed when installing PHP:
> 1. Extracted the files to c:\php
> 2. Copied php4ts.dll, php4apache.dll, and all files in c:\php\dlls to
> c:\winnt\system32
> 3. Copied php.ini-optimized to c:\winnt and renamed it php.ini
> 4. In php.ini, set extension_dir = c:\php\extensions\
> 5. In php.ini, set doc_root = c:\Inetpub\wwwroot\php\ (this is
> also where I
> put my test file)
> 6. Gave php.ini read permission to Everyone.
>
> Is there anything that I missed or did wrong? Thanks for any help.
Er ... did you configure Apache?
Rich