I am wondering if it is possible to get CakePHP working on a shared Windows Plesk server?
I have extracted the CakePHP files to the /httpdocs/ folder, and have created a web.config file as per the instructions in the CakePHP docs, however all I seem to get is an 'Internal Server Error'. Do I also need to have the MySQL DB setup prior to viewing the basic Cake config pages or should it be able to show me something without any DB configured?
I have configured my site to run PHP 5.4.32 (FastCGI).
The error being reported is:
PHP Fatal error: You must enable the intl extension to use CakePHP. in C:\Inetpub\vhosts\example.com\httpdocs\config\bootstrap.php on line 38
However my host said they tried including the path of the directory where php_intl.dll is present but this has not resolved the issue.
Cheers,
Pete
Here is how you do it in Cakephp 2.x
Once you have setup your webspace you don't need to change or spoil the php configuration (as long as php is set as default for this webspace) and when you create a web_space in Plesk, Plesk server normally does every thing for you.
But hen you need to configure CakePhp application in Plesk server you need to follow these:
When you Create a new DNS or web_space Plesk create a directory structure for you the you need to place your application in created directory and configure the htaccess in these folders as follows (just add some "/" in paths):
Of-course you would need to configure your database.
To do so you need to setup a new Database for your application in you plesk server and then get the:
and update your app/Config/database.php with the new database details. as you would know:
Here is how to configure Cakephp 3.x
Hope this helps