PHP on Zeus servers???

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
MelN
Forum Newbie
Posts: 2
Joined: Thu Jan 20, 2005 11:42 pm

PHP on Zeus servers???

Post by MelN »

I am trying to use php includes on a clients site hosted on a Zeus 4.2 server and (in order not to change the page names) have the server parse the htm pages for php.

I normally use this code in the .htaccess file on apache servers

Options +Includes
AddType text/html .shtml
AddHandler server-parsed .shtml
AddType application/x-httpd-php .htm .html

and it works fine but on the Zeus server the result is that the page is downloaded to a temp file on the local hard drive.

The hosting company are less than helpful (knowledgeable?) and say that PHP is installed but they do not offer support on scripting.

Anyone have any experience with these beasts?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

from a quick look at Zeus' specific docs on .htaccess... they don't support "Options +Includes". Maybe this is the problem?
MelN
Forum Newbie
Posts: 2
Joined: Thu Jan 20, 2005 11:42 pm

Post by MelN »

Would that imply that they do not support includes or is there another term to do the same thing?

The hosting company assure me that we can use php includes in Zeus servers but have no idea how to do it. Do you know of any resource to get information on how to do includes with php on a Zeus 4.2 box?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

php includes has nothing to do with htaccess option includes. htaccess ones control cgi includes. php has its own include system.
Post Reply