File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,9 +229,9 @@ function update($event_name, $data) {
229229 // Fix socket path on PHP 7 systems
230230 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 );
231231 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 );
232- 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 );
233- 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 );
234- 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 );
232+ 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 );
233+ 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 );
234+ 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 );
235235
236236 // PHP-FPM
237237 // 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