Mobile version of this site is available at " www.mippin.com/tv172 "…

Configure Cake PHP in Linux

leave a comment »

Hi, of course after a long time, i came back with a mind to post something for you. Few days back, i was assigned with a task of transferring an application done in cake PHP to a new web server. I has successfully configure the database, but while running the application, i git an error message saying that the requested pages are not found. The URL and the actual page location are different.  After few hours googling, somehow i was solved all the problems and successfully implemented the system.

Lemme tell to each and every steps i had followed. The knowledge i acquired is from different sites in the internet, and what i am suppose to do is just trying to consolidate in a single page.

1. The database which i am suppose to configure is MySQL. The default size of database that can be imported using UI is 2MB and my database is around 8MB. So the solution is go to php.ini, edit the maximum upload size to 10M.

2. Import the SQL file, and grant the permissions if needed.

3. Upload the cake php files in to web server.

4. edit  app/config/database.php file and fill the database username, password and database name

5. Go to httpd.conf file in apache and load mode_rewrite module

6. Change AllowOverrideAll: none to AllowOverrideAll: All in httpd.conf

7. Edit php.ini, thus change max_memory limit to 32M

thats all about it and have a good time…

Advertisement

Written by tismonvarghese

January 27, 2011 at 1:56 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.