When I type in http://localhost/test.php this is what I get <html> <head><title>PHP TEST</title> </head> <body> <p>This is an HTML line <p> <?php echo "This a PHP line"; phpinfo(); ?> </body> </html>
here is a copy of my apache confg file http://www.geocities.com/rainbowstop/apachefile.html
could you please help me to know what I did wrong.. I am so close --- Naomi
😕
have you paid for geocities advantage? I think that's the only one which supports php.
I have this on my local machine. I just wanted to show someone my apache-httpd.conf file to make sure that I add the right php lines to the httpd.conf file because on my local machine I get that code as decribed above.
This is not on geocites..
Have you run anything with PHP successfuly. Try saving the following code to a file and run it to check you PHP configuration.
<?php echo phpinfo(); ?>
If this does not run, you probably need to make sure PHP is installed correctly.
--zbert