icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHPsuexec » WHMCS and PHP suexec - cant login if enabled

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old May 22nd, 2008, 10:50 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Apr 2008
44 posts
Gave thanks: 3
Thanked 4 times
WHMCS and PHP suexec - cant login if enabled

Hi,

i read the PHP Suexec thingy and i got convinced to enable it on my server. but now, i cant login to my WHMCS anymore. i double checked everything on the 755 permissions.

if i enable the Suexec, i could not login. i would just be redirected to the login page again.

if i disable it, i could login without any problems.

got any pointers on how to fix this?

thanks
__________________
JudasInWonderland


huckyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22nd, 2008, 10:54 AM   #2 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,651 posts
Gave thanks: 81
Thanked 128 times
Hmm, that is rather strange since if you set the permissions to 755 in your WHMCS it should work as if you put 777, which I know is asked by WHMCS when installing. hmmm...
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22nd, 2008, 10:59 AM   #3 (permalink)
Registered User
Seasoned Poster
 
Joined in Apr 2008
44 posts
Gave thanks: 3
Thanked 4 times
add to add, while enabling - disabling the suexec, i dont change back the 755 permissions. that is, i just left them as is.

im expecting WHMCS to fail at least while suexec is disabled because i have some folders set to 755 instead of 777.. but no errors whatsoever..
__________________
JudasInWonderland


huckyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22nd, 2008, 1:42 PM   #4 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,332 posts
Gave thanks: 23
Thanked 93 times
check mod security... this can also be a problem...
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22nd, 2008, 3:28 PM   #5 (permalink)
Registered User
Seasoned Poster
 
Joined in Apr 2008
44 posts
Gave thanks: 3
Thanked 4 times
hi Bigjohn

where can i check the mod security thingy?
__________________
JudasInWonderland


huckyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22nd, 2008, 8:45 PM   #6 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,332 posts
Gave thanks: 23
Thanked 93 times
typically if it's ON (you can query PHPINFO).
If it is, put a .htaccess file that has mod_security=off.

ask support, they might be able to do it right away for you.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 23rd, 2008, 1:38 AM   #7 (permalink)
Surpass Fan
Comfy Contributor
 
psfrog's Avatar
 
Joined in Jun 2004
Lives in Sweden
Hosted on Muy and Dedicated
212 posts
Gave thanks: 5
Thanked 19 times
Hello! This usually happens if the IP that the licence key is issued for changes.
Than a reissue of the licence key would help.

How did You enable phpsuexec? Do you enable "SuPHP" in WHM-panel ?
( cPanel - Easy Apache 3 & PHP - Configuration of How Apache Serves PHP Requests )
__________________
:: Have a great day! /Erik at http://www.psychofrog.se and http://www.manufrog.com ::
Server: Muy and Dedicated
psfrog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks psfrog for this great post!
huckyboy (May 26th, 2008)
Old May 26th, 2008, 8:27 AM   #8 (permalink)
Registered User
Seasoned Poster
 
Joined in Apr 2008
44 posts
Gave thanks: 3
Thanked 4 times
hi all,

got the problem sorted out now. it turned out that i misconfigured the php suexec in WHM. what i did was i just set the SuExec to ON, and left the PHP Handler to CGI. It should have been SuPHP as pointed out by psfrog

Quote:
How did You enable phpsuexec? Do you enable "SuPHP" in WHM-panel ?
this one above did the trick

thanks to all
__________________
JudasInWonderland


huckyboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On