WordPress knowledge sharing

How to modify php.ini and memory_limit on the pagoda panel?

Sometimes you need to modify the memory_limit value in php.ini. The default value is 128M. If it is not enough, you can change it to 256M or 512M. Previously, the command line panel needs to be manually modified in php. ini. Since the pagoda panel has been modified, it has become very simple. In order to make it easier for people to use different environments, Lao Wei explained the two methods of modification.

Lao Wei suggested that the pagoda panel is suitable for novices and Xiaobai to build a website, and supports Linux and Windows systems, Click to go directly to the pagoda website Register an account and get a free professional edition gift package of ¥ 3188 (only 1188 yuan for permanent authorization of the professional edition). New users can enjoy a professional edition experience of 0.99 yuan for 7 days.
Recommended selection of pagoda panel Alibaba Cloud Tencent Cloud The server
For more information, see Special topic of pagoda panel
Click to view NetEase Cloud Classroom "Introduction to Pagoda Linux Panel for Novice"

Pagoda panel modification php.ini and memory_limit

It is easy to modify the above parameters in the pagoda panel. In the panel background>Software store>Installed, find and enter the currently used php version, and click the Settings button on the right.

 Pagoda panel modification php.ini and memory_limit

Click "Modify Configuration" in the php management dialog box. Change the memory_limit on the right to an appropriate value, such as 512M, and save it.

If you are familiar with the command line, you can also click the "configuration file", that is, the php. ini file, search for memory_limit, and modify the value.

It is not over yet. Click "Service">Restart or reload the configuration.

Modify php.ini and memory_limit in the directory

The path of the php.ini configuration file in the pagoda panel:/www/server/php/74/etc/. 74 represents the current php version. For example, if you use php 7.3, it is 73.

Open php. ini in the directory, search and find memory_limit=128M, change it to the value you need, and restart php.

Like( three )
Article name: How to modify php. ini and memory_limit on the pagoda panel
Article link: https://www.vpsss.net/28780.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.