PHP Problem
Guys, I have PHP 5.1.6 installed in a RHEL 5 server. I need to run a PHP file with DOMDocument class in it.
The following error comes out.
Fatal error: Class 'DOMDocument' not found in line 4......
I checked other forums and from the look of it, they say I need to install php-xml. (What the heck!)
The server I'm using does not have internet to it. But I can download and put any heck of a file to the server.
I downloaded the RPM for php-xml and tried
It gives out the following output:
So I got php common rpm and got the following output when trying to install;
What I need to do it use the DOMDocument Class in my php. Tell me the way to get that working.
Thanks.
Guys, I have PHP 5.1.6 installed in a RHEL 5 server. I need to run a PHP file with DOMDocument class in it.
The following error comes out.
Fatal error: Class 'DOMDocument' not found in line 4......
I checked other forums and from the look of it, they say I need to install php-xml. (What the heck!)
The server I'm using does not have internet to it. But I can download and put any heck of a file to the server.
I downloaded the RPM for php-xml and tried
Code:
rpm -ivh php-xml-5.1.6-23.2.el5_3.asp121.i386.rpm
It gives out the following output:
Code:
warning: php-xml-5.1.6-23.2.el5_3.asp121.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
error: Failed dependencies:
php-common = 5.1.6-23.2.el5_3.asp121 is needed by php-xml-5.1.6-23.2.el5_3.asp121.i386
So I got php common rpm and got the following output when trying to install;
Code:
rpm -ivh php-5.1.6-23.2.el5_3.asp121.src.rpm
warning: php-5.1.6-23.2.el5_3.asp121.src.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4
1:php warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
.
.
.
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
.
.
.
What I need to do it use the DOMDocument Class in my php. Tell me the way to get that working.
Thanks.




my fedora is not booting up properly after i update my kernel 
