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
configuration??problem
Moderator: General Moderators
have you tried ?
Code: Select all
<?php phpinfo(); ?>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?
<?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?