ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   General technical discussion (http://forum.ispsystem.com//forumdisplay.php?f=8)
-   -   php.ini with PHP as CGI (http://forum.ispsystem.com//showthread.php?t=2016)

stderr 10-01-2012 01:04 PM

php.ini with PHP as CGI
 
Hi all,

is in ispmgr any "php.ini.skel" file, where I can define "global" variables for domains which use PHP as CGI? Ispmgr generates custom php.ini, where date.timezone, error_reporting, etc are missing and it's really crazy to add this settings into all files.

Thanks.

slava 10-02-2012 07:13 PM

Hello,
skel-file for php.ini is not exist. You can change global configuraions in /etc/php.ini /etc/php.d/ (locations depended by you OS).

stderr 10-26-2012 04:25 PM

Unfortuntely not.

We're using ispmgr with CentOS (5.X or 6.X) and if we set php as cgi, ispmgr generates user's php.ini with only two lines: sendmail_path and session.save_path. Everything else is generate from php default values and doesn't depends on /etc/php.ini. So it will be cool to create an skel for user's php.ini.


All times are GMT +2. The time now is 02:36 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.