Re: How to load apache module

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



On Thu, 19 Sep 2013, Jay Vee wrote:

To: php-install@xxxxxxxxxxxxx
From: Jay Vee <jvsrvcs@xxxxxxxxx>
Subject:  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]
-----------------------------------------------------------




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