Re: Pear Package Manager Install Fails on Mandrake 9.0
| From: | Benoit des Ligneris | Date: | Sun, 23 Mar 2003 23:02:58 +0000 |
| Subject: | Re: Pear Package Manager Install Fails on Mandrake 9.0 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4389@lists.php.net to get a copy of this message | ||
Hello,
* Richard A. Milewski <ram@rampage.net> [03-03-23 16:28]:
> I'm running a Mandrake 9.0 installation. When I attempt to install the
> package manager, it fails with the message:
>
> 'xml' PHP extension is not installed
>
> Presumably this is some xml extension other than either the XML Parser that
> the package manager itself it attempting to install at the time or the
> "built in" xml extension referred to in the XML Parser documentation.
If your URPMI sources are well configured, as root, type :
urpmi php_xml
This will install XML support for PHP. PHP has been "modularized" in
Mandrake so you have to install shared library for the additional
functionalities. (* In that case, you need
/usr/lib/php/extensions/xml.so
I don't have a 9.0 handy (8.2 or 9.1) system but I end up installing
other RPMs in order to have a comfortable PHP installation :
php-mysql (mysql support)
php-xmlrpc
php-cli (command line interfacce)
php-readline
etc.
If the urpmi command failed, please consult easy urpmi :
http://plf.zarb.org/~nanardon/urpmiweb.php
And select the sources you want so that you can install all the required
packages and try again.
pear is also avalaible as a Mandrake package called php-pear
Ben
> How does one go about adding it to a PHP 4.2.3 production installation
> (i.e. recompiling is not an option) running on Mandrake 9.0?
Well, the easiest solution is to use the SRPMs and recompile them.
Another solution is to wait for the 9.1 version and upgrade you system
for php and apache (
rpm -qa | grep php
php-imap-4.3.0-3mdk
libphp_common430-430-11mdk
php-cli-4.3.1-11mdk
php-readline-4.3.0-1mdk
php-mysql-4.3.0-2mdk
php-gd-4.3.0-2mdk
php-ini-4.3.0-1mdk
php-xml-4.3.0-2mdk
php-xmlrpc-4.3.0-2mdk
apache2-mod_php-2.0.44_4.3.1-2mdk
php-ldap-4.3.0-3mdk
)
--
Benoit des Ligneris Etudiant au Doctorat -- Ph. D. Student
Web : http://benoit.des.ligneris.net/
Mydynaweb Developpe(u)r: http://mydynaweb.net/
Centre de Calcul Scientifique http://ccs.USherbrooke.ca/
OSCAR Symposium-May 11-14 http://oscar2003.ccs.USherbrooke.ca/