Re: [PHP-INSTALL] How to load apache module
[email protected] (Keith Roberts) Fri, 20 Sep 2013 08:27:34 +0100 (BST)
| Newsgroups | php.install |
|---|---|
| Message-ID | <alpine.LRH.2.02.1309200825001.11830@karsites> |
On Thu, 19 Sep 2013, Jay Vee wrote: > To: [email protected] > From: Jay Vee <[email protected]> > Subject: [PHP-INSTALL] How to load apache module > > 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. I'm on Centos 5.9 and use the php version from remi repos as it's the most up to date version for Centos 5.9: Name : php Arch : i386 Version : 5.4.19 Release : 1.el5.remi Size : 8.0 M Repo : installed Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor) URL : http://www.php.net/ License : PHP and Zend and BSD Description: PHP is an HTML-embedded scripting language. PHP attempts to make it : easy for developers to write dynamically generated webpages. ... : The php package contains the module which adds support for the PHP : language to Apache HTTP Server. try: $yum info php HTH Keith Roberts ----------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------