Re: Command-line php in debian/woody

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

You might want to download the php source and compile the cli binary yourself 
(Command Line Interface)

It takes only little time compared to compiling it as an apache module

Once you got thing setup, you can drop the php extension and just put a 
shebang like this

#! /usr/bin/php 

At the start of the file.

Andy
On Wednesday 06 April 2005 12:07, Robert S wrote:
> I am running a Woody server.  I'd like to run php scripts from the command
> line, but I note that the php/php4 executable is not in my PATH.
>
> I have php4, version 4.1.2-7.0.1 installed.
>
> Is the command-line option available with this version, or do I need to
> install another package?
>
>
> I understand that the command-line option was not available with earlier
> versions of php4
>
> I don't want to mix my system up with Sarge - it usually screws everything
> up when I
> have tried to do that.  I note that php isn't available in the backports.
>
> Is there any sort of workaround (short of upgrading the whole system to
> sarge, which I don't want to do)?

-- 
Registered Linux User Number 379093
--
Feel free to check out these few
php utilities that I released under the GPL2 and 
that are meant for use with a php cli binary:
http://www.vlaamse-kern.com/sas/
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux