Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Max size problem on PHP?

user-image
Question added by Eslam Ismail , full stack developer , wakeb tech
Date Posted: 2017/09/20
Muhammad Omer Javed
by 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

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.