Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd April 2013, 10:13
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 166
Thanks: 14
Thanked 17 Times in 12 Posts
Default custom php.ini for ispconfig

Since I disable functions that ispconfig needs to run properly it becomes unusable. There is a way to have a custom php.ini for ispconfig:

place your custom php.ini settings in /etc/php5/cgi/php.ispconfig.ini

edit

/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

add -c /etc/php5/cgi/php.ispconfig.ini to exec /usr/bin/php-cgi so it looks like this:

Code:
exec /usr/bin/php-cgi -c /etc/php5/cgi/php.ispconfig.ini -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp

This works.

Will the custom changes be overwritten? Is there a better/safer way to do this?
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2014, 18:11
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 166
Thanks: 14
Thanked 17 Times in 12 Posts
 
Default

I added a small patch to address this issue.

http://git.ispconfig.org/grungy/ispc...64991dddfa6391

Every single time when I update ispconfig few crucial thing like client creation stops working. This patch will fix this issue.
Reply With Quote
The Following User Says Thank You to grungy For This Useful Post:
till (27th March 2014)
Reply

Bookmarks

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom php.ini and suPHP pititis Installation/Configuration 9 8th March 2013 19:34
Problem after custom php.ini alme Installation/Configuration 7 7th September 2011 10:48
Custom php.ini settings field format. scottrill2 Installation/Configuration 1 15th April 2011 15:24
Site Directives and Custom php.ini GoremanX Installation/Configuration 14 1st May 2010 19:31
Custom PHP.ini for ISPC3 with Suphp and FastCGI ethanlifka Tips/Tricks/Mods 0 7th March 2010 04:14


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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.