Use cake console with XAMPP
If you have problem while running cake console scripts for your LAMPP installation and get an error like './cake: line 34: exec: php: not found', fix this problem by editing 'cake' shell script and changing line
-
exec php -q ${LIB}cake.php "$@" -working "${APP}"
to
-
exec /opt/lampp/bin/php -q ${LIB}cake.php "$@" -working "${APP}"
This will call the installed 'php' binary from LAMPP installation and you can use the cake console scripts without any problem
About this entry
You’re currently reading “ Use cake console with XAMPP ,” an entry on SANIsoft - PHP for E Biz
- Published:
- 6.5.07 / 12pm
- Author:
- Amit Badkas
2 Comments
Jump to comment form | comments rss | trackback uri