php

  1. B

    How do I purge cahce for some custom data that I show ?

    I have a Digital Ocean Server, with openlitespeed droplet installed on it. I also have installed the litespeed plugin in my WordPress install. This is a custom woocommerce project where people come and buy meetings which are time-sensitive events. I am facing issues with able to cache my code...
  2. K

    PHP errors are not displayed

    Hello, I installed OpenLiteSpeed 1.6.14 a day ago and I am experiencing an issue with the PHP errors not displaying. In addition to that, no error messages are logged in any of the server level or virtual host level logs. I tried using: ini_set('display_errors', '1')...
  3. A

    I can't do shell_exec using PHP

    Hello, I'm new here. I've just created a new Wordpress OpenLiteSpeed Droplet on DigitalOcean. When I use PHP to call a python script using shell_exec it doesn't show anything. I've checked the php.ini file and looked for disable_function but there isn't shell_exec there. Please let me know how...
  4. jwbjnwolf

    AddType for parsing PHP in xml files not working

    Hi, I have some RSS feeds being generated from a PHP array. I a while back moved my site to my own server where I run OpenLiteSpeed (reverse proxied through Nginx). My feeds worked fine on the CloudLinux LiteSpeed hosting I used before, with PHP being parsed inside of XML files using this...
  5. L

    Example vhost - Getting upload progress bar to work

    In the Example vhost you have a pop-up that let's us test file upload capabilities. The upload itself works fine but I cannot get the progress bar to work. I get the error: "ERROR -- uploadProgress module not enabled?" At first I thought this had to do with the uploadprogress module for PHP...
  6. A

    php7.2-common and php7.2-readline listed for installation for all PHP 7.x versions

    Hi! I'm new to the OpenLiteSpeed world :) Installed the server on fresh installation of Ubuntu server 18.04 without issues, but when tried to install PHP 7.4, I noticed the above PHP 7.2 packages listed for installation after typing the apt-get install lsphp74 command. This is the output I'm...
  7. ltynk

    Proper way to upgrade PHP version

    Hi, I run OLS on the Ubuntu 18.04 (from cloud image). Is there any proper way how to upgrade PHP version? Now default is 7.3 but I would like to have 7.4. I know I can install lsphp74 package but changes in configuration of server seems to be not working. Should I wait to some newer version of...
  8. humzayunas

    Trying to compile php7.4 with gd and webp support

    I am trying to compile own php using this guide https://openlitespeed.org/kb/build-custom-php-for-openlitespeed/ Prefix path : /usr/local/lsws/lsphp74 Configure options : --with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring...
  9. G

    Equivalent to header('X-Accel-Buffering: no') in Openlitespeed to disable output buffering?

    Hello, i am moving from NGINX to Openlitespeed. On NGINX to stream a file (php readfile()) i could use header('X-Accel-Buffering: no'); to disable output buffering. How would i do this on Openlitespeed? is there a setting or a special header? Any help is appreciated.
  10. J

    Openlitspeed along with MySQL and not MariaDB

    Hi everyone, I want to install Openlitespeed on Ubuntu 18.04 with MySQL (not MariaDB). I tried to find some information on this but without success. It seems like Openlitespeed work only with MariaDB. The reason for this is I have some php app which have some compatibility issues whith MariaDB...
  11. B

    Php72 - pdosqlsrv install help

    I want to install php_pdosqlsrv on the server but couldn't find enough resources. lsphp 72 board can you help?
  12. V

    PHP UPLOAD SSL HTT2 Error net::ERR_CONNECTION_CLOSED, ERR_SPDY_PROTOCOL_ERROR

    Hi, I have installed SiberianCMS, without problems, I can upload files without the SSL certificate perfectly, when I enable SSL I can no longer upload files from the program. OpenLiteSpeed 1.4.28. PHP 5.6.32. Centos 7 Minimal. Error with: http/1.1 and http/2 Log Server: Error...
  13. V

    PHP Commands

    How can I execute: /usr/local/lsws/lsphp56/bin/lsphp -d memory_limit=512M -f /home/domain/public_html/cron.php >> /home/domain/public_html/var/log/cron.log 2>&1 options -d memory_limit=512M -f no exist in lsphp Thks,
Top