Votre configuration php.ini rapidement
Si vous avez l'habitude de repartir de zéro avec un container php lors de l'installation d'une web application ou que vous souhaitez mettre à jour votre configuration PHP, je peux vous proposez un cheatsheet en ligne de commande sur votre php.ini
.
sed -i '/^ *memory_limit/s/=.*/= -1/' /etc/php/7.4/apache2/php.ini
sed -i '/^ *post_max_size/s/=.*/= 10000M/' /etc/php/7.4/apache2/php.ini
sed -i '/^ *upload_max_filesize/s/=.*/= 10000M/' /etc/php/7.4/apache2/php.ini
sed -i '/^ *max_file_uploads/s/=.*/= 10000/' /etc/php/7.4/apache2/php.ini
sed -i '/^ *max_execution_time/s/=.*/= 360/' /etc/php/7.4/apache2/php.ini
sed -i '/^ *max_input_time/s/=.*/= 360/' /etc/php/7.4/apache2/php.ini

MarquandT
Ethical Hacker ~ Web Developper ~ File Hosting Provider ~ Crypto Enthusiast ~ Automation Expert Bitcoin donation: 32Uu4NKGnxSPC7UukYXVyRHwbppbQpKVki