Does eZ Publish 4.2.0 have a problem with PHP 5.3.1?

Author Message

Charles Okech

Friday 18 December 2009 7:02:38 am

Hi everyone,

I've been having a problem the last 3 days. I recently upgraded to PHP 5.3.1 with eZ Components installed in the PEAR directory.

All attempts to install eZ Publish 4.2.0 in my Vista Business development machine (Apache 2.2.13) before uploading to the production server (openSUSE 11.1) have failed miserably. I just get the first setup page, no finetune button, but on clicking next, I just get either a blank page or the message:

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

No. It is not a memory_limit problem because my memory_limit in php.ini is set at 256M. It is not a max_execution_time problem either, because I have it set at 3600 seconds in php.ini.

When I downgraded my PHP to version 5.2.11 today, I could be able to install eZ Publish 4.2.0 site without any problem.

Has anyone else experienced this too? Is there a known issue, that I do not know of? I need to know soon, because I am not going to downgrade PHP from 5.3.1 in the production server.

Charles Okech

Friday 18 December 2009 10:05:06 am

Ok, just for the information of anyone who wants to upgrade their PHP to 5.3.1.

I found out that the problem seems to be in PHP version 5.3.1 itself and not eZ Publish 4.2.0.

MySQL Server 5.1 does not let you access databases if you are running PHP 5.3.1. The latest phpMyAdmin version 3.2.4 does not work with this version of PHP too.

Gaetano Giunta

Friday 18 December 2009 1:37:18 pm

Care to give more substance to your claim?

Vista home pro here, running php 5.3.1 since rc0, with mysql 5.1.36 and phpmyadmin 3.2.2.

Not the most stable of platforms, using apache 2.2 and the vc6-compiled binaries, but works a charm for development needs...

Principal Consultant International Business
Member of the Community Project Board

Charles Okech

Friday 18 December 2009 5:34:33 pm

I've searched for a possible cause all over. There does seem to be a backward compatibility problem between MySQL and PHP 5.3.1 if one is using older MySQL clients. Apparently, the PHP mysql_connect() function has dropped support for the OLD_PASSWORD authentification as of 5.3.1.

The new mysqlnd library necessitates the use of MySQL 4.1's newer 41-byte password format. Continued use of the old 16-byte passwords will cause mysql_connect() and similar functions to emit the error, "mysqlnd cannot connect to MySQL 4.1+ using old authentication."

Source: http://au2.php.net/manual/en/migration53.incompatible.php.

I guess I will just have to upgrade my MySQL too :)

Gaetano Giunta

Saturday 19 December 2009 2:17:56 am

can't you just update your mysql password?

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.