ispCP - Board - Support
php.ini available to customers - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: php.ini available to customers (/thread-14829.html)



php.ini available to customers - maffei - 07-22-2011 02:36 PM

Hello!
Someone could help me?
I wanted to put the php.ini available to customers can edit, anyone have any tutorial?

Thanks!


RE: php.ini available to customers - gOOvER - 07-22-2011 09:59 PM

Ohh you want to open a Big Door to your Server?? ^^ It's not recommended to do that. Wink


RE: php.ini available to customers - aseques - 07-23-2011 12:51 AM

Well, letting the users edit some parameters would be really usefull. For example, my customers cannot change their default errror_logging settings, and they cannot adapt their sites for the php5.3 (that deprecates lots of functions)
It's a pitty there's not something like that.


RE: php.ini available to customers - s4brown - 07-26-2011 07:17 AM

(07-23-2011 12:51 AM)aseques Wrote:  Well, letting the users edit some parameters would be really usefull. For example, my customers cannot change their default errror_logging settings, and they cannot adapt their sites for the php5.3 (that deprecates lots of functions)
It's a pitty there's not something like that.

Your customers can change settings via "php_value" in .htaccess, for example:

Code:
php_value memory_limit 64M
php_value display_errors 1



RE: php.ini available to customers - aseques - 08-01-2011 07:32 PM

(07-26-2011 07:17 AM)s4brown Wrote:  
(07-23-2011 12:51 AM)aseques Wrote:  Well, letting the users edit some parameters would be really usefull. For example, my customers cannot change their default errror_logging settings, and they cannot adapt their sites for the php5.3 (that deprecates lots of functions)
It's a pitty there's not something like that.

Your customers can change settings via "php_value" in .htaccess, for example:

Code:
php_value memory_limit 64M
php_value display_errors 1
You're wrong, since ispcp is using fcgi to control the php processes those parameters cannot be changed via htacces. That's the problem.