Recent content by Cardiff-Paul

  1. C

    \n in top left corner of index pages

    As attached screenshot, with OpenLiteSpeed 1.7.19 there is a stray \n in the top left corner of index pages. This maybe fixed in 1.8.0 which I know is imminent.
  2. C

    [Closed] Unwanted redirecting to https with hostname but not with IP address

    OK, it's sorted - so you can ignore this whole thread! I had set the hostname to "dev" because it's a web dev server and I tend to use short names on my local network. However it seems that browsers look for .dev extensions and redirect them automatically to https. Even though "dev" != ".dev"...
  3. C

    [Closed] Unwanted redirecting to https with hostname but not with IP address

    I have now downloaded and compares the httpd_config.conf files from both servers. The only differences are the serverName (expected), the memory limits for CGIRLimit (higher on the new one) and the memory limits for railsDefaults, wsgiDefaults and nodeDefaults (all 2047M on the old server and 0...
  4. C

    [Closed] Unwanted redirecting to https with hostname but not with IP address

    EDIT: OK, it's sorted, so you can ignore this whole thread! If an admin wants to delete it that's fine. I have completed a fresh installation of OpenLiteSpeed with various PHP versions on CentOS 7 on physical hardware. This is set up the same as an existing installation also on CentOS 7 in...
  5. C

    Linux versions that support lsphp70

    I decided to stick with CentOS 7 in the end. Although lsphp70 is available in Ubuntu 18.04, several other parts such as lsphp70-gd and lsphp70-xml aren't, whereas they are for CentOS 7. Indeed even versions down to lsphp53 are available. I did have a couple of issues with CentOS 7 on the...
  6. C

    Linux versions that support lsphp70

    Ubuntu 18.04 sounds like a good option although it is still only supported until 2023. So I'm not sure whether there is any advantage over CentOS 7 (it will probably come down to whichever is easier to install on my hardware). I would certainly prefer not to have to attempt custom builds as I...
  7. C

    Linux versions that support lsphp70

    I currently have a HyperV local development server running CentOS 7 with OpenLiteSpeed set up for lsphp versions 70 to 82. I am supporting some legacy code that will not (currently) run on anything above PHP 7.0, hence this requirement. I am looking to rebuild this on a physical machine (which...
  8. C

    PHP error: Using ${var} in strings is deprecated

    Excellent, thank you for taking care of this and forwarding it onto the dev team.
  9. C

    PHP error: Using ${var} in strings is deprecated

    Thank you for looking into this. I have just done a few tests. It is nothing to do with web admin. The error occurs if I view a URL with a .htaccess file that specifies PHP 8.2 (as below) and no index.php file, so the server returns a HTML list of the files and folders. RewriteEngine On...
  10. C

    PHP error: Using ${var} in strings is deprecated

    Latest version of OpenLiteSpeed, I get this error: PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /usr/local/lsws/share/autoindex/autoindex_include.php on line 482 I have had this with the last couple of versions too. Just changing the one line as suggested...
  11. C

    Updating OLS to v1.7.17 on CentOS 7

    I have found the answer. Reload the repo cache with: yum makecache then run: yum update openlitespeed
  12. C

    Updating OLS to v1.7.17 on CentOS 7

    I have two installations on CentOS 7 (local dev systems) installed from the repository as detailed here https://openlitespeed.org/kb/install-ols-from-litespeed-repositories/ WebAdmin says the new version is available but "yum update openlitespeed" doesn't offer the new version. Will this catch...
  13. C

    "Configure PHP by Directory or File" documentation suggested change

    Thank you, and sorry for taking so long to respond. A per-folder basis using .htaccess is much tidier and also means I can quickly change versions by editing the file and restarting the server. A slight change though, I added .* to the end of the RewriteCond so URLs such as test.php/123 would...
  14. C

    "Configure PHP by Directory or File" documentation suggested change

    I set up a local development server with multiple PHP versions following the information here https://openlitespeed.org/kb/setup-per-directory-file-php/ However when using specific PHP versions this way I had problems with pages loading - missing CSS and very slow speed. Developer tools in...
Top