my php.ini shows
upload_max_filesize = 100M

my phpinfo shows
upload_max_filesize 2M 2M

not too sure why this might be... any suggestions would be great.

    your not looking at the correct php.ini

      pretty sure i am because when i change settings in it... those other settings appear in my phpinfo after reboot...

        listenmirndt;10964839 wrote:

        pretty sure i am because when i change settings in it... those other settings appear in my phpinfo after reboot...

        Are you positive? Did you try altering a different directive in that same file (display_errors, for example), restarting Apache/IIS/whatever, and verifying that the change is reflected in phpinfo() ?

        If so, then that value must be getting overridden somewhere. Have you searched through the entire php.ini file for multiple instances of the upload_max_filesize directive? Is it perhaps set in your webserver's config file (e.g. httpd.conf for Apache)?

          Write a Reply...