These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Php problems on Fedora Core 5 on the new forum.
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.
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!
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