1. Master3395

    MIME type [application/x-httpd-php] for suffix '.php'

    Every now and then i get this type of error in the logs on my OpenLitespeed setup with CyberPanel. Sometimes it shows up for PHP 7.4 and sometimes for 8.1 and 8.2 Not sure why. Php 7.4 is what i mostly use. Any advice? I saw other forum posts, but I have already tried such. MIME type...
  2. Rinart73

    How to install NewRelic PHP agent for OpenLiteSpeed?

    OpenLiteSpeed uses custom php (lsphp) that is located in "/usr/local/lsws/lsphpXX/bin". Because of this if I'm following the standard instructions that NewRelic provides, I fail on the following step because: php is not globally available If I try to replace php with...
  3. H

    php website not working Error - Request Page Not Found

    What is the best way to host php website with default settings on OSL. Getting this error Request Page Not Found. phpmyadmin is working fine. Also .htaccess is there which were working fine with apache2.
  4. dtnetwork

    PHP Memory Limit

    Hello, I'm using the image on OpenLiteSpeed 1.7.16 VULTR that has a web panel to manage it, I use PHP 8.1, for a wordpress site, but Elementro Pro informs me that I have only 128 mb of PHP Memory Limit memory, how can I increase this memory?
  5. K

    The optional module, intl, is not installed, or has been disabled.

    Hello I am kundan sah and my Wordpress Panel Site Health Section The optional module, intl, is not installed, or has been disabled. this typesof problem with php 8.0.14 . and please help to solved this problem.
  6. zestylemon

    How do I to setup Virtual Host-specific PHP using VHost Template?

    How do I to setup Virtual Host-specific PHP using VHost Template on Ubuntu 20.04.1 LTS? I came across these two articles: * * The article gives...
  7. scottnzuk

    PHP Version In Use Contains Known Vulnerabilities v5.6 php - ADMIN PORTAL ONLY.

    So I run a security scan on my website from it has come back with below error message: The version of PHP in use contains a number of known security vulnerabilities which could be used to compromise the system or affect its availability. PHP is a scripting language usually used for...
  8. slowaways

    PHP Backdoor - My WordPress websites was hacked

    I didn't think this was possible, but hackers had enough access to upload a backdoor .php file to various websites hosted via OpenLiteSpeed. They exploited some WordPress vulnerability and uploaded a .php file somewhere containing a backdoor. This file was a backdoor that allowed you to...
  9. S

    OLS not parsing PHP files

    Hello, I have just set up OLS on my Ubuntu 18.04 server. I have compiled PHP from Tools > Compile PHP and it succeeded successfully. I have also created a Virtual Host for a domain, added a script handler for the same (prefix: php handler: lsphp) and added it to the default listener. The site...
  10. I

    vhosts configuration

    OLS v1.6.18 on Ubuntu 18.04 LTS with PHP73 (for Drupal v8 & 9 & phpMyadmin) OLS run as nobody:nogroup I have successfully installed OLS in the "default" configuration - also setup three (3) similar (basic) vhosts (example1.local & example2.local & example3.local) using a simple basic vhost...
  11. R

    Should I switch from nginx?

    Hi all, I'm considering if I should switch from nginx which has been running quite stable for me to be honest. I'm interested in the ability to serve more requests faster, but I'm not sure if my case fits the bill. At my company we run hundreds if not thousands of websites for our clients with...
  12. F

    Upgrading PHP from 7.3.22-1+focal to 7.4

    Hello everybody, I am running a WordPress website using Google Cloud Platform OpenLiteSpeed deployment. Since PHP 7.4 is out, I would like to upgrade. I have tried running sudo apt update and sudo apt upgrade and it resulted in my PHP version updating from v7.3.17-1+focal to 7.3.22-1+focal. How...
  13. bhanusingh

    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...
  14. 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')...
  15. 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...
  16. D

    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...
  17. 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...
  18. 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...
  19. 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...
  20. humzayunas

    Trying to compile php7.4 with gd and webp support

    I am trying to compile own php using this guide Prefix path : /usr/local/lsws/lsphp74 Configure options : --with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring...