Re: stupid question...compiling php
| From: | Jochem Maas | Date: | Mon, 07 Aug 2006 18:57:16 +0000 |
| Subject: | Re: stupid question...compiling php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240272@lists.php.net to get a copy of this message | ||
blackwater dev wrote:
> Ok, doing that now and it's taking a while.
it might take forever. I made a thinko, it should have been:
php -i | grep configure
(it should be pretty much instantaneous)
I can do phpinfo but that
> tells
> me the config line and where the ini files are, not necessarily where the
> configure stuff is to recompile...correct?
correct, other than the system libs (which you refer to for some configure options)
- I doubt those would have change.
which pretty much leaves the php sources - and this you can download from
lots of places (you don't need to recompile from the same directory), if php
was installed as a package you will not have the source locally (probably) and
the chances are you'll be missing a stack of libs and/or development header files
which you would then need to install (again this depends on what configure flag
you're going to use)
>
> On 8/7/06, Jochem Maas <jochem@iamjochem.com> wrote:
>>
>> blackwater dev wrote:
>> > Ok,
>> >
>> > I am using a hosted server and php is installed from the linux
>> distro. I
>> > usually have all the stuff in a php file somewhere so I can just go
>> back
>> > ./configure, etc. I can't seem to find the configure for php on this
>> > box so
>> > I can recompile but I know it is there as I can use php and see the
>> > version,
>> > how can I find the configure to use?
>>
>> php -l | grep configure
>>
>> or
>>
>> <? phpinfo();
>>
>> >
>> > Thanks!
>> >
>>
>>
>