Reply to Re: [PHP] Command-line php in debian/woody

Your name:

Reply:


Posted by Andy Pieters on 04/06/05 15:59

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/
--

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация