问题
I am stuck at a problem about setup a old TYPO3 6.2 project. I am forced to use PHP 5.3 and I am not able to use MySQLi, TYPO3 throws an error:
1271492607:Database Error: PHP mysqli extension not loaded. This is a must have for TYPO3 CMS!
How can I enable MySQLi now?
Using Ubuntu 16.04, downloaded PHP 5.3 and the MySQL extension from ppa, here
I am thankful for any help
回答1:
Is the php53-mod-mysql
installed and also activated? Create an test.php
with the content <?php php_info(): ?>
to check if the mysqli module is loaded. Otherwise you should check your php.ini, or the /etc/php5/conf.d
respective the /etc/php5/mods-available/
directory if the module is available.
You can also try to run the command php5enmod mysqli
and after that restart your Apache (service apache2 restart
) and try again.
来源:https://stackoverflow.com/questions/45352100/typo3-6-2-php-5-3-mysql-issue