LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-03-2003, 05:36 AM   #1
trubi
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 7.3 (Valhalla)
Posts: 25

Rep: Reputation: 15
Problem configuring php & apache !!!


I installed apache 1.3.27
and after that php 4.3.0 but I missed something and I don't know how to fix it :

when I write httpd -l there should be mod_so.c
but it isn't there (I should have ckecked for it before installing php but I missed it )

So that's the problem ,
Can I add it now and how ??
 
Old 02-03-2003, 05:39 AM   #2
Dumpsterm0uth
Member
 
Registered: Jan 2003
Location: Not telling
Distribution: Slackware, Mandrake, Redhat, -TRYING GENTOO
Posts: 64

Rep: Reputation: 15
I am new at linux but what I would say is remove the program rpm -e appname and then reinstall it... "try that not sure if it will offically work" must be logged in as root to remove and install programs don't forget!
 
Old 02-03-2003, 05:46 AM   #3
trubi
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 7.3 (Valhalla)
Posts: 25

Original Poster
Rep: Reputation: 15
Ok but the problem is that :

"Apache httpd must have mod_so enabled.
Check using httpd -l. You should see something like:

Compiled-in modules:
http_core.c
mod_so.c

Chances are you will see a lot more modules than these two. That's ok,
as long as mod_so.c shows up you can proceed with the following steps:......installation "

and I missed that

So that file should be in there before I start the instalation
 
Old 02-03-2003, 05:47 AM   #4
Dumpsterm0uth
Member
 
Registered: Jan 2003
Location: Not telling
Distribution: Slackware, Mandrake, Redhat, -TRYING GENTOO
Posts: 64

Rep: Reputation: 15
So you skipped a step during the installation, so re-install it and don't skip it. Is that what your asking... because I am kind of confused....
 
Old 02-03-2003, 05:51 AM   #5
trubi
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 7.3 (Valhalla)
Posts: 25

Original Poster
Rep: Reputation: 15
That is not a step from the installation process
It is something to be ckecked before you start
But that file was misssing there before I started the installation

and it seems it is the problem

Do you understand me now
maybe I don't explain too good ,
 
Old 02-03-2003, 05:10 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Hello.

You are going to have to reinstall apache. If you installed from an RPM you will have to get a new one, because the one you used does not have the proper support built in.

If you built from source you will have to add a flag to your configuration script:
Code:
./configure --enable-module=so
this will give you the mod_so.c you need to use modules with apache (and install php).

If I can do some shameless self-promotion here, I am currently writing a howto on LAMP (Linux, Apache,MySQL and PHP) and although it is not quite done it may help you if you decide to build from source. You can read it here:
http://badcomputer.no-ip.com/linux/lamp/index.html

good luck...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring php for apache PennyroyalFrog Linux - Newbie 3 02-07-2008 11:58 PM
apache 2.0.54 & php-4.3.11 problem jiawj Red Hat 2 08-19-2005 06:47 AM
Configuring PHP with Apache. LinuxStart Linux - Software 6 07-11-2005 09:15 AM
Configuring php on apache Dakkar Linux - Software 5 06-01-2004 09:26 AM
Configuring Apache and PHP... causticmtl Slackware 2 07-06-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration