LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-10-2009, 09:00 AM   #1
ipvirg
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Rep: Reputation: 0
help php5 installation on red hat enterprise linux 4


[root@spring php-5.3.0]# service httpd start
Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
[FAILED]
[root@spring php-5.3.0]# httpd -v
Server version: Apache/2.0.52
Server built: Dec 15 2005 04:09:14
[root@spring php-5.3.0]# php -v
PHP 5.3.0 (cli) (built: Sep 9 2009 21:23:02)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
[root@spring php-5.3.0]#
 
Old 09-10-2009, 10:50 AM   #2
sehku17
LQ Newbie
 
Registered: Sep 2007
Location: St. Louis, MO
Distribution: Ubuntu & derivatives, Fedora
Posts: 19

Rep: Reputation: 0
you are using the command line interface version of php

the version that integrates with your webserver is a seperate package. I don't know what it's called in your repositories, but if you have a package manager, search for php packages you haven't installed.

yum list php
apt-cache search php
(depending on package manager)
 
Old 09-10-2009, 06:06 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
On RHEL 4 that would be up2date, not yum
http://kbase.redhat.com/faq/docs/DOC-2531

You also have a syntax error on the indicated line. If you can't figure it out, post the httpd.conf (with numbered lines).
 
Old 09-10-2009, 07:19 PM   #4
ipvirg
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
there is a bug on PHP 5.3.0. I tried PHP 5.2.10 and everything works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Red Hat 5 Enterprise installation without X Windows quz Linux - Newbie 3 11-28-2008 04:44 PM
Red Hat Enterprise Linux 4 Installation problem burrows_savio15 Red Hat 3 12-20-2006 11:40 PM
Red Hat Enterprise Linux WS 3 Installation from hard disk maya2k2pk Linux - Distributions 0 09-17-2005 05:45 PM
Red Hat Linux Enterprise Installation Steps avinash_vas Linux - Software 4 09-04-2004 06:14 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 08:57 AM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration