Hello, I just installed the ZendFramework 1.12.1 and get errors executing the zf command. For example, when I execute the zf show version command I get the following error message:
<b>Notice</b>: Undefined index: argv in <b>/home4/tasapcom/public_html/ZendFramework-1.12.1/library/Zend/Tool/Framework/Client/Console.php</b> on line <b>199</b><br />
<b>Catchable fatal error</b>: Argument 1 passed to Zend_Tool_Framework_Client_Console_ArgumentParser::setArguments() must be of the type array, null given, called in /home4/tasapcom/public_html/ZendFramework-1.12.1/library/Zend/Tool/Framework/Client/Console.php on line 199 and defined in <b>/home4/tasapcom/public_html/ZendFramework-1.12.1/library/Zend/Tool/Framework/Client/Console/ArgumentParser.php</b> on line <b>86</b><br />
Any suggestions would be helpful.
General discussion forum for the Zend Server
2 posts • Page 1 of 1
Well I found the solution to my problem. In php.ini, I had register_argc_argv = Off, it should have been set to register_argc_argv = On. This solved the problem. I guess if this could have been added to the installation instructions that would have been helpful.