Results 1 to 2 of 2
hey,
I have centos installed on my server.i want to set environment variables for cakePHP so that cake commands can be run from putty.like in windows we can set variables ...
- 08-20-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 1
how to set environment avariables..???
hey,
I have centos installed on my server.i want to set environment variables for cakePHP so that cake commands can be run from putty.like in windows we can set variables from my computer's properties -> advance->environment variables.from here we can set the path for cake as well as for php and mysql.
Please help me out to solve this problem.
Thank you.
Regards,
Harshal.
- 08-20-2009 #2
The variables are put in files like .bash_profile or /etc/profile e.g.
Code:export PATH=$PATH:/path/to/cakephp/bin


Reply With Quote