Page 1 of 1
configuration??problem
Posted: Tue Jun 11, 2002 7:33 pm
by GAHeuss
I am new to this php bit and am trying to make php run on a localhost running apache for win32. I believe I have my paths correct I am running the php in the cgi-bin of apache running on "G" drive on my machine. When I type "
http://localhost/test.php" with a test.php page in the htdocs folder of apache I get a blank HTML page back without executing any script in the test page. Help!!!
Gil Heuss
Posted: Wed Jun 12, 2002 12:51 am
by volka
Posted: Wed Jun 12, 2002 7:59 am
by GAHeuss
Where should I put that? I tried putting it in the "test.php" document and I get the same results.
Gil Heuss
Posted: Wed Jun 12, 2002 8:18 am
by volka
make a new php-script where the only line is
<?php phpinfo(); ?>
if the page still remains blank take a look in the error.logs (<apache-dir>/logs/error.log and system-error-log, on windows this is the event viewer) may be a error occured
And also look at the source-code in your web-browser. If you see the php-source there your apache server did not recognize the file-extension you use and scripts are not parsed but sent directly to the browser.
Which OS?