Click to See Complete Forum and Search --> : win2ksp4 + php5b1 + apache1.3.27


4rxsid
07-16-2003, 07:04 PM
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.

stolzyboy
07-16-2003, 07:15 PM
I know this is a silly question, but a lot of peeps do this.

Are you going File-> Open with the php script, cuz that won't work.

you need to go to http://localhost/phppage.php

4rxsid
07-16-2003, 08:22 PM
yes, but it still doesn't parse.

4rxsid
07-16-2003, 08:36 PM
if i do

http://localhost/test.php

and test.php exists and has this

<?php
echo "HELLO WORLD!";
?>

the browser say's "page can not be displayed" even though it is there in the apahce htdocs dir.

4rxsid
07-17-2003, 04:32 PM
to anyone who want's a clean & easy install of php+apache on windows, go here:

http://php.weblogs.com/apache_windows

As it's set up, it installs apache 1.3x & php 4.3.2. I'm running win2000 pc.