var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
will cgi、suphp affect the code running?
i have a server with whm/cpanel,
i use the "Apache Update" to compile the php4、php5 of the server,
and i set the "PHP 5 Handler" as cgi,
some account tell me his php script can not login any more,
i want to ask,if i changing to cgi will affect it?
if yes, how can i solve it?
Suphp will, in fact, affect user scripts. I've seen it many, many times. From poor permissions (sometimes you need them, sadly, as developers aren't always thinking about security).
Personally, I'd say remove suphp and use suhosin instead. Fewer affects, and the script seems to hold it's own as far as security is related.
- WHMCS addons, management, support and more.
WHMCS Notifications Extended
- Add slack, hipchat, SMS, pushover to WHMCS !!
Always looking for Linux, WHMCS, Support Desk work. PM for details
Often problems with a php scripts not being able to login anymore, deal with the changes to the system not being able to save session data where the default location is.
Check your php.ini for
session.save_path = "/var/lib/php/session"
and maybe change that to:
session.save_path = "/tmp"
or change permissions on above so it's writeable by users.
Originally Posted by Lightwave
i put a customized php.ini in the folder of the account,
and it looks likely solve the problem of the account.
i doubt why the account can not work with login problem,
but other websites(like vBulletin forum) do not take such problem.