win2ksp4 + php5b1 + apache1.3.27

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rxsid
Forum Commoner
Posts: 82
Joined: Thu Aug 29, 2002 12:04 am

win2ksp4 + php5b1 + apache1.3.27

Post by rxsid »

Hi all,

I current am trying to properly configure my local machine:
win2ksp4 + php5b1 + apache1.3.27

I can't get php code to parse.

I can successfully stop/start apache services and display the default page by http://localhost/

when i put a simple test page in the htdocs dir of apache (or anywhere else for that matter) and try to open in I.E. 6, the php code doesn't parse.

php was downloaded at .zip, rename to the c:/php dir.
apache was downloaded to the default dir.

I added this to the apache httpd.conf file:
ScriptAlias /php/ "c:/php/"

AddType application/x-httpd-php .php .phtml

Action application/x-httpd-php "/php/php.exe"

I stop, then restart apache...still no php parsing.

I am behind a firewall at work (using ports 80,81,443).
Perhaps i need to have apache use another port??

Any suggestions? I believe I've follewed the install instructions to the T.

Thanks

P.S. I've tried php4.3.2 + apache2.xx but that didn't work either.
Post Reply