Old:Installing CakePHP on Uniform Server 3.5-Apollo: Difference between revisions
Jump to navigation
Jump to search
(New page: == Installing cake CakePHP 1.2.0.7296 RC2 on Uniform Server 3.5-Apollo == # Start with a fresh copy of US 3.5 # Start US wait for apanel. # From apanel click phpMyAdmin # In create new d...) |
m (BobS moved page Installing CakePHP on Uniform Server 3.5-Apollo to Old:Installing CakePHP on Uniform Server 3.5-Apollo without leaving a redirect) |
(No difference)
|
Revision as of 16:19, 21 June 2013
Installing cake CakePHP 1.2.0.7296 RC2 on Uniform Server 3.5-Apollo
- Start with a fresh copy of US 3.5
- Start US wait for apanel.
- From apanel click phpMyAdmin
- In create new database type maincake (or whatever name you wish to use) click create.
- Unzip cake_1.2.0.7296-rc2.zip to any folder.
- Navigate to the last folder named cake_1.2.0.7296-rc2 copy this folder and all it’s consent to US folder www.
- Once copied rename cake_1.2.0.7296-rc2 to cake
- Inside folder \Uniform Server\udrive\www\cake edit file .htaccess to look like this:
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule>
- Inside folder \Uniform Server\udrive\www\cake\app edit file .htaccess to look like this:
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule>
- Inside folder \Uniform Server\udrive\www\cake\app\config edit file core.php Locate the following line (line 153):
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
Change the character string to something different it must have the same number of characters e.g:
Configure::write('Security.salt', 'MYhG97b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
- Inside folder Uniform Server\udrive\www\cake\app\config rename the file database.php.default to database.php edit this file as follows.
At the bottom of this page locate the following code:
var $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'user', 'password' => 'password', 'database' => 'database_name', 'prefix' => '', );
Change it to look like this:
var $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'root', 'password' => 'root', 'database' => 'maincake', 'prefix' => '', );
Note 1: ‘login’ and ‘password’ are set to “root” Uniform Server’s default MySQL name and password.
Note 2: ‘database’ set this to the name you created in step 4
- Check the set-up by typing http://localhost/cake/ into your browser address bar.
The following four lines are highlighted in green meaning you are ready to go.
- Your tmp directory is writable.
- The FileEngine is being used for caching. To change the config edit APP/config/core.php
- Your database configuration file is present.
- Cake is able to connect to the database.
Ric |