PHP Problem

PHP Problem

Posted by: saygoodbye
Posted on: 2006-05-17 18:01:00

Recently in the past couple days php is failing to save certain files using the open command.

This started when installed php5. However that should be arelevent because the script is running off php4. Which I also have installed.

*.php = php 4
*.php5 = php 5

I get this error:
Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Re: PHP Problem

Posted by: guice
Posted on: 2006-05-17 19:28:00

I have no idea what the problem is. ha

You have PHP4 install? You have a customized .htaccess setting to allow you to run both side by side? Cause DH sure doesn't do that for you by default.

What's the phpinfo() for both?
domain.com/info.php
domain.com/info.php5

You might say they are running side by side, but unless you setup your .htaccess file for it, I don't think it is. You didn't say anything in your post about adding custom file extensions to allow such a thing.

Need more details as to the problem before a solution can come about.

Re: PHP Problem

Posted by: saygoodbye
Posted on: 2006-05-17 19:47:00

ok

http://www.hosting.jworks.ca/phpinfo.php5
http://www.hosting.jworks.ca/phpinfo.php

that should give you my php config.

The problem happens when I attempt to apply an edit to some file types. Known types: *.php;*.php5;*.p4;*.pl

This is not ftp editing, it runs off http editing. It uses the php open command to write to the file. However I can successfully load the file without trouble.

And yes these are custom installations

.htaccess file:
AddHandler phpll .p4 .php
Action phpll /cgi-bin/php.cgi
AddHandler phpfive .php5
Action phpfive /cgi-bin/php5.cgi

Tags: service temporarilyphp 4php 5maintenance downtimephp5couple dayspromo codephp4recieverunning