Installing and upgrading helpwhere is php.ini for the windows Xampp server?
Show I just downloaded the Windows Xampp installer and I'm trying to restore a course. I need to increase the allowable file upload size. I went to C:\moodle\server\php\php.ini and made the change from 20M to 200M. However, in Moodle I go to site administration - server - php info and it says that max_upload_filesize is 32M. As well, in the php info, for Loaded Configuration File, it has C:\moodle\server\php\php.ini so I don't understand where the 32M is coming from. Moodle 3.9.1 Hi Doug, C:\moodle\server\php\php.ini is the correct location for your installation of Moodle. To be able to
upload files larger than 32 MB, you actually need to change 2 settings in php.ini. It's not a Moodle specific thing but a PHP requirement. The two settings in your php.ini should be set to identical values (128 MB in this example) upload_max_filesize = 128M After making the change, you must stop and restart your
Moodle/Apache server for the changes to take effect. By default, Moodle will automatically accept these settings and use them. However, if you ever changed the maximum uploaded file size setting in Moodle, it may now be limiting your maximum upload size. You might
need to go into Moodle's settings and update the maximum uploaded file size by navigating to: Site administration > Security > Site security settings > Maximum uploaded file size If you don't need to change it, don't even save this setting in Moodle unless you want to make it lower than Apache/PHP's maximum that you set above. For more information on adjusting the maximum upload size,
see: Best regards, Michael Milette Hello, I have both upload_max_filesize and post_max_size set to 128M and then restarted my computer. However, in my server php settings, Site administration > Server > PHP info > Maximum uploaded file size still says the upload_max_filesize is
32M. The post_max_size is now 128M I then went to the XAMPP control panel, clicked on the apache config button, clicked php.ini and it is showing the setting upload_max_filesize 128M I then went to Site administration > Security > Site security settings > Maximum uploaded file size and it is set to 32MB. This is the largest value I can pick from a dropdown box. It seems to me that this unchangeable setting is overriding my php.ini.
Hi. See bellow. I use several versions of PHP in my xampp with virtual hosts for different ports. Ricardo. # <IfModule env_module> # <FilesMatch "\.php$"> # <IfModule php7_module> <IfModule mime_module> ScriptAlias /php-cgi/ "C:/xampp/php/" <Directory "C:/xampp/cgi-bin"> <Directory "C:/xampp/htdocs/xampp"> <IfModule alias_module> Alias /phpmyadmin "C:/xampp/phpMyAdmin/" Alias /webalizer "C:/xampp/webalizer/" ## ## Listen 8083 ## Listen
8082 ## Listen 8081 ## Listen 8080 ## Listen 8079 Where is the PHP ini file xampp?ini file: Whenever we install PHP, we can locate the configuration file inside the PHP folder. If using xampp, we can find the configuration file in one or many versions, inside the path '\xampp\php'.
Where is PHP ini localhost?For Windows, you can find the file in the C:\xampp\php\php. ini -Folder (Windows) or in the etc -Folder (within the xampp-Folder). Under Linux, most distributions put lampp under /opt/lampp , so the file can be found under /opt/lampp/etc/php. ini .
Where is PHP ini phpmyadmin?It is located at /opt/bitnami/php/etc/php. ini.
Where is PHP ini configuration?To configure a PHP setting. In Windows Explorer, open your PHP installation folder, for example C:\PHP .. In a text editor, open the php. ini file.. Search the file for the setting you want to change. ... . Save and close the php. ... . Recycle the IIS Application Pools for PHP to pick up the configuration changes.. |