Jump to content

Archived

This topic is now archived and is closed to further replies.

iandavies

*SOLVED* PHP doesnt seem to be working!

Recommended Posts

Hi,

I have done a little PHP before and now i have to get a site working with it. The guy who administers the server says that PHP is all setup and plesk shows that PHP support is setup on the server.

However, when i run my test.php <?php phpinfo; ?> the browser prompts me to download or save the file. Does this suggest that PHP is not correctly installed?

thanks!

Share this post


Link to post
Share on other sites
How are you invoking the script? If your file is on the same machine as the webserver, you must use a full URL like [a href=\"http://localhost/<path\" target=\"_blank\"]http://localhost/<path[/a] to your file>

Ken

Share this post


Link to post
Share on other sites
hi,

the guy who looks after the server must have done soemthing as it works fine now!

thanks for your time!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.