7 January 2011

Homebrew formula for phpsh

https://github.com/mxcl/homebrew/pull/3835Homebrew formula for phpsh will be available soon, I hope :)

1 comment:

Anonymous said...

Hi Alexey,

your formula was finally pulled in, but I'm having trouble with it. :\
After brewing it, without any errors, I get this when running phpsh:

Starting php
phpsh failed to initialize PHP.
Fix the problem and hit enter to reload or ctrl-C to quit.

Warning: require_once(/etc/phpsh/rc.php): failed to open stream: No such file or directory in /usr/local/Cellar/phpsh/HEAD/libexec/phpsh/phpsh.php on line 49

Fatal error: require_once(): Failed opening required '/etc/phpsh/rc.php' (include_path='.:/usr/lib/php') in /usr/local/Cellar/phpsh/HEAD/libexec/phpsh/phpsh.php on line 49

Any idea what's wrong there? I never touched the PHP config on this Mac.