Issue:
- Unable to create action using Zend Framework Command Line Tool.
Fatal error: Call to undefined function token_get_all() in C:Program FilesZend ZendServershareZendFrameworklibraryZendReflectionFile.php on line 301
Reason:
- PHP tokenizer extention has not been enabled.
Solution:
- If PHP compiled without tokenizer (–disable-tokenizer), recompile it with tokenizer (–enable-tokenizer).
- If PHP configuration has not enabling tokenizer, edit php.ini, add or uncomment the tokenizer extension.
extension=tokenizer.so
or
extension=php_tokenizer.dll