You are here: Re: Custom php installation « PHP Language « IT news, forums, messages
Re: Custom php installation

Posted by C. on 07/18/07 16:22

On 17 Jul, 13:06, Pugi! <pugin...@gmail.com> wrote:
> It is easy to install a webserver with Scientific Linux (SL) (= Red
> Hat Enterprise Linux clone), but more and more we are having trouble
> because the versions that come with either SL4.4 (PHP 4.3.9) or SL5.0
> (PHP5.1.6) are not recent enough to use current versions of third
> party software (for example Mapserver needs PHP 4.4.6 or 5.2.1). I've
> installed LAMP manually before, but that was at home, not for a
> production environment. I would like to keep on using SL, the apache
> and mysql that comes with it are ok too, but what is the best means to
> install a more recent version of PHP (5.2.1 or maybe even the 5.2.3)
> and how do you update/maintain it ? With PHP I am not only referring
> to the php module, but also to php-soap, php-pear, php-mbstring, php-
> mcrypt, php-mysql, php-cli, php-pdo, ...
>
> thanx,
>
> JM


If it doesn't create performance problems for you then you can just
manage the php installation seperately from the distribution by using
the CGI/fast CGI version. If you've got the apxs executable for the
supplied apache and apache dev rpm then it may be possible to compile
a compatible SAPI php module. If you need the performance and can't
get the php SAPI module to build properly then you'll need to start
compiling Apache yourself.

Remember to remove any rpms for packages which you will no longer be
using from SL.

Regardless of which route you take you should recompile all the PHP
modules when you recompile PHP

If you're happy with the supplied MySQL then there's no need to
maintain a seperate version.

HTH

C.

 

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

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