Php problems on Fedora Core 5

3 posts / 0 new
Last post
#1 Mon, 12/04/2006 - 22:57
RonCooper

Php problems on Fedora Core 5

I know the php4 and php5 differences and the work arounds, but I have to delete these from the Apache Directives every time I create a new domain or sub-server.

Action application/x-httpd-php4 /cgi-bin/php4.cgi Action application/x-httpd-php5 /cgi-bin/php5.cgi AddType application/x-httpd-php5 .php5 AddType application/x-httpd-php4 .php .php4

Can you tell me how to keep these from showing up? I don't see them appearing in the server template.

Mon, 12/04/2006 - 23:43
Joe
Joe's picture

Hey Ron,

Things ought to work with those in place...maybe we've got incorrect paths on your platform.

But, you can disable this by editing the Server Templates you use, and disabling the option labeled "Run PHP scripts as domain owner?" in the "Apache Website" section.

I'll dig into our defaults on FC5...I suspect the wrapper scripts that are being generated in /home/$domain/cgi-bin/php4.cgi are pointing to "/usr/bin/php" or "/usr/bin/php-cgi" and if you've uninstalled php5 rather than just disabling it, this wrapper wouldn't work. Just a guess.

--

Check out the forum guidelines!

Wed, 12/06/2006 - 21:54 (Reply to #2)
RonCooper

I thought I had just disabled only, I followed an old guide from the FAQ or forums. I'll let you know how it turns out - would really like this one to work out of the box - I think I heard you say in another post it was for some of the other flavors. I'm not ready to dive into FC6 until its had a little more running time.

Thanks!

Ron

Topic locked