Jump to content

*SOLVED* PHP doesnt seem to be working!


iandavies

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!
Link to comment
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.