-2

I am trying to setup a TYPO3 6.2 project and i am forced to use PHP 5.3 to get this run.

Using:

  • Ubuntu 16.04 LTE.
  • Apache2

Problem:

  • i downloaded PHP 5.3 from SergeyD PPA

  • TYPO3 gives me this Error:

    #1271492607: Database Error: PHP mysqli extension not loaded. This is a must have for TYPO3 CMS!

  • I downloaded php53-mod-mysql from SergeyD PPA it says that includes mysqli as well.

  • I dont have any php.ini inside my downloaded/etc/php53/apache2. I thought a solution could be to download the php.ini from official php.net for the same version, so I did than. cp the php.ini inside my /etc/php53/apache2 to enable mysqli But seems like that didn't worked.

I am checking that with a phpinfo(); This is the output:PHP Output

Question:

  • How can I enable MySQLi in this scenario.

  • Other ways to reach goal? Some Workarounds? (I am new in the WebDev. scene atm)

Daniel
  • 6,916
  • 2
  • 36
  • 47
DenizD
  • 1
  • 4

1 Answers1

1

I solved a similar problem with the intl extension for php.

How to install PHP intl extension in Ubuntu 14.04

The Ubunto version doesn't matter in this scenario. You should try the solution with the mysqli extension.

Im not sure, btu you could try:

sudo apt-get install php5-mysqli
Spears
  • 2,102
  • 1
  • 17
  • 27