iandavies Posted April 7, 2006 Share Posted April 7, 2006 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! Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 7, 2006 Share Posted April 7, 2006 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 Quote Link to comment Share on other sites More sharing options...
iandavies Posted April 7, 2006 Author Share Posted April 7, 2006 I have uploaded the script to the live server and i am testing it like that. Quote Link to comment Share on other sites More sharing options...
iandavies Posted April 7, 2006 Author Share Posted April 7, 2006 hi,the guy who looks after the server must have done soemthing as it works fine now!thanks for your time! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.