Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Загрузка пользовательских файлов

Recommended Posts


Нужна возможность загружать пользователем файлы 5-10Мб на странице продукта, через опцию загрузка файлов, но не получается загрузить файл больше 2Мб.

На странице выдает ошибку Загружаемый на сервер файл превышает параметр upload_max_filesize в php.ini!

В php.ini ограничение 999Мб

magic_quotes_gpc = Off;

register_globals = Off;

default_charset = UTF-8;

memory_limit = 256M;

max_execution_time = 18000;

upload_max_filesize = 999M;

safe_mode = Off;

mysql.connect_timeout = 20;

session.use_cookies = On;

session.use_trans_sid = Off;

session.gc_maxlifetime = 12000000;

allow_url_fopen = on;

;display_errors = 1;

;error_reporting = E_ALL;

Что и где нужно поправить, для решения проблемы?

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.