Summary
This article will explain how to modify the total amount of RAM that can be used by your PHP applications.
Generating a new php.ini file
- Login to your AKLWEB Host Plesk Account
- Under Programming click on the PHP Config icon.
- Click the Save Changes button
Using the File Manager
- Locate the Files section
- Click the File Manager icon.
- If prompted choose Web Root, otherwise navigate to the public_html folder.
- Right click the php.ini file
- Choose either Edit or Code Edit
- Click the Edit button.
- Search for memory_limit, without the quotes.
You can press Control + F on your Windows PC or Command + F on your Mac to use your browsers search function.
- Enter the new memory limit for your php applications.
It is not recommend to increase this limit past 128 MB.
- Click Save Changes
Using an FTP Client
- Connect to the server with your FTP client.
- FTP – Uploading the website
- Navigate to the public_html folder.
- Download the php.ini file.
- Open the file with any text editor.
- Search for memory_limit, without the quotes.
- Enter the new memory limit for your php applications.
It is not recommend to increase this limit past 128 MB.
- Save the file.
- Upload the file using your FTP client.