Php ini not updating

21 Feb

), but changes to this file were getting overwritten every time I restarted the servers.

After a bit of poking around, I discovered that MAMP PRO was actually copying a template file for the PHP configuration on start-up, which would clobber the file I’d been changing.

These are found in Drupal 6 at "Administer » Site configuration » File uploads" ( /admin/settings/uploads ).

In Drupal 7 size limit is controlled on per-field basis.

$ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php PHP will load all files in /usr/local/etc/php.d/*.ini, then /etc/php.d/*as configuration files.

in you can reference to an existing directive or an environment variable using the syntax $.

This will set a date.timezone value, but not update the one already there, and currently it's only updating my cli/but not my apache2/php.ini, to i'm not completely there yet, but getting closer. This is a bug in how we currently handle config files on Debian based systems (other platforms with only one config file should not be affcted).

I will have to really dig into the refactor that is taking place to ensure there is a fix for this issue in the new version.

This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.

directives handled by extensions are documented on the respective pages of the extensions themselves.

A list of the core directives is available in the appendix.

post_max_size integer Sets max size of post data allowed. To upload large files, this value must be larger than upload_max_filesize.

If memory limit is enabled by your configure script, memory_limit also affects file uploading.