Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CakePHP on Shared Windows Plesk Server

Tags:

cakephp

plesk

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

like image 293
Pete Avatar asked Jun 16 '15 05:06

Pete


1 Answers

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?

No, you don't. Even without prior db config the default homepage would be loaded. It will just give you are message box stating db is not configured.

The missing "intl" extension is your primary issue. You need to get that fixed. I don't have any experience with plesk on windows so can't help you with that. Though I would advice using a linux based server to make your life easier.

like image 65
ADmad Avatar answered Sep 28 '22 08:09

ADmad