php

  1. lclarke

    PHP LSAPI v8.1 Now Available

    Announcing: PHP LSAPI v8.1 In this release: PHP 8.2 compatibility. RELEASE LOG: [Improvement] Compatible with PHP 8.2. https://www.litespeedtech.com/open-source/litespeed-sapi/download Cheers!
  2. ZorzStudios

    Large downloaded zip files are invalid

    Hello, I'm not too technical but trying to find my way around. My photography business started offering downloads from photo galleries hosted on my website. They range 2-6 GB in size (can't be partitioned). The previous shared hosting wouldn't handle it so I migrated to VPS on a LiteSpeed...
  3. V

    Add child process php errors

    Hi, I am getting these errors in a loop. Can you help? Idk what this means and how to fix it? 2022-05-30 23:48:03.510220 [NOTICE] [82466] [AdminPHP] add child process pid: 82995 2022-05-30 23:48:34.031724 [NOTICE] [82466] sendKillCmdToWatchdog: 'extappkill:82995:-3:0'. 2022-05-30...
  4. M

    Fatal process out of memory on try use V8JS in php script with LSServer

    Case: Centros 7, Cpanel + WHM 102.0.17 , LiteSpeed Web Server Enterprise 6.0.12, PHP + V8JS. On try enter php page with v8js, LS server return 503 error. /var/log/apache2/stderr.log show this error: # # Fatal error in , line 0 # Fatal process out of memory: Failed to reserve memory for new V8...
  5. lclarke

    PHP LSAPI v8.0.1 Now Available

    Announcing: PHP LSAPI v8.0.1 This release consists of bug fixes. RELEASE LOG: [Bug Fix] Address garbled command line parameter showing current running script path. https://www.litespeedtech.com/open-source/litespeed-sapi/download Cheers!
  6. lclarke

    PHP LSAPI v8.0 Now Available

    Announcing: PHP LSAPI v8.0 RELEASE LOG: [New Feature] PHP 8.1 support. [Improvement] Better OpenBSD compatibility. [Misc] Clean up compiler warnings. https://www.litespeedtech.com/open-source/litespeed-sapi/download Cheers!
  7. D

    Autoscaling an LSPHP cluster: How to set up External App PHP handler in Web ADC?

    Hi LiteSpeed community, I'm currently exploring ways of getting autoscaling working for a cluster of LSPHP-only worker instances (no LSWS on these), which would handle PHP requests for one or two permanent LiteSpeed front-ends. My initial idea was to put an ordinary LS Web Server (not ADC) in...
  8. A

    Change Subdomain PHP Version 7.3 Doesn't Work

    Hi, community! I tried to change the PHP version via directory using the code below, but it doesn't work. I noticed that it doesn't just work with php 7.3, all the others: 7.0, 7.1, 7.2, 7.4 and even 8.0 works fine. Someone can say me why? Code used: <FilesMatch...
  9. R

    Only images larger than 1 Mb are being compressed

    Hi all! WP only compresses uploaded images larger than 1 megabyte. How do I tell it to compress every image on upload? All content is user generated. They upload photos that are 2 – 4 Mb to posts and comments. All of this gets compressed by LiteSpeed. But, a lot of the images are screenshots...
  10. 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...
  11. 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!
  12. M

    PHP Swoole + litespeed How to

    PHP Swoole + litespeed How to config
  13. 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...
  14. 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!
  15. 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?
  16. 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!
  17. 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...
  18. 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...
  19. 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?
  20. 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!
Top