File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ function update($event_name, $data) {
184184 || file_exists ('/var/run/php/php7.1-fpm.sock ' )
185185 || file_exists ('/var/run/php/php7.2-fpm.sock ' )
186186 || file_exists ('/var/run/php/php7.3-fpm.sock ' )
187+ || file_exists ('/var/run/php/php7.4-fpm.sock ' )
187188 ){
188189 $ use_tcp = '# ' ;
189190 $ use_socket = '' ;
@@ -206,6 +207,8 @@ function update($event_name, $data) {
206207 if (file_exists ('/var/run/php/php7.0-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.0-fpm.sock ' , $ content );
207208 if (file_exists ('/var/run/php/php7.1-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.1-fpm.sock ' , $ content );
208209 if (file_exists ('/var/run/php/php7.2-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.2-fpm.sock ' , $ content );
210+ if (file_exists ('/var/run/php/php7.3-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.3-fpm.sock ' , $ content );
211+ if (file_exists ('/var/run/php/php7.4-fpm.sock ' )) $ content = str_replace ('/var/run/php5-fpm.sock ' , '/var/run/php/php7.4-fpm.sock ' , $ content );
209212
210213 // PHP-FPM
211214 // Dont just copy over the php-fpm pool template but add some custom settings
You can’t perform that action at this time.
0 commit comments