php

  1. G

    Best PHP handler for LSWS

    Hi all i am new to LSWS and i am configuring some settings. I have a problem that wordpress wp-admin is very slow with LS cache plugin so after some research some suggested that i have slow php. When i turn of the LS Cache wp admin is very fast. So i had enabled suphp handler and i changed it to...
  2. lclarke

    PHP LSAPI v7.9 Now Available

    Announcing: PHP LSAPI v7.9 RELEASE LOG: [Tuning] Process manager now keeps forked child processes alive for longer based on load, reducing process manager overhead on busy setups. https://www.litespeedtech.com/open-source/litespeed-sapi/download Cheers!
  3. M

    PHP Swoole + litespeed How to

    PHP Swoole + litespeed How to config
  4. lclarke

    PHP LSAPI v7.8, Ruby LSAPI v5.1, and Python LSAPI v1.7 Now Available

    Announcing: PHP LSAPI v7.8 Ruby LSAPI v5.1 Python LSAPI v1.7 RELEASE LOG: [Bug Fix] Make single worker non-prefork mode work properly. (RUBY LSAPI ONLY) [Bug Fix] Correct inaccurate children process tracking. [Tuning] Update log message with more information when possible: Timestamp, UID, PID...
  5. lclarke

    PHP LSAPI v7.7 Now Available

    Announcing: PHP LSAPI v7.7 In this release: a security update, and more! RELEASE LOG: [Security] Fix a missed buffer boundary check. [Improvement] Include UID information in some log entries. https://www.litespeedtech.com/open-source/litespeed-sapi/download Cheers!
  6. L

    Can't install php-pgsql

    Hello, I am trying to install php-pgsql via apt-get install php-pgsql but it gets installed to /etc/php/7.4/mods-available instead than /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/ How can I install php-pgsql so that it gets recognized by the litespeed PHP installation?
  7. J

    LSCachec for normal PHP websites

    Hello, what is the best way to enable LSCache for normal PHP websites or for which LSCache plugins are not available? Thanks!
  8. J

    PHP detached mode

    How to check if PHP detached mode is enabled? I am using LSWS along with cPanel in a shared hosting environment. From wiki I read that it will be enabled by default for hosting environment. But on checking the WebAdmin console of the server, the detached mode is "not set" LSWS version is 5.4.3...
  9. J

    Apcu cache not working

    Hello, I have installed and enabled apcu cache for lsphp73. I have a virtual host which is running on lsphp 73 and when I check on apcu dashboard there are no hits found eventhough it is showing as enabled. Please let me know if there is anything else needed to be done in order for apcu to get...
  10. sibipaul

    How to Disable some PHP Function in Lite Speed Ent?

    Hello, Recently I have Migrated my Invision Community Forum Software to My New Litespeed Ent Server. I'm getting a warning in the dashboard every time I logged in. Kindly Help me, how to solve this?
  11. J

    use PHP7.4

    I have installed PHP74 on the server from repo other than LSPHP. I would like to set up a virtual host to use PHP74. How can I set this up using external app or any other method? NB: I am using LSnative admin panel to setup virtual host. Thanks in advance!
  12. ProactiveCode

    Limit simultanious PHP requests accross all virtual servers

    I'm using a 4gb / 2 core Digital Ocean VPS to manage around 30 low bandwidth sites. I've recently installed a Wordpress security plugin (Wordfence), in each installation, so I can use their central dashboard to monitor the security of all sites. The issue I'm having is that when this...
  13. sibipaul

    How to Optimize Litespeed Tuning and PHP Tuning for WordPress in Cyber Panel?

    Sir, Recently I Have Installed Cyber Panel to One of My Clients Website, as Per his Request. His Server is Cent OS 7 + AWS + Cyber Panel Litespeed + WordPress. I would like to Deliver him the best Optimized website. I can see a setting inside the Cyber Panel - Tuning There, Two Options...
  14. lclarke

    PHP LSAPI v7.2 Now Available

    Announcing: PHP LSAPI v7.2 In this release: Improved direct logging, bug fixes. RELEASE LOG: [Improvement] Added timestamp when directly logging stderr to file. [Bug Fix] Fixed LSAPI protocol corruption when PHP scripts fork child process. (reported by CloudLinux) [Big Fix] Fixed uninitialized...
  15. WebHostPro

    Couple quick questions about Litespeed and cPanel

    1. When adding Litespeed php72-php-litespeed to PHP via the Easy Apache in WHM does that also add the Apache version or is this just for something in PHP, or does need to be there for the Apache Litespeed to work with PHP? 2. How do you install just the plugin for WHM, the page only has a...
  16. tobiasegli

    Virtualmin with LSWS on centOS 7

    Hello everyone I'm currently setting up my Webserver and decided to also test LiteSpeed. I'm using Virtualmin as my control panel. From there I can configure my virtualhost's which get saved inside the httpd.conf. With the installation of Virtualmin alot of other programs and configurations...
  17. T

    PHP header() being ignored after switching to LiteSpeed webhost

    After moving my websites to a webhost (shared) which uses LiteSpeed it seems PHP header is ignored. ... I have tried these variations: $s = "HTTP/1.1 404 Not Found"; $s = "HTTP/1.0 404 Not Found"; $s = "Status: 404 Not Found"; $s = $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found'; followed by...
  18. soaringeagle

    after doing litespeed php compile database won't connect

    after doing the php compile (debugging tried use previous config and use defaults) all sites went down with unable to connect to database errors i use mariadb
  19. M

    Cache Warmer? (PHP)

    Hi Has anyone got a PHP script I can run with cron to warm the ls cache? Screaming frog works well for warming the cache, but I need something free I can automate Thanks Dave
  20. S

    403 Forbidden - CURL Request From Server IP

    Hello, I am facing a problem, I have a file named exec.php, I am executing this file from another PHP file functions.php (On Same Server and Same Server's IP) via CURL and getting response as JSON. So it works pretty well, after 24 hours or sometimes more file starts showing 403 error. And if i...
Top