You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm still getting the same result as before. ie. it seems the workers are still using the default /etc/php7/php.ini config.
i guess setting PHPRC at this "level" will ensure that PPM starts using this PHPRC value, but will this propogate down to the workers?
maybe i'm even confused about which processes use which php.ini. i'm assuming that (in my scenario) the PPM process itself can use a certain php.ini (ie. /etc/php7/ppm/php.ini) but the worker processes can use another php.ini (eg. /etc/php7/worker/php.ini)
i have a bit of a strange setup. i'm trying to integrate PPM into an existing setup.
i will look into this further soon, but i got sidetracked right now.
You're right, as the workers are started as independent processes from the main one, the PHPRC directive is probably not propagated, we should investigate that.
As a workaround, the worker processes use php-cgi and a php-cgi.ini will take preference over php.ini. Assuming you don't have any more php-cgi stuff, you could probably use that. Could that work?
this is more of a question because i didn't find any other resource to find this information.
is it possible to tell ppm to use a specific config file (php.ini) in the ppm.json config file for ppm?
for example, there already exists this option...
does something like this exist? or an alternative to achieve the same thing.
thanks
The text was updated successfully, but these errors were encountered: