US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 10-01-2012, 01:04 PM   #1
Junior Member
 
Join Date: Oct 2009
Posts: 21
stderr is on a distinguished road
Default 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.
stderr is offline   Reply With Quote
Old 10-02-2012, 07:13 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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).
slava is offline   Reply With Quote
Old 10-26-2012, 04:25 PM   #3
Junior Member
 
Join Date: Oct 2009
Posts: 21
stderr is on a distinguished road
Default

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.
stderr is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:54 AM.