Re: Shell Programming with PHP, but where is the PHP?
| From: | Nuno Silva | Date: | Wed, 04 Apr 2001 03:00:51 +0000 |
| Subject: | Re: Shell Programming with PHP, but where is the PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46953@lists.php.net to get a copy of this message | ||
Hi,
full instructions follow:
download the latest php tarball from:
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz&source_site=www.php.net
then extract it:
tar xzf php*tar.gz
then cd to it:
cd php*
then configure it:
./configure
the compile it:
make
then install it (as root do:)
make install
this should give you a command line php in:
/usr/local/bin
please note that ./configure may need some options for database access and stuff, just don't use --with-apache or --with-apxs
good luck,
Nuno Silva
Brandon Orther wrote:
When I type: make it does nothing??? What am I supposed to be typing? -----Original Message----- From: Nuno Silva [mailto:nuno_silva@websolut.net] Sent: Tuesday, April 03, 2001 9:19 AM To: Brandon Orther Cc: PHP User Group Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP? :) yes, just ./configure (don't use --with-apache or --with-apxs) [other options] make cp php /usr/local/bin (or whatever) regards, Nuno Silva Brandon Orther wrote:Hello, It is installed as a module, Is there a way I can keep it installed as a module but install it so I can use it to shell script also? Thanks Ahead Of Time Brandon -----Original Message----- From: Renze Munnik [mailto:renze@datalink.nl] Sent: Tuesday, April 03, 2001 8:32 AM To: php-general@lists.php.net Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP? Brandon Orther wrote:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netHello,my phpI am looking for the path to my php so I can put it on the top ofscript. Like this: #!/path/to/php All I can find that looks like this is libphp4.so Does anyone know wheretolook for the binary? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netTry locate and/or whereis. And you should make sure PHP isn't installed as module. -- * R&zE: *************************** ** Renze Munnik ** ** E: renze@datalink.nl ** M: +31 6 218 111 43 *************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net