Sami wrote: > > Hi All, > > How can change the config php.ini (upload_max_filesize) on the file > application.ini. > > as this > phpSettings.display_startup_errors = 1 > > I not need change the config for upload_max_filesize on php.ini because i > have more than site on my server. > > Thanks All. >
You can't. At least in application.ini because upload_max_filesize is changeable in PHP_INI_PERDIR as stated here: http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize So the only solution to change this directive only for your zf project and not for the whole site is use the .htaccess file by inserting this line: php_flag upload_max_filesize 2M Bye -- View this message in context: http://n4.nabble.com/How-change-php-configration-tp1574906p1575080.html Sent from the Zend Framework mailing list archive at Nabble.com.
