Apache 1.3.1 PHP4 Win XP troubles
| From: | Leigh Hall | Date: | Sun, 09 Mar 2003 06:09:21 +0000 |
| Subject: | Apache 1.3.1 PHP4 Win XP troubles | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10327@lists.php.net to get a copy of this message | ||
So far my installation has been
1) Installed Apache1.3.19. Succesful
2) Extracted PHP 4.0.4 to c:\php
3) Renamed php.ini-dist to php.ini and opened in HomeSite making these
changes:
a) doc_root = c:\Apache\htdocs
b) extension_dir = c:\php\extensions\ [was .\]
4) Moved new php.ini to c:\WINDOWS\
5) Moved php4ts.dll & php4ts.lib to c:\WINDOWS\SYSTEM32\
6)Opened c:\Apache\conf\httpd.conf and added
LoadModule php4-module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
7) Copied php4ts.dll and
php4ts.lib to SYSTEM32.
when i run the script below:
<?php
echo "PHP Rules!";
?>
when i run the page in the browser i see the script as it is written in the
file.
<?php
echo "PHP Rules!";
?>
whats happening, its driving me nuts!!!!
cheers