LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-12-2007, 02:10 AM   #1
sohel
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
problem with apache and php5 in redhat 9


hi
i used redhat 9. in my pc php-4 was installed and apache as well. i then installed php5.then if i use the function phpinfo(), it still show php4. then i changed the httpd.conf file

LoadModule php5_module /usr/lib/httpd/modules/libphp5.so

but when i tried to start the httpd server using
service httpd start

it shows the following error
################################################

Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libaspell.so.15: cannot open shared object file: No such file or directory
[FAILED]
#########################################

but i checked that the file libphp5.so exists there then what's the problem.

now if i commented the line loadmodule php5_module
then it shows
#################
Starting httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf:
LoadModule takes two arguments, a module name and the name of a shared object file to load it from
##############

please help i am in the problem.thanks in advance
sohel
 
Old 06-12-2007, 02:31 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libaspell.so.15: cannot open shared object file: No such file or directory
It's libaspell.so.15 that cannot be found by the php module. That means that php was compiled with aspell support. If you want to use php5, you can either recompile php5 without aspell support, or install aspell that provides the required library.

Regards
 
  


Reply



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
PHP5 and Apache Conifg? geoffmat Linux - Newbie 2 09-04-2007 11:35 AM
Apache and PHP5 Problem (FC4) jjwl89 Linux - Software 5 06-07-2007 08:59 PM
Glitch? on Apache 2.2.3/PHP5.2.0 Tralce Linux - General 0 11-19-2006 04:15 PM
apache + php5 + mysql dejan_su Debian 2 05-23-2006 01:55 PM
Apache and PHP5 Mogatu Linux - Software 3 06-17-2005 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration