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 06-15-2012, 06:47 AM   #1
crypt90
LQ Newbie
 
Registered: Jun 2012
Location: India
Distribution: Redhat and Centos
Posts: 14

Rep: Reputation: 0
Question mod_suphp not working


i installed apache 2.2 with php 5.2.17 i want to build suphp with it but when i build suphp with following options its giving me error


./configure --with-apxs=/ifail/bin/apxs --with-apr=/apr/bin/apr-1-config --with-setid-mode=owner --with-php=/nope/ --with-logfile=/var/log/suphp.log --sysconfdir=/etc/ --enable-SUPHP_USE_USERGROUP=yes

ERROR


make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/dd/suphp-0.7.1/src/apache2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dd/suphp-0.7.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/dd/suphp-0.7.1/src'
make: *** [all-recursive] Error 1

i installed apr-devel apr-util-devel php-pdo and php-cli also
my php is cgi enabled

i am expecting a good replay
 
Old 06-15-2012, 12:23 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi,

The actual error should be reported before the lines you've posted.
Run:
Code:
make distclean
and start over with "./configure ..." and "make"

Regards
 
1 members found this post helpful.
Old 06-22-2012, 07:19 AM   #3
crypt90
LQ Newbie
 
Registered: Jun 2012
Location: India
Distribution: Redhat and Centos
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs up suphp

Tnx for the replay brother. I got it fixed i think problems created by apr and apr-utils i rebuilt both and i got suphp installed

 
Old 06-22-2012, 07:23 AM   #4
crypt90
LQ Newbie
 
Registered: Jun 2012
Location: India
Distribution: Redhat and Centos
Posts: 14

Original Poster
Rep: Reputation: 0
Question php

Now i am facing a new problem i cant see php-cgi binary in bin as well as in sapi/cgi directory i installed php with --enable-cgi option m using php 5.3.X
apache 2.2.X... m expecting a good replay.
 
Old 06-22-2012, 08:53 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi,

I guess you're also also using "--with-apxs2" to compile php as an apache DSO.
Well, the bad news is that you cannot have both the DSO and the ph-cgi built at the same time. Have a look here for an explanation
The good news is that this AFAIK can be done in php-5.4.x (cgi is enabled by default)

Regards
 
1 members found this post helpful.
Old 06-23-2012, 01:19 PM   #6
crypt90
LQ Newbie
 
Registered: Jun 2012
Location: India
Distribution: Redhat and Centos
Posts: 14

Original Poster
Rep: Reputation: 0
Question suphp

yea bro i tried php 5.4 first but its making troubles with suphp i think compatibility isues but now m getting new errors suphp_usergroup is messed up m getting error messages when its enabled now m getting crazy with suphp its working but cant access pages 500 internal error i know its problem with user and group permissions but cant enable that parameter.suphp is running i am getting logs and dso file is present in modules directory :P m starting to love linux more
 
  


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
httpd error because of mod_suphp agriz Linux - Software 32 11-30-2011 11:14 PM
[SOLVED] Wifi not working in Eee PPC 1000HE (Debian Squeeze), but ethernet is working someshpr Linux - Laptop and Netbook 8 10-10-2011 04:59 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 09:06 AM
SED - minor changes work - Larger doesn't (working and non working code included) Nimoy Programming 17 09-22-2007 05:34 PM
mod_suphp gives empty php pages 70mas Linux - Server 1 07-20-2007 09:38 PM


All times are GMT -5. The time now is 01:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration