Re: [PHP] Determining Built Configuration

2005-11-08 Thread Minuk Choi

can you get the output from phpinfo()?

That is, create a file, phpinfo.php with the following

?PHP
echo phpinfo();
?

and then put that in your htdocs/html directory so you can browse it 
with your internet browser... there should be a configure block on that 
page with all the options listed


-Minuk

[EMAIL PROTECTED] wrote:

I need to rebuild PHP on a Linux box (RHEL).  It has been built there 
before but I cannot locate the proper command line for configure -- 
config.status is no longer accurate as configure was run with no 
arguments.  Is the old configure command line saved in a log somewhere? 
If not is there a simple way to sort out the options that were used to 
build the current version?


This is PHP 4.3.4 running as part of an Apache 1.3.x static build and 
also a CLI version.


Thanks,

--
Tom

 



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



Re: [PHP] Determining Built Configuration

2005-11-08 Thread trlists
On 8 Nov 2005 Minuk Choi wrote:

 can you get the output from phpinfo()?

Thanks.  I've used phpinfo() many times but never looked at that bit of 
the output.  It's exactly what I needed.

--
Tom

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



Re: [PHP] Determining Built Configuration

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 11:36 am, [EMAIL PROTECTED] wrote:
 I need to rebuild PHP on a Linux box (RHEL).  It has been built there
 before but I cannot locate the proper command line for configure --
 config.status is no longer accurate as configure was run with no
 arguments.  Is the old configure command line saved in a log
 somewhere?
 If not is there a simple way to sort out the options that were used to
 build the current version?

http://php.net/phpinfo


You should run it from the browser, and from the CLI separately, as
they could be different builds.

There is also config.nice if it was installed from source.

-- 
Like Music?
http://l-i-e.com/artists.htm

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



Re: [PHP] Determining Built Configuration

2005-11-08 Thread trlists
On 8 Nov 2005 Richard Lynch wrote:

 You should run it from the browser, and from the CLI separately, as
 they could be different builds. 

I had wondered about that but they are the same build.  I was planning 
to double-check anyway.

 There is also config.nice if it was installed from source. 

Not if configure was run again since -- it overwrites it as far as I 
can see.

Thanks,

--
Tom

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