after upgrade php 5.1 to php5.3 it is blank now

hi guys,

I upgraded my from php 5.1 to php 5.3, after restarting httpd, all php pages is blank,

I used the following repository
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

and used below command to update
yum --enablerepo=remi update php

the following packages was updated
php-cli 5.3.2-1, php-common 5.3.2-1, php-ldap5.3.2-1,
this package was installed libedit2.11.2
any idea how to fix this

any idea how to fix this?
Who is Participating?
Michael WorshamInfrastructure / Solutions ArchitectCommented:
Using <? phpinfo(); ?> is based on the short_open_tag configuration. Make sure that in your /etc/php.ini file that this is still enabled.

short_open_tag = On

Can you post a copy of what your /var/log/httpd/error_log shows?

Check the apache error log. Also you run script might be incompatible with php 5-3 due use of new reserverd words like goto, namespace, ..
rawandnetAuthor Commented:
what do you mean by running apache script, do you mean updating it? and for php testing i created a test page:
<? phpinfo();?>

it was OK for php5.1 but for php 5.3 it is blank

do you advice to upgrade apache too?
rawandnetAuthor Commented:
thank you so much mwecomputers, i have been trying to fix that for a long time, i am sure many poeple has the same problem but don't have your soution
Michael WorshamInfrastructure / Solutions ArchitectCommented:
Glad I could help :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.