Question: How to make a php file work on a Site? Hi \n\nI would like to know exactly (and when I say exactly I mean step by step instructions) how to make a php file written in word, work on an internet server that uses Apache. The server isn’t mine so don’t come to me with the instructions written in the installation file of PHP. What I mean is how can make a php file execute once it has been loaded into a server. I tried to open it after I just uploaded it and it came up empty. It showed the script not the result of the script.

Answer: If php isn't enabled and you don't have access to the Apache config file, then you're out of luck. To test, put the following in a text file (use Notepad or TextPad, not Word) named foo.php. Upload it to your web space and then navigate to it with your browser. If php is enabled, you should see all sorts of config information on the screen. If you don't, php is not enabled.\n\nGood luck!\n\n<html><body>\n    <h1>PHP test</h1>\n    <? phpinfo()?>\n</body></html>
This question from the Yahoo Q&A forum is categorized in the topic: Health