Hi,
I got problem in Yii Website, It happen after I upgrade my PHP 7.3 to PHP 8.0. Other website is Ok, but not Yii… I use Windows Server, IIS.
Error Message :
CDbConnection failed to open the DB connection
Server 500 error
I already check in php.ini to include :
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll
And do this (It Works)
mysql_connect(‘localhost:3306’,‘root’,‘root’);
mysql_select_db(‘dbname’);
I already use iisreset on command prompt or recycle the app pools many times.
I can see the phpinfo.php but not the index.php…
is there anything that I should try ? What should I do…
Thank you.