Search results

  1. 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...
  2. 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...
  3. 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
  4. 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...
  5. 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...
  6. 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