Re: PHP 5 Beta3 CLI Problems
| From: | Chris Hewitt | Date: | Mon, 29 Dec 2003 12:22:33 +0000 |
| Subject: | Re: PHP 5 Beta3 CLI Problems | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12432@lists.php.net to get a copy of this message | ||
Robert Amos wrote:
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 usingBy 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 Chrisphp 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