Jump to content


Photo

*SOLVED* PHP doesnt seem to be working!


  • Please log in to reply
3 replies to this topic

#1 iandavies

iandavies
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 April 2006 - 01:32 PM

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!

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 07 April 2006 - 01:39 PM

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

#3 iandavies

iandavies
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 April 2006 - 01:45 PM

I have uploaded the script to the live server and i am testing it like that.

#4 iandavies

iandavies
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 April 2006 - 02:48 PM

hi,

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

thanks for your time!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users