[afnog] RE : Re: Re : Apache2-PHP5 Installation Issues
Alain Ilunga
alilunga at yahoo.fr
Fri Jul 28 13:24:43 EAT 2006
I installed mysql from RPM, apache-2.2.2 and php-5.1.4
from sources.
In my conf file, I have the useful line
LoadModule php5_module modules/libphp5.so
My modules was anormaly empty and of course, it was
impossible to restart httpd.
The error message was something like libphp5.so is not
found - Bad directory.
I compiled PHP from myhomedirectory/php-5.1.4/,
Tutorial I used suggested me to copy libphp5.so from
.libs/ directory but looked unsuccessfulley for this
directory.
My question is why the installation doesn´t install
the file.
I used the same procedure with httpd-2.0.58 and
php-4.4.2 and everything is runnig well and I can see
my php pages.
--- Hervey Allen <hervey at nsrc.org> a écrit :
> Mark Tinka wrote:
>
> > # make clean
> > # ./configure --with-apxs2 --with-mysql
> > # make
> > # make install
> >
> >
> > Normally, from when I did this, when Apache and
> MySQL have been
> > installed from RPM, a source PHP compilation knows
> where to look
> > for relevant headers and libraries.
> >
>
> I thought I'd just make a general observation to the
> list.
> I've had to compile php from source several times in
> order
> to build dynamic sites. The issue with RPM installed
> apache
> and php is that the choices made by the distribution
> vendor
> often are not what you'll need for the code you plan
> on writing.
>
> While upgrading to PHP 5 is not necessarily
> something you
> want/need to do, the O'Reilly book:
>
> Upgrading to PHP 5
>
http://www.oreilly.com/catalog/upgradephp5/index.html
>
> gives some great hints about how to get php to
> compile
> successfully.
>
> I've done as Mark suggests - installed Apache and
> MySQL
> first from RPM, then compiling php with the options
> I need.
> Figuring out what options you need, however, is
> non-trivial.
>
> Cheers,
> - Hervey
>
>
> _______________________________________________
> afnog mailing list
>
Alain ILUNGA NGOIE
Faculté des sciences
Département de physique
BP 190 KIN XI
Université de Kinshasa
République Démocratique du Congo
alilunga at yahoo.fr
+243818135453
http://ilunga.8m.net
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
More information about the afnog
mailing list