Advance

Tutorial php.ini Settings after install Litespeed

Tutorial php.ini Settings after install Litespeed
0
(0)

Speeding up site and optimizing website speed is the most important issue that users are looking for. The reason for this is that, firstly, users are able to access the site more quickly, and secondly, search engines consider this as a special advantage for the site. Various solutions have always been introduced to increase speed in site. One of these ways is to use litespeed webserver and better site cache management. That’s why we’re In this article, we will teach you how to add php.ini Settings after install Litespeed. Also, you can visit the packages available in Eldernode if you wish to purchase a Linux VPS Hosting.

How to Add php.ini Settings after install Litespeed

After install litespeed, link the previous php.ini file to php.ini Lightspeed so that the previous settings do not change.

Using the php –ini command, find the current php.ini path and symlink it as follows.

ln -s /usr/local/php56/lib/php.ini /usr/local/lsws/lsphp5/lib/php.ini

The php.ini Lightspeed path for php7 is as follows:

/usr/local/lsws/lsphp7/lib/

At the end, reset the Lightspeed service by the following command:

Service lsws restart

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day