my server has latest i-mscp with php-fpm pool per site configuration.
I am tryin to get my php "kind-a" asynchronous by using php exec('bash -c "exec php index.php" > /dev/null 2>&1 &')
I am using successfully php apc cache but the cache of php-pool is obviously not shared with cache of above executed cli command. Is there any possibility to execute a php script with exec() IN the php-fpm pool from which the script is called by exec()?
An option like exec('bash -c "exec php-fpm --pool=domain.tlp index.php" > /dev/null 2>&1 &')
Thx for your help.