If you get the source rpm ( ... .src.rpm), which should be
available, you can unpack it with rpm2cpio which should, among
other things, give you the .spec file, which should have what you're
after in the "build()" sections.
------------ Original Message ------------
> Date: Friday, April 17, 2015 17:11:02 +0000
> From: William Andreozzi <billandr@xxxxxxxxxxxx>
> To: Rasmus Lerdorf <rasmus@xxxxxxxxxxx>, php-install@xxxxxxxxxxxxx
> Subject: Re: ./configure options for building php
5.5.21
>
> Using php -i for the yum installed version of php is not showing
> that section; I only see the “configure” section for php
> builds that I’ve built from source.
>
> Thanks - Bill
>
>
>
>
> On 4/17/15, 10:05 AM, "Rasmus Lerdorf" <rasmus@xxxxxxxxxxx> wrote:
>
>> On 04/17/2015 10:02 AM, William Andreozzi wrote:
>>> What is the easiest why to get the configuration options that
>>> were used for a particular php package. I’ve installed php by
>>> “yum install php55” - which installed 5.5.21; but I’d like
>>> to build a version of it with debug symbols etc but am not sure
>>> what the ./configure settings are to match the version that was
>>> installed.
>>>
>>> Is there a resource that I can use or a command that can be run
>>> to view this? I know that php –I works for versions that
>>> I’ve built because it shows the ./configure options used; but
>>> not when downloading the package.
>>>
>>> Any ideas or links would be greatly appreciated.
>>
>> The configure line is at the top of the phpinfo() or "php -i"
>> output.
>>
>>
------------ End Original Message ------------
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]