Re: How to load apache module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



If I remember correctly, the last time I setup a CentOs (was v 5.x) all I had to do was:

yum install httpd
/etc/init.d/httpd start

yum install php
/etc/init.d/httpd restart

Which should automatically configure PHP for you on Apache. I actually have a bookmark on it, will have to dig it up and see if I still have it which shows you how to setup the entire LAMP on Centos.

Aziz


On Thu, Sep 19, 2013 at 5:34 PM, Jay Vee <jvsrvcs@xxxxxxxxx> wrote:
I want to add this line to my Apache httpd.conf file:

  LoadModule php5_module modules/libphp5.so


Where do I easily get 'libphp5.so' for my platform which is CentOs 6.2?
How do I get libphp5.so there?

Ideally I would like to do:
#yum -y install <something> to get it there ( or a switch to indicate my conf or modules/ directory.

Anything I google on installing php involves many other things that I really do not need or want.
  


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux