LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Trying to install PHP

[ILUG] Trying to install PHP

William Harrison wharrison at seemail.net
Thu Dec 12 11:24:03 GMT 2002


Cheers Adam, That was spot on.

Will


Hi William,

> Hi I am new to Linux admin and trying to get PHP working on our server
> Redhat 7.3 server. I had to remove PHP but reinstalled using rpms and now
> even though I have reinstalled apache is saying:
>
> Starting httpd: Syntax error on line 254 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/mod_php.so into server:
> /etc/httpd/modules/mod_php.so: cannot open shared object file: No
> such file or directory
> [FAILED]
>
> Indeed mod_php.so is nowhere to be found. I have rpm -e on all
> PHP packages and retried but no good.
>
As far as I can remember, mod_php.so is actually the PHP3 shared module. The
PHP4 module is libphp4.so, so have a look in /etc/httpd/modules for it and
change the LoadModule directive to point to that. You should also remove any
other LoadModule and AddModule directives pointing to *php*; unless of
course you want to run them in parallel for some reason.

HTH,
adam

--
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell