Page 1 of 1

PHP on Zeus servers???

Posted: Thu Jan 20, 2005 11:49 pm
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?

Posted: Fri Jan 21, 2005 12:03 am
by feyd
from a quick look at Zeus' specific docs on .htaccess... they don't support "Options +Includes". Maybe this is the problem?

Posted: Sat Jan 22, 2005 5:33 am
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?

Posted: Sat Jan 22, 2005 7:44 am
by feyd
php includes has nothing to do with htaccess option includes. htaccess ones control cgi includes. php has its own include system.