简体   繁体   English

TYPO3 6.2-> PHP 5.3-> MySQL问题

[英]TYPO3 6.2 -> PHP 5.3 -> MySQL issue

I am stuck at a problem about setup a old TYPO3 6.2 project. 我陷入了有关设置旧TYPO3 6.2项目的问题。 I am forced to use PHP 5.3 and I am not able to use MySQLi, TYPO3 throws an error: 我被迫使用PHP 5.3,但无法使用MySQLi,TYPO3引发错误:

1271492607:Database Error: PHP mysqli extension not loaded. 1271492607:数据库错误:未加载PHP mysqli扩展名。 This is a must have for TYPO3 CMS! 这是TYPO3 CMS的必备功能!

How can I enable MySQLi now? 我现在如何启用MySQLi

Using Ubuntu 16.04, downloaded PHP 5.3 and the MySQL extension from ppa, here 使用Ubuntu 16.04从此处下载ppa的PHP 5.3MySQL扩展

I am thankful for any help 我很感谢你的帮助

Is the php53-mod-mysql installed and also activated? 是否已安装并激活了php53-mod-mysql Create an test.php with the content <?php php_info(): ?> to check if the mysqli module is loaded. 创建内容为<?php php_info(): ?>test.php ,以检查mysqli模块是否已加载。 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. 否则,如果模块可用,则应检查php.ini或/etc/php5/mods-available/目录中的/etc/php5/conf.d

You can also try to run the command php5enmod mysqli and after that restart your Apache ( service apache2 restart ) and try again. 您也可以尝试运行命令php5enmod mysqli ,然后重新启动Apache( service apache2 restart ),然后重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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