Report any technical problems you discover and discuss solutions.

Installation of Xerte with PHP 5.5 fails

  • Kalle
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 3 maanden geleden - 12 jaren 3 maanden geleden #1646 door Kalle
Dear all,

I have tried to install Xerte Online Toolkit (xertetoolkits_2.1 Version:2.1, 2013-11-04) with PHP 5.5. The installation script checks the version of PHP and reports that it is ok. However, the installation fails and claims that there is no MySQL support.

The reason for that is that the installation script uses
Code:
mysql_connect()
to check whether MySQL support exists. This extension is deprecated as of PHP 5.5.0. ( uk3.php.net/function.mysql-connect ). I've checked the Xerte changelog and I could not find any references to this issue.

Questions
  1. Are there any plans to replace this deprecated extension?


  2. In the meantime, is it possible to change config_setup.php so that only PHP versions > 5.2.0 and < 5.5.0 are valid?

It's a bit confusing at the moment because the installation script claims that PHP 5.5 is OK when it is not.
Laatst bewerkt 12 jaren 3 maanden geleden door Kalle.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 3 maanden geleden #1647 door JohnSmith
Beantwoord door JohnSmith in topic Installation of Xerte with PHP 5.5 fails
Hi Kalle,

Yes, thanks for raising this. We know about it and it is on our to do list but will need quite a wee bit of work to get it working on 5.5+

I'll log an issue to have the current version updated with a check for 5.5+ and try to get that done sooner.

John

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 3 maanden geleden #1685 door tom
Beantwoord door tom in topic Installation of Xerte with PHP 5.5 fails
You still CAN use PHP 5.5. You need to switch off error reporting on deprecated functions. But yes, as John says, it is on our list.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.401 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo