Hi,
I had a quick browse through the archives to check if anyones had this problem before, but I came up with nothing.
And so I ask :)
I installed PHP 5.0.0b3 on my development machine so I could have a play with it, and everything went along fine. When it comes to running the CLI binary though, it doesn't except input from the command line, at all. Can't get PHP to run files by using `php file.php`, or use any of the switches, it just sits there expecting input from STDIN. Anyone experienced similar problems or knows how to get around them?
Configure line:
./configure --with-apxs=/usr/sbin/apxs --with-curl --enable-dio --enable-ftp --with-gd --enable-gd-native-ttf --with-iconv --with-mcrypt --without-mysql --with-openssl --with-pgsql --with-xmlrpc --with-ttf --with-zlib --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-sqlite
System Specs: OS: OpenBSD 3.2 PHP: 5.0.0b3
By using --with-apxs you have compiled php as an Apache 1.3.x module, not as a command line binary. It used to be the case that you would need to compile it omitting that option, but I know something in this area has changed in recent versions so I would check the documentation with the release.
Hope this helps
Chris