
Basic Problem in installing PHP,
Quote:
> I am using Windows XP, Apache 2.0.43 and PHP 4.2.3 I did the following
> 1) I first installed Apache. It worked properly ...
> 2) I unzipped the PHP zip file in a directory C:\php4 and copied
> the php4ts.dll file in C:\windows\system32
> 3) I edited httpd.conf in the apache directory and added
> ScriptAlias /php4/ "C:/php4"
> AddType application/x-httpd-php .php .phtml
> Action application/x-httpd-php /php4/php.exe
I added these lines to httpd.conf, see below.
Only the third one matches yours. (The fourth one is probably not
necessary.)
But I think the first one is critical.
All of this was taken straight from the text book:
PHP fast & easy web development by Julie C. Meloni, Premier Press
1 LoadModule php4_module C:/apps/php/sapi/php4apache.dll
2 AddModule mod_php4.c
3 AddType application/x-httpd-php .phtml .php
4 AddType application/x-httpd-php-source .phps