Hi! I just got a new server and php is installed and some programs with php work (squirelmail, horde webmail) but if I create any page ending with .php it asks if I want to open or save the file rather than showing it. For example look at http://www.runnerbeach.com/yo.php and see what I mean. It will show .html pages but not .php pages. I have RedHat ES 3.0 with CPanel if that matters. Thanks so much,
Josh
.php pages wont load
Moderator: General Moderators
I logged in via ssh and looked for php. Does this mean it is installed and just some error?
-bash-2.05b$ whereis php
php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php.ini /usr/local/lib/php.ini
-bash-2.05b$
Also I checked with the webmail programs that work and they use php so its something else. When I am in CPanel and opened Horde to check my e-mail it can show .php pages but only when I am using CPanel and in the backend stuff.
Any ideas. Thanks
-bash-2.05b$ whereis php
php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php.ini /usr/local/lib/php.ini
-bash-2.05b$
Also I checked with the webmail programs that work and they use php so its something else. When I am in CPanel and opened Horde to check my e-mail it can show .php pages but only when I am using CPanel and in the backend stuff.
Any ideas. Thanks
All I can suggest is that you contact your server provider. They might have PHP set-up on a different server than yours but are running stuff so that it all looks like it's on one server.
Just chuck an email at them and find out, at least you'll know for sure then if you can actually run PHP or not.
Just chuck an email at them and find out, at least you'll know for sure then if you can actually run PHP or not.
- Derfel Cadarn
- Forum Contributor
- Posts: 193
- Joined: Thu Jul 17, 2003 12:02 pm
- Location: Berlin, Germany
I've just replied in this thread, which has the same problem!
Could you follow that one pls, I don't want to post the same info twice..

Could you follow that one pls, I don't want to post the same info twice..