Php.Ini Changes, But Not Effective on Ubuntu

php.ini changes, but not effective on Ubuntu

I have solved my question.

There is a syntax error in php.ini in line 109, so the next all syntax does not execute.

webserver: php.ini changes not taking effect

If you want to add something to php.ini (as xdebug properties, for example), then you should use /etc/php5/cgi/conf.d folder (create or edit one of that files).

As for php.ini located in cgi - seems right that you've done. However, there still exists a possibility, that you can edit these files, but they are overwritten by general configuration by your provider. I would advice to check it locally, if the same configuration would work.
EDIT: /opt/psa/admin/conf/php.ini looks like a possibility of this variant.

Also I would advice to edit apache's php.ini, but it looks more like a magic path.

Php.ini changes are not taken on Linux Bitnami Ubuntu

You need to change the file:

/opt/bitnami/apps/prestashop/conf/php-fpm/php-settings.conf 

And do:

sudo /opt/bitnami/ctlscript.sh restart php-fpm

php.ini not reloaded on Ubuntu 16.04.3 LTS

since you mention fpm, you need to restart fpm not apache, on debian based should be close to :

sudo service php7.0-fpm restart

or just

sudo service php-fpm restart

reload can also do it instead or restart.

Apache: Changes to php.ini not picked up

I got it fixed on in a different way.

I added a my.ini file in the /etc/php/7.1/fpm/conf.d/ directory. Added my own modifications to the file and restarted apache and fpm.

Now it picks up te changes and all is working. So the file is added to the Scan this dir for additional .ini files.



Related Topics



Leave a reply



Submit