Click to See Complete Forum and Search --> : PHP4 on Windows95


Anon
02-07-2001, 08:50 AM
I loaded Apache1.3.12 on windows95 machine and installed PHP4 on it.
When i try to run a PHP script from the HTDOCS directory, i get the code displayed on the browser instead of the output.
For Ex: i've a simple php script withone line:
<? phpinfo(); ?>

When this script is run, i see only the above line displayed on the screen, istead of PHP information.

Any help is appreciated.
(i re-installed several times)

Thanks,
Madhu

Anon
02-07-2001, 08:37 PM
are you running it as http://127.0.0.1/test.php (or whatever you called it)

also are the MIME types in apache assigned properly?

check to see that *.php or *.php3 (or whatever extension you used) is assigned to the proper executable (namely php.exe)

hope that helps.

Anon
02-07-2001, 11:48 PM
Http://www.php4win.de

Use their install, just unzip, change a setting or two in the apache/conf/httpd.conf file and go, really easy for the beginner. :)