Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Max size problem on PHP?

user-image
Question ajoutée par Eslam Ismail , full stack developer , wakeb tech
Date de publication: 2017/09/20
Muhammad Omer Javed
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?