TYPO3 6.2 -> PHP 5.3 -> MySQL issue

大憨熊 提交于 2019-12-12 06:45:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!