1 (edited by dmontpe 2010-07-29 16:01:20)

Topic: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

Hi. I upgraded my CentOS 5.5 server to PHP 5.3 from remi repository and now some (not all) PHP files will load as blank pages. Any idea what the problem could be? I have no idea where to look.

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

> I have no idea where to look.
In the apache error.log.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

Thanks for the reply. Neither the general httpd log nor the virtual host log keep any record from the moment I try to access those pages. I set loglevel to debug and tried again and still nothing!

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

Hard to help without more information.

Check (in php.ini)

error_reporting = E_ALL | E_STRICT
log_errors = On

And check that your app doesn't change this values.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

Still nothing (though my Joomla website has like a ten-page error message!) I've checked the file and I don't think it changes any settings.

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

OK. I found the problem. The files I was trying to open use Ioncube loader and the version I have installed doesn't support PHP 5.3. They say they have a beta version that supports it, but I'd rather go back to an earlier version of PHP instead of using a beta version of their loader.

Now, that brings me to my next question: Is there PHP 5.2 packages in your repository? I want to go back but not to 5.1 which is in the CentOS repo.

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

php 5.2 package are available in the archives folder.
(so no yum, only manual installation)

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

Thanks. I'll do the install and will mark the thread solved if it works.

Re: [SOLVED] Some php pages won't load after upgrading to PHP 5.3

I finally got PHP 5.2 from the CentOS testing repo. Thanks again for your time.