Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Set TMP Directory Permission in CakePHP using Ubuntu

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 729
    Comment on it

    Hi, If you are facing "unable to write 'cake_dev_en-us'" Warning,Then I Wrote This Blog For You. if you have Already unzip CakePHP Framework in your Directory and set Database setting.

    Now Follow These Steps to set Permission for TMP Directory.

    1 ) Go to the Terminal CTRL+ALT+T

    2) Type- sudo chmod -R 777 /var/www/html/Your_project_Name/app/tmp/ (Enter)

    3) Now change the value of 'Security.salt'

    Go To >'Your_Project_Name' /app/Config/core.php

    Find

    */ * A random string used in security hashing methods.

    Add Rendom String "DYhG93b0qyJfIxfs2guVothymUubWwvniR2G0FgaC9mi" */

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

    /** * A random numeric string (digits only) used to encrypt/decrypt strings.

    Add Rendom Number '768593096574535424969858749683645' */

    Configure::write('Security.cipherSeed', '76859309657453542496749683645');**
    

    3) Restart Your Apache - sudo service apache2 restart

    4) open your browser type www.localhost/Your_Project_Name

    Enjoy

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: