Hey all,
I've recently been tinkering with the PHP security settings and I've come across a weird issue. I'm running PHP 5.2.9 and WHMCS 4.0 stable.
I've noticed that when I compile suPHP/suExec and suHosing support into PHP (the norm for selling shared hosting), when I enable suPHP as the PHP 5 handler (instead of dso), it breaks WHMCS in the following ways (may be more issues, these are the ones I've found):
1) When I'm in the admin panel and click "Login as Client" under a client (I haven't yet started selling hosting - this is just a test client don't worry!), it goes my WHMCS client area but the user isn't logged in and it gives an error message saying the username or password is wrong
2) When ordering, when I select a domain (or tell it to update the DNS on an existing domain), I select the "Next" button and it goes back to the order homepage. Viewing the cart shows that the product and domain aren't in the card anymore/at all.
This is very weird. I literally change to dso as the PHP 5 handler and it works fine. I change to suPHP and the above issues occur straight away.
Any suggestions? Do I need to modify something in suphp.conf?
Many thanks,
Tristan Perry