I have an issue here... My virtual server that is maintained somewhere in California runs php v. 4.6. They had a KB article on upgrading to php 5 that would allow php 5 to be executed per domain. So, in a multi-domain environment, I could have several that run php 4, and several that run php 5. The reason why I haven't installed php 5 globally is that it breaks plesk, my domain and server management software.Here's how php 5 on certain domains work.Instead of using /etc/httpd/conf/httpd.conf file to get it's directives, it will instead use /var/www/vhosts/<domain>/conf/vhost.conf for the domain settings:That file looks like this:AddHandler fcgid-script .php .php5SuexecUserGroup <domain-user> psacln<Directory /var/www/vhosts/<domain>/httpdocs> FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php5 Options ExecCGI allow from all</Directory>Alias /atmail /var/www/atmail<Directory /var/www/atmail> FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php FCGIWrapper /var/www/vhosts/<domain>/bin/php5 .php5 Options Indexes AllowOverride all DirectoryIndex index.html Order allow,deny allow from all</Directory>Before the upgrade to php5 and before the use of this vhost.conf file, the alias for atmail (my webmail software) worked fine. It still works fine, EXCEPT that php will not run. I can access any file in the atmail directory that is .html, but not .php. I get a 403 Forbidden. My question is this: How can I give the php5 directory at /var/www/vhosts/<domain>/bin/php5 access to a directory at /var/www/atmail?I'm pretty certain that's the issue.[Edited on November 1, 2007 at 10:31 AM. Reason : .]
11/1/2007 10:29:30 AM
solution:stop using plesk (it sucks)start using cpanel
11/1/2007 10:45:45 AM
I only have a production server... can't go do something that radical yet
11/1/2007 10:57:30 AM
are you sure that you are using php in fastcgi mode? i am more familar with using mod_php
11/2/2007 10:11:03 AM
11/2/2007 12:53:52 PM