Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th August 2014, 12:00
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
 
Default PHP-FPM as default option when creating website

Hi,

if fast-cgi is not good default option for you when creating website you can easily change it. Edit file

Code:
/usr/local/ispconfig/interface/web/sites/form/web_domain.tform.php
and change:

Code:
'php' => array (
                        'datatype' => 'VARCHAR',
                        'formtype' => 'SELECT',
                        'default' => 'fast-cgi',
                        'valuelimit' => 'client:web_php_options',
                        'value'  => array('no' => 'disabled_txt', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM'),
                        'searchable' => 2
                ),
to

Code:
'php' => array (
                        'datatype' => 'VARCHAR',
                        'formtype' => 'SELECT',
                        'default' => 'php-fpm',
                        'valuelimit' => 'client:web_php_options',
                        'value'  => array('no' => 'disabled_txt', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM'),
                        'searchable' => 2
                ),
You can set any other default php of course Don't forget change it again after ISPConfig upgrade.
Reply With Quote
The Following User Says Thank You to SupuS For This Useful Post:
till (8th August 2014)
Sponsored Links
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
help cant access anything locally or from ip jimmie Installation/Configuration 14 5th March 2013 07:58
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 12:25
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06


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


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