• Hello everyone,

    I would like to start that with that I know about the hunderds of topics/discussions, even nearly whole forums about the issue I have.

    I know this since I have tried every single possibility that I came across and will specify as following;

    I tried creating the php.ini after a wide search and the conclusion that it didnt appeared in the following directories:

    /root/var/www/html/wp-admin
    /root/var/www/html/wp-content
    /root/var/www/html/includes

    I created the php.ini in notepad and tried the following arguments;

    upload_max_filesize=64M

    upload_max_filesize = 64M

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 1000

    I tried to place the php.ini in the following files;

    /root/var/www/html/wp-admin
    /root/var/www/html/wp-content
    /root/var/www/html/includes
    /root/
    /root/var/
    /root/var/www/
    /root/var/www/html

    I tried making a php.htaccess file with the following arguments;

    php_value upload_max_filesize 1024M
    php_value post_max_size 1024M
    php_value max_execution_time 1000
    php_value max_input_time 1000

    I tried editting the Functions.php file and added the following arguments;

    @ini_set( ‘upload_max_size’ , ‘1024M’ );
    @ini_set( ‘post_max_size’, ‘1024M’);
    @ini_set( ‘max_execution_time’, ‘1000’ );

    And that’s where I run out of idea’s

    Could anyone help me out?

    I hope the message formatting is clear to everyone. If not please say so

Viewing 3 replies - 1 through 3 (of 3 total)
  • The php.ini file you need to edit is probably located at /etc/php.ini, or somewhere similar – whatever the path is for your particular server distribution. You can also safely remove any other php.ini files (and the other entries/edits) that you’ve created in the paths you mention above.

    After you edit the main php.ini file directives to suit your needs, you will need to restart apache/httpd for the changes to take effect.

    Thread Starter NLBlackEagle

    (@nlblackeagle)

    Maximum upload file size: 1,000 MB.

    Awesome! The restart did it, I already had the file in place. Thanks ClaytonJames!

    You’re welcome! If you run into problems, you may also need to adjust the post_max_size directive. ‘post_max_size’ may need to be equal to or greater than your upload_max_filesize value.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Minimum upload = 2Mb’ is closed to new replies.