WAMP Download large file

I have a file size of 2.24 MB to upload to the database, it displays

No data was received for import. Either the file name was not provided, or the file size exceeded the maximum size allowed by your PHP configuration. See FAQ 1.16.

Iam using a WAMP 2.2 server with supported versions

Apache 2.2.21
PHP 5.3.8
MySQL 5.5.16

I made the following changes:

C:\wamp\bin\apache\apache2.2.6\bin\php.ini 
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M 

C:\wamp\bin\mysql\mysql5.0.45\my.ini:

max_allowed_packet = 200M 

Can someone suggest me the ability to upload a large file.

+5
source share
4 answers

THIS WHAT HAS TO DO!

Go to c: \ wamp \ alias \ phpmyadmin.conf

NOW set php_admin_value upload_max_filesize to 1024 M

Bye!

+8
source

Your problem is that you changed the invalid PHP.ini file. This is a WAMP trick.

WAMP , .ini - . .ini, WAMP php.ini . , "" ( " " ). WAMP.

, .

+2

, .

httpd ( Apache, wamp), , . , wordpress .

:

.../wamp64/alias/

, , , . adminer.conf phpmyadmin.conf. , .conf, wordpress.conf, , . :

Alias /wordpress "c:/wamp64/www/wordpress/"

<Directory "c:/wamp64/www/wordpress/">
    Options Indexes FollowSymLinks
    AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
      Deny from all
      Allow from localhost ::1 127.0.0.1
    </IfDefine>

    # Maximum allowed size for uploaded files PHP.
    # http://php.net/upload-max-filesize
    php_value upload_max_filesize 20M
    php_admin_value upload_max_filesize 128M

</Directory>`

php_value upload_max_filesize 20M - , php php_admin_value upload_max_filesize 128M, phpMyAdmin.

, , php.ini , .

+1

C:\wamp64\bin\apache\apache2.4.23\bin ( Apache, ) upload_max_filesize 20M post_max_size 20M php.ini. wamp- Mow ( wamp ) , php.ini C:\wamp64\bin\php\php7.0.10 ( php, ) . .

0

All Articles