-
|
Hello Is Yourls compatible with PHP 8.1 ? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
If there's an error page, there's almost certainly an error in a log somewhere. Follow troubleshooting procedures to find it. You didn't say what kind of server (Apache, Nginx, IIS, Caddy, etc.) this is. Different servers talk to PHP in different ways, and it's possible that that's the problem. (E.g. it's somewhat common to set up Nginx with PHP-FPM over a Unix socket, the path to which changes depending on the PHP version installed.) |
Beta Was this translation helpful? Give feedback.
-
|
Hi dgw I then went to the Extensions for PHP 8.1 and turned on all of these: Yourls is now functioning 100% OK using PHP 8.1 |
Beta Was this translation helpful? Give feedback.
-
|
It seems that YOURLS is working fine on 8.1 so the problem is elsewhere (most likely, bad editing of a file, or files incorrectly uploaded to server) Edit : just read your answer -- all is fine :) |
Beta Was this translation helpful? Give feedback.

Hi dgw
Thank you very much for your super fast reply!!!
Server is Litespeed.
I checked the error log file inside of the Admin folder for Yourls.
It reported the following:
PHP Fatal error: Uncaught Error: Class "PDO" not found in /home/******/zen3.me/includes/vendor/aura/sql/src/AbstractExtendedPdo.php:26
I then went to the Extensions for PHP 8.1 and turned on all of these:
pdo
pdo_dblib
pdo_mysql
Yourls is now functioning 100% OK using PHP 8.1
Case closed.
.