ispCP - Board - Support
PHP safe_mode switch - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: PHP safe_mode switch (/thread-6574.html)

Pages: 1 2


PHP safe_mode switch - DiXeoN - 04-30-2009 04:03 PM

Hello.

I think, along with a PHP4/5 switch, that a safe_mode on/off switch would be a "nice-to-have" feature, as more customers will be able to use joomla and such stuff much better with safe mode off.


RE: PHP safe_mode switch - BeNe - 04-30-2009 04:06 PM

We support PHP4 no more - onyl PHP5.
The safe mode is not really needed because of fcgid and the permissions.

Greez BeNe


RE: PHP safe_mode switch - rbtux - 04-30-2009 06:27 PM

safe_mode is depreciated and will be dropped in php6. The switch could be usefull later for switching between php5 and php6


RE: PHP safe_mode switch - gOOvER - 04-30-2009 07:18 PM

Maybe it's a better solution, when the Users can change some value's of php.ini via a GUI.


RE: PHP safe_mode switch - BeNe - 04-30-2009 07:43 PM

Quote:The switch could be usefull later for switching between php5 and php6
Yep!
Quote:Maybe it's a better solution, when the Users can change some value's of php.ini via a GUI.
Like plesk or ther other with a php_admin_value ?
But ispCP must check it before, otherwise Apache wont start correct if there is an syntax Error/wrong value or ?

Greez BeNe


RE: PHP safe_mode switch - gOOvER - 04-30-2009 08:37 PM

I mean Plesk check it, before. I don't know. It's a long, long Time ago, that i used Plesk Big Grin


RE: PHP safe_mode switch - DiXeoN - 05-01-2009 12:53 AM

BeNe - The only reason i talked about PHP4 is because i saw another thread about someone developing that switch.

Anyways.

rbtux: When will PHP6 be out then?


RE: PHP safe_mode switch - vasiliy0 - 05-01-2009 02:10 AM

If CGI is on, users can change their php.ini with cgi script like this:

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "###";
`echo ';test' >> /var/www/fcgi/example.org/php5/php.ini`

Maybe it is not a bug, it is undocumented feature Wink


RE: PHP safe_mode switch - rbtux - 05-01-2009 02:14 AM

seems like wrong permissions on the php.ini files ;-)


RE: PHP safe_mode switch - marryroy01 - 11-09-2009 09:48 PM

This is marry and I also think that there is something wrong in php.ini. You should check the first and then You can try it. It will work for you. All the best. It is not quite difficult so you can do it. If you have any problem then I will help you.