Can you tell me how can I upgrade it without reinstall it? But it's already php 5.0:[root@localhost php-5.1.1]# rpm -qa | grep php php-odbc-5.0.4-10 php-mcrypt-4.3.9-3.9.1 php-5.0.4-10 php-ldap-5.0.4-10 php-mysql-5.0.4-10 php-pear-5.0.4-10
Then write a test file test.php with the following content<?php $dom = new DOMDocument('1.0', 'iso-8859-1'); ?>if it runs without error,the problem was your program.
But it's already php 5.0:[root@localhost php-5.1.1]# rpm -qa | grep php
php-odbc-5.0.4-10
php-mcrypt-4.3.9-3.9.1
php-5.0.4-10
php-ldap-5.0.4-10
php-mysql-5.0.4-10
php-pear-5.0.4-10
$dom = new DOMDocument('1.0', 'iso-8859-1');
?>if it runs without error,the problem was your program.