Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37673

PHP.ini changes do not show in phpinfo-stuck at 2M

$
0
0
by Bill Wilson.  

I know this topic has been addressed numerous times...I have read many of them. I have upgraded to Moodle 2.3.1 (Build:20120816) and am running Moodle in a sub-folder under a Joomla web site. Moodle works fine with everything but the upload file size. I have modified the php.ini file for the site but cannot seem to get Moodle to recognize the changes.

phpinfo.php shows...

Loaded Configuration File: /etc/php5/apache2/php.ini
max_execution_time = 30
max_input_time = -1
memory_limit = 128M
post_max_size = 8M
upload_max_filesize = 2M

My /etc/php5/apache2/php.ini file shows:

max_execution_time = 900
max_input_time = 600
memory_limit = 512M
post_max_size = 500M
upload_max_filesize = 500M

My httpd.conf file contains:  LimitRequestBody 0

I tried copying the php.ini file into the Moodle, admin, files, and course folders. I previously tried using .htaccess files with the php parameters and with LimitRequestBody set to 0 but had no success. Currently, I have no .htaccess files in the /var/www/ or /var/www/moodle/ folders. Thus far, Moodle only sees the 2M limit.

Does anyone see what I'm overlooking?
Thanks!


Viewing all articles
Browse latest Browse all 37673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>