mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
webgui, restart wrong order for generating php.ini
This commit is contained in:
parent
d71fbf0df0
commit
ff690a030f
@ -104,15 +104,15 @@ function webgui_configure_do($verbose = false)
|
||||
/* only stop the frontend when the generation was successful */
|
||||
killbypid('/var/run/lighty-webConfigurator.pid', 'TERM', true);
|
||||
|
||||
/* regenerate the php.ini files in case the setup has changed */
|
||||
mwexec('/usr/local/etc/rc.php_ini_setup');
|
||||
|
||||
/*
|
||||
* Force reloading all php-cgi children to
|
||||
* avoid hiccups with moved include files.
|
||||
*/
|
||||
killbyname('php-cgi', 'HUP');
|
||||
|
||||
/* regenerate the php.ini files in case the setup has changed */
|
||||
mwexec('/usr/local/etc/rc.php_ini_setup');
|
||||
|
||||
/* start lighthttpd */
|
||||
mwexec('/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user