phpsh failed to initialize PHP的解决方法

I can’t find a tags file for you.  To enable tab completion in phpsh,
go to the root directory of your php code and run ‘ctags -R’,
(or whatever the analagous command is with your version of ctags,)
then run phpsh from that directory or a subdirectory of that directory.
Commandline: /usr/local/php/bin/php -q /usr/local/phpsh/phpsh.php
PHP Strict Standards:  Redefining already defined constructor for class ___PHPShell___ in /usr/local/phpsh/phpsh.php on line 93
phpsh failed to initialize PHP.
Fix the problem and hit enter to reload or ctrl-C to quit.


〈pre lang=”php”>
function ___PHPShell___($output_from_includes=”, $___phpsh___do_color) {
if (version_compare(PHP_VERSION, ‘5’) == -1) {
$this->__construct($output_from_includes, $___phpsh___do_color);



你必须 登录 才能发表评论.