How to Increase memory limit php Ubuntu

1. Open the php.ini file

2. Find the line that reads “memory_limit”

3. Change the value to the desired amount of memory

4. Save the file and restart the web server

5. Verify the change by creating a phpinfo.php file with the following code:

6. Open the file in a web browser and look for the “memory_limit” value. It should now reflect the new value.

How to Increase memory limit php Ubuntu

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Jassweb, Rai Chak, Punjab, India. 143518