phpcode

Using CakePHP with Plesk 10

If you haven’t already figured it out, you can’t just unarchive CakePHP and drop it into your httpdocs folder under Plesk. There’s some minor changes you need to make before Plesk plays nicely with CakePHP.

First think that needs to be done is to create a vhost.conf file in /var/www/vhosts/domain.com/conf/ directory that contains the following

 

<Directory /var/www/vhosts/domain.com>
	php_admin_flag engine on
	php_admin_value open_basedir none
</Directory>

After you’ve done that, you’ll need to run the Plesk command line tool to regenerate the vhost files.

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.com

, , ,

Comments are closed.