System Path Issue |
[eluser]Matt Stein[/eluser]
[quote author="mhiggins" date="1302636557"]Hi Matt, I stumbled across your post as I had the same problem, also on Media Temple DV and the issue is related to how Plesk works with subdomains. The problem originates from restrictive access permissions for PHP under Plesk. For security reasons PHP can only access /tmp and the httpdocs folders. So, PHP will tell you the directory doesn't exist. Note that you will need to do all this as root Assuming you want to use staging.domain.com, the solution is to create a vhost.conf file at: Code: /var/www/vhosts/domain.com/subdomains/staging/conf/vhost.conf Source: http://kb.parallels.com/432 My vhost.conf file looks like this: Code: <Directory /var/www/vhosts/domain.com/subdomains/staging/httpdocs> and then force Plesk to generate the apache config files for this domain again and restart. The exact command is: Code: /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com Source: http://www.vioan.ro/wp/2007/07/31/how-to...-in-plesk/ After all this, PHP will have permission to access the folders in the subdomain directory and will no longer return the error, so CI should work.[/quote] Thanks, mhiggins! I had a vague sense that it was a host configuration issue, but this pretty much nails it. I really appreciate the comment, and hopefully some other poor souls can find this to be a helpful thread! |
Messages In This Thread |
System Path Issue - by El Forum - 03-16-2011, 04:59 PM
System Path Issue - by El Forum - 03-16-2011, 08:23 PM
System Path Issue - by El Forum - 03-16-2011, 08:30 PM
System Path Issue - by El Forum - 03-16-2011, 08:45 PM
System Path Issue - by El Forum - 03-16-2011, 08:58 PM
System Path Issue - by El Forum - 03-16-2011, 10:23 PM
System Path Issue - by El Forum - 03-16-2011, 10:57 PM
System Path Issue - by El Forum - 03-16-2011, 11:24 PM
System Path Issue - by El Forum - 03-17-2011, 01:52 AM
System Path Issue - by El Forum - 03-17-2011, 09:23 AM
System Path Issue - by El Forum - 03-18-2011, 02:00 PM
System Path Issue - by El Forum - 03-18-2011, 02:18 PM
System Path Issue - by El Forum - 03-18-2011, 02:40 PM
System Path Issue - by El Forum - 04-12-2011, 08:29 AM
System Path Issue - by El Forum - 04-12-2011, 11:02 AM
System Path Issue - by El Forum - 04-13-2011, 03:57 PM
|