You are here: Re: [PHP] recompiling php « PHP « IT news, forums, messages
Re: [PHP] recompiling php

Posted by blackwater dev on 07/07/05 00:01

I install it with this:
> --with-apxs=/path/to/apxs

So what is the order?

I cd'd into my php directory and did:
../configure with my options
make
make install

Then I went into my apache folder and did
../configure with options
make
make install

Then rebooted and started apache but when I look at phpinfo it still
shows the old command used to build it.

What am I missing?

On 7/6/05, John Nichel <john@kegworks.com> wrote:
> blackwater dev wrote:
> > I have a linux box which I use periodically. I built php 5.0.3 on it
> > and it runs fine. I just came across a situation where I need to
> > compile in the zlib extension so I got into my php folder and did
> > ./configure with my options, then make and make install. I then
> > restarted Apache but when I look at phpinfo, it still shows the old
> > command used to build php, not the command I just used to recompile.
> > Are there other things needed in a recompile?
>
> Did you build it as a static module or DSO? ie.
>
> --with-apache=../path/to/apache/source
>
> or
>
> --with-apxs=/path/to/apxs
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@kegworks.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this 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

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