Re: [PHP] Compile PHP question

2004-04-16 Thread Jason Wong
On Thursday 15 April 2004 20:49, Enrico Weigelt wrote:
 * Dave Carrera [EMAIL PROTECTED] [2004-04-15 11:14:45 +0100]:
  Hi List,
 
  How do I compile php without apache, with mysql (client is installed) as
  cli.

 ./configure --enable-cli --with-mysql


I believe cgi is enabled by default, so

   ./configure --disable-cgi --enable-cli --with-mysql

would be better.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Happiness is just an illusion, filled with sadness and confusion.
*/

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



Re: [PHP] Compile PHP question

2004-04-16 Thread Red Wingate
Wrong one here:

http://de2.php.net/manual/en/features.commandline.php

[quote]
The CLI SAPI was released for the first time with PHP 4.2.0, but was still 
experimental and had to be explicitly enabled with --enable-cli when 
running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimental 
and the option --enable-cli is on by default. You may use --disable-cli to 
disable it.
[/quote]

Using:  './configure --enable-cli --with-mysql' is just right :-)

 -- red

[...]
   Hi List,
  
   How do I compile php without apache, with mysql (client is installed)
   as cli.

 
  ./configure --enable-cli --with-mysql


 I believe cgi is enabled by default, so

./configure --disable-cgi --enable-cli --with-mysql

 would be better.
[...]

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



Re: [PHP] Compile PHP question

2004-04-16 Thread Jason Wong
On Friday 16 April 2004 16:46, Red Wingate wrote:
 Wrong one here:

 http://de2.php.net/manual/en/features.commandline.php

 [quote]
 The CLI SAPI was released for the first time with PHP 4.2.0, but was still
 experimental and had to be explicitly enabled with --enable-cli when
 running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimental
 and the option --enable-cli is on by default. You may use --disable-cli to
 disable it.
 [/quote]

 Using:  './configure --enable-cli --with-mysql' is just right :-)

I think you quoted the wrong part of the manual. Read on a bit more to see 
this:

Note: Because both --enable-cli and . --enable-cgi are enabled by default, 
simply having --enable-cli in your configure line does not necessarily mean 
the CLI will be copied as . {PREFIX}/bin/php during make install.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
The relative importance of files depends on their cost in terms of the
human effort needed to regenerate them.
-- T.A. Dolotta
*/

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



RE: [PHP] Compile PHP question

2004-04-16 Thread Dave Carrera
Hi David,

You have to unsubscribe yourself from the php-general list to not receive
further correspondence as it is not in my power to do such a task and is not
my fault that you are on our list.

I am not in any way responsible for the php-general list just a participant
it the contributions.

Yours truly

Dave Carrera


-Original Message-
From: David A. Stevens [mailto:[EMAIL PROTECTED] 
Sent: 16 April 2004 18:59
To: Dave Carrera
Subject: Re: [PHP] Compile PHP question


Please remove my address from any future correspondence about PHP.


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

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



[PHP] Compile PHP question

2004-04-15 Thread Dave Carrera
Hi List,

How do I compile php without apache, with mysql (client is installed) as
cli.

The reason I ask is that I would like to do some command line scripting
using php as my preferred scripting language and I dont have apache loaded
on the server as this is going to be on a dedicated email server.

Any help, make lines or anything is very much appreciated.

Thanks you in advance for any help

Dave C


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
 

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



Re: [PHP] Compile PHP question

2004-04-15 Thread Enrico Weigelt
* Dave Carrera [EMAIL PROTECTED] [2004-04-15 11:14:45 +0100]:

 Hi List,
 
 How do I compile php without apache, with mysql (client is installed) as
 cli.

./configure --enable-cli --with-mysql

btw: if you're planning automated builds, you'll be maybe interested
in my buildfarm project ...


cu
-- 
-
 Enrico Weigelt==   metux IT services

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
   -- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
-

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