ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Max size problem on PHP?

user-image
تم إضافة السؤال من قبل Eslam Ismail , full stack developer , wakeb tech
تاريخ النشر: 2017/09/20
Muhammad Omer Javed
من قبل Muhammad Omer Javed , QS-Engineer , ABV Rock Group

PHP has several configuration options to limit resources consumed by scripts. By default, PHP is set to allow uploads of files with a size of 2MB or less.

Try increasing the following values in php.ini, for example:

memory_limit = 32M upload_max_filesize = 24M post_max_size = 32M

There are multiple ways to edit php.ini on your DV server. This KnowledgeBase article outlines how to do so:

After making these changes, you may need to restart Apache. You can do so through Plesk or via SSH with the following command:

/etc/init.d/httpd restart

المزيد من الأسئلة المماثلة