![]() ![]() Lynx -dump | grep "memory_limit\|post_max\|upload_max" To check that the new value is set properly, log into PHPMyAdmin and check what value is shown for "Max upload size".Īlternatively, create a phpinfo.php page in /var/www/html/ and check it via lynx (replace IP with your server's actual IP): Note that this is just an example and generally you want the memory_limit to be larger than post_max_size, and post_max_size larger than upload_max_filesize. Printf "memory_limit = 128M\npost_max_size = 128M\nupload_max_filesize = 128M\n" > /usr/local/phpXX/lib//50-webapps.ini So, edit that file with the new settings.įor example, if you wanted these increased to 128M: Which will apply those changes to only apps within that path, such as webapps like PHPMyAdmin or Roundcube. This file has the following PATH specification: Instead, you could edit this file (replace XX accordingly with the appropriate version): However, there is a better way if you'd prefer to only raise the value for webapps and not for sites that aren't already using their own customized php.ini values and are using the default php1_release php version. So, technically, you could edit the php1_release version's php.ini file located here (replace XX with the actual php version, eg 80 for php80): Grep php1_ /usr/local/directadmin/custombuild/nf The php1_release version is what is used for webapps, such as PHPMyAdmin: Grep php._ /usr/local/directadmin/custombuild/nf If the relevant config exists, then the CustomBuild script will copy it to the relevant path of the newly installed script, somewhere in /var/settings for webappsĭirectAdmin supports multiple versions of PHP as set in the CustomBuild nf file: If [ ! -s $ #Build with CB cd /usr/local/directadmin/custombuild/ #!/bin/sh DA_MYSQL =/usr/local/directadmin/conf/nf ![]() Sending outbound email through remote mail server.Autodiscover information for mail clients. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |