Hi
I've give a client a couple of pages using PHP scripts. They uploaded it to their server and can't run it.
I got their FTP details and uploaded a phpinfo so as I could check over things and find I can't actually use it - it opens a plain text HTML page that just displays the code from my phpinfo file.
I've not seen this before - any advice, please? If it helps, they're on Demon (UK), who say they run PHP, but I know no more than that since I can't get to the phpinfo info!
Thanks
phpinfo prints own content to page
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: phpinfo prints own content to page
The web server appears to not be configured to run PHP script. Do the scripts you are trying to run have a '.php' extension? maybe they parse all '.html' files?
(#10850)
Re: phpinfo prints own content to page
Yes, they have a .php extension - and I know they function fine on two of my servers as I used them both while doing my testing.
I've since managed to find a little info about the server but have very limited access to info - I've advised the client to take it up with their service provider since my job was supposed to end with providing the code and that's what I have done.
I've since managed to find a little info about the server but have very limited access to info - I've advised the client to take it up with their service provider since my job was supposed to end with providing the code and that's what I have done.