May 3, 2010 by adrien
$ sudo apt-get install php5-cli
Posted in Computer tips, php | Tagged cakephp, php5-cli | 1 Comment
For shared webhosting or DirectAdmin users it is also possible to change line 24 in ./cake. You can add the location of PHP to get it running.
Example (change): exec php -q ${LIB}cake.php -working “${APP}” “$@” To: exec /usr/local/bin/php -q ${LIB}cake.php -working “${APP}” “$@”
This is because the command php is not known, so you have to open php directly from its installation folder.
Comments RSS
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
Connecting to %s
Notify me of follow-up comments via email.
Get every new post delivered to your Inbox.
For shared webhosting or DirectAdmin users it is also possible to change line 24 in ./cake. You can add the location of PHP to get it running.
Example (change):
exec php -q ${LIB}cake.php -working “${APP}” “$@”
To:
exec /usr/local/bin/php -q ${LIB}cake.php -working “${APP}” “$@”
This is because the command php is not known, so you have to open php directly from its installation folder.