Welcome to the most active Linux Forum on the web.
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-02-2004, 02:19 AM   #1
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Rep: Reputation: 15
configuring apache to activate php modules?

im configuring my apache like this:

# ./configure --activate-module=/src/module/php/libphp4.a
Configuring for Apache, version 1.3.31
+ using installation path layout : Apache (config.layout)

and i got this warning error:
configure:error: Module source already has to be below src/module/ to be activated

pls help what could this be mean? what im going to do to success activate-module?

thanks in advance...
Old 09-02-2004, 03:55 AM   #2
LQ Newbie
Registered: Sep 2004
Location: Romania
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
Apache 1.3 supports Dynamic Shared Objects (DSO's) and can unload and load them as necessary, this increases both flexibility and performance. To see if your version supports them, type httpd -l and if mod_so.c is loaded in the list that will appear, than it's ok.

Recompile apache using ./configure -enable-module=most --enable-shared=max. after that you do make and make install and start the apache server using apachectl start

Ok, next step: install php4 and configure it to be a shared apache module; afterwards do ./configure -with-apxs=/usr/local/apache/bin/apxs

In httpd.conf you need to uncomment the next line (or add it if it dones't exist) Addtype application/x-httpd-php .php
and , of course restart the apache server using apachectl restart
Old 09-02-2004, 04:27 AM   #3
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
thanks for your help bro. iL test that right now and be back later for the result..

thanks again...


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
configuring php for apache PennyroyalFrog Linux - Newbie 3 02-08-2008 12:58 AM
configuring apache, php mjl3434 Linux - Software 4 09-22-2005 07:49 PM
Configuring PHP with Apache. LinuxStart Linux - Software 6 07-11-2005 10:15 AM
Configuring php on apache Dakkar Linux - Software 5 06-01-2004 10:26 AM
Configuring Apache and PHP... causticmtl Slackware 2 07-06-2003 02:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 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