ID: 46862 Updated by: j...@php.net Reported By: alp3r at msn dot com -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: CENTOS Enterprise 4.7 i686 PHP Version: 5.2.8 New Comment:
Delete the whole php.ini file, copy one from the distribution package (either php.ini-dist or php.ini-recommended to php.ini) and change the values again. And double check ALL .htaccess files and httpd.conf (and includes in it!) for any php_* settings. I can not reproduce this with clean and properly installed system. Previous Comments: ------------------------------------------------------------------------ [2008-12-17 12:29:59] alp3r at msn dot com Lines are: "post_max_size = 100M upload_max_filesize = 100M memory_limit = 100M" in php.ini. ///\\\ Yes, i'm running on Apache. Version is: Apache Version Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Apache API Version 20051115 ///\\\ There are no php_value or flag in .htaccess or httpd.conf. I'm creating a new host account (normally new .htaccess file), and trying to get phpinfo() in new account, the result is same as the others. I think, it's not a .htaccess problem. ------------------------------------------------------------------------ [2008-12-17 11:45:26] j...@php.net What _exactly_ are the lines defining those directives in that ini file? Are you running under Apache? Are there any php_value / php_flag or such in either httpd.conf or in _any_ .htaccess file in your system? ------------------------------------------------------------------------ [2008-12-17 09:06:40] alp3r at msn dot com I checked it; it's "/usr/local/lib/php.ini". Anyway, i've already worked on this file. The problem is not this. ------------------------------------------------------------------------ [2008-12-16 18:08:49] j...@php.net First of all, check in phpinfo() output that the correct php.ini file is loaded (if any!). This information can be found in the very first lines in the output: "Loaded Configuration File" ------------------------------------------------------------------------ [2008-12-14 13:44:06] alp3r at msn dot com Description: ------------ I changed my dedicated server. In the old one, php version was 5.2.5 and the new one, it's 5.2.8. I had to change the php.ini (/usr/local/lib/php.ini) file. I change safe mode to on from off, memory limit to 100M, post_max_size to 100M from 8M, upload_max_filesize to 100M from 2M. And i restarted the apache. And then, when i look to phpinfo, i saw it look like this; safe mode = on. (It's ok.) memory limit = 100M. (It's ok.) post_max_size = 8M (It's wrong! I changed it to 100M) upload_max_filesize = 2M (It's wrong! I changed it to 100M too) Is there any bug about php 5.2.8? Or how can i fix this problem? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46862&edit=1