Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-10-2009, 09:00 AM   #1
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/ into server: /etc/httpd/modules/ cannot open shared object file: No such file or directory
[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
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
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
On RHEL 4 that would be up2date, not yum

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
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 AM.

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