I running PHP in my fedora 5 opearting system. I have PHP version 5.1.6 and once i load php info page it,s mention that xml reader and xml writer alreay disable .so how to enable these two option. At the end of configure command section it has these things ('--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter') How i enable Xml reader and writer. Please help me Thank you
Uncomment these 2 lines in your php.ini file. extension=php_xmlreader.dll extension=php_xmlwriter.dll Code (markup): And restart Apache.
Ignore the above post, that's for a windows installation of PHP. You'll need to reinstall/re-compile PHP. As you're on fedora, you should be able to update it using yum update php If that doesn't work, (fedora might be issuing an old PHP RPM), then you'd need to either recompile it from source, or get a better RPM. Fedora have released PHP 5.2.2 for FC 7 - http:// rpm.pbone.net/index.php3/stat/4/idpl/4792518/com/php-5.2.2-3.i386.rpm.html You could try installing this (as root): rpm -Uvh ftp:// mirror.switch.ch/mirror/fedora/linux/releases/7/Fedora/source/SRPMS/php-5.2.2-3.src.rpm Jee P.s. remove spaces
Hello guys Thank you for your advice Jeewhizz .Ima using fedora 5,but i used http:// rpm.pbone.net/index.php3/stat/4/idpl/4792518/com/php-5.2.2-3.i386.rpm.html link to downloads rpm .once I downloaded php-5.2.2-3.i386.rpm file.I used below command to update my rpm package rpm -Uvh php-5.2.2-3.i386.rpm but it,s gave error message. After that i updated perc.When I tired to installed php-cli it asked about php-common package,but i cant update php-common package because it give below message once i try to installed php-common package please help me
You are going to need to download all the related RPM's into a directory i.e. php-pear-5.2.4-1 and so on. Then do a rmp -Uvh *.rpm which should fix it. If you don't know what you are doing, you should really get someone in who can.