Wednesday, November 10, 2010

Learning ZendFramework Part #1

So, since the past 3 days I start to learn ZendFramework, and I stuck didn't know what to do how to make php.exe readable by ZF, and the error message appear is :
php.exe is not recognized as an internal or external command operable program or batch file
Thanks to a friend for helping me out, it works now! and below is the step to fix the issue:
  1. go to ZendFramework directory /bin/zf.bat
  2. Edit zf.bat and change the path on the line 42:
    - REM "%PHP_BIN%" -d safe_mode=Off -f "%ZF_SCRIPT%" -- %*
    + D:\server\php\php.exe -d safe_mode=Off -f "%ZF_SCRIPT%" -- %*
And of course the path would be depend on where you put your php folder. That is it!

I will update more about my Zend Framework project later.

No comments:

Post a Comment