CakePHP

    Table of contents
    No headers

    The CakePHP framework is installed in the "frameworks" folder in the installation directory. To run any command, it is necessary to start the BitNami Console. If you are using a Virtual Appliance or AMI, you can run the commands below directly.

    In the "cakephp" folder you can see the following folder schema:

    app  conf  index.php  lib  plugins  README  vendors
    

    All the application files are in the "app" folder and only the "app/webroot" directory will be published in the web site.

    You should modify the encryption keys in the "app/Config/core.php" file:

    Configure::write('Security.salt', '');
    
    Configure::write('Security.cipherSeed', '');
    

    If your application are going to use a database, you can edit the database settings at "app/Config/database.php".

    If you want to enable the sample application, you should uncomment the following line at the end of the Apache configuration file "installdir/apache2/conf/httpd.conf".

    Include "installdir/frameworks/cakephp/conf/cakephp.conf"
    

    Then restart the Apache server and go to http://mydomain/cakephp from your browser.

    $ ./ctlscript.sh restart apache
    

     

    cakephp.png

     

    If you are using PostgreSQL, you should enable the "php_pdo_pgsql" extension in the php.ini file.

    You can find more info at http://book.cakephp.org/

    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    9093 view(s), 4 edit(s) and 2019 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments

    FileSizeDateAttached by 
     cakephp.png
    CakePHP
    145.27 kB19:44, 7 Dec 2011AdminActions