🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

How to create custom php.ini file in a Litespeed Web-server

How to create custom php.ini file in a Litespeed Web-server

create the custom php.ini file for a particular domain.

1) Login to your WHM >> Select “Litespeed Configuration” >> Admin Console >> Configuration >> Server >> External App >> lsphp5

2 ) Here, click the ‘Edit’ option

In the “Environment “ section, add “ PHPRC=$VH_ROOT 

In the “suEXEC User “ section, add the account’s username for which custom php.ini has to be enabled and for “suEXEC Group “ section, add the group name of the account.

save the changes.

3) Now proceed as Main >> Litespeed Webserver >> Quick Configuration of PHP suEXEC settings

Here, “Enable PHP suEXEC” should be ‘yes‘.

4) Restart your Litespeed Web server now,

#/etc/init.d/lsws restart

Then create the custom php.ini file in the user’s home directory.

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar

  • How to upgrade litespeed forcefully.

    If you are unable to upgrade litespeed version from old 4.2 to newest, please follow the steps. You need to get into the directory /usr/local/lsws/autoupdate where the old packages...

  • PHP run without timeouts in litespeed

    PHP run without timeouts In some cases, we want PHP script to run as long as possible without any timeouts. Reason: For example, when a php application rebuilds mysql indexes, the process may...

  • How to reset Litespeed password

    How to reset Litespeed password in Linux system Login to the server via SSH access. Go to the directory /admin/misc/; where LiteSpeed installed. If you have install LiteSpeed in /usr/local/ then...