You have to compile PHP a second time without the --with-apxs
(or --with-apache).

If you still have your PHP source code, just copy config.nice to config.cgi,
and edit it to remove the --with-apxs line.

Then do
make clean
./config.cgi
make

You'll get a binary file called "php" which you can throw in /usr/bin and
use it just like Perl, only better :-)

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Bill Brigden <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 11:14 AM
Subject: PHP and the Console


> Hi all,
>
> How could I use a script on the console - to interact, and take the users
> input. Like a shell/perl script - but in php?
>
> Bill.
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to