简体   繁体   中英

TYPO3 6.2 -> PHP 5.3 -> MySQL issue

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM