I've installed PHP 4.3.4 from Mandrake's RPM's and it (mostly) works.
However, I'm having some problems with a CMS package that I'm testing,
and they all relate to PEAR and being unable to find required files,
like Date.php for example, which is one of the PEAR modules. Upon
viewing the phpinfo() for my server (see below) I see that the RPM
installation of PHP uses both '--with-pear ...' and '--without-pear'.
The last line of the configure section is '--without-pear' so I'm
assuming that overrides the earlier --with-pear (?) and may be the
source of my errors. I don't know how to fix it though. Since I didn't
install from binaries, I don't have access to the configure file -- or
do I, and I just don't know where to find this info? I've searched the
whole hard drive for configure and I don't have any. I've never had to
override settings for RPM installs, and don't know if it's possible or
how to do it. The rpm and urpmi commands both show php and pear are
installed, but I can't get my CMS to work properly and I'm betting this
is why. Any help with this would be much appreciated. TIA.
Configure Command:
'./configure' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--sharedstatedir=/usr/com'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--enable-discard-path' '--disable-force-cgi-redirect' '--enable-shared'
'--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic'
'--enable-inline-optimization' '--enable-memory-limit'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php'
'--with-pear=/usr/share/pear' '--enable-magic-quotes'
'--enable-debugger' '--enable-track-vars' '--with-exec-dir=/usr/bin'
'--with-versioning' '--with-mod_charset' '--with-regex=php'
'--enable-track-vars' '--enable-trans-sid' '--enable-safe-mode'
'--enable-ctype' '--enable-ftp' '--with-gettext=/usr' '--enable-posix'
'--enable-session' '--enable-sysvsem' '--enable-sysvshm' '--enable-yp'
'--with-openssl=/usr' '--without-kerberos' '--with-ttf'
'--with-freetype-dir=/usr' '--with-zlib=/usr' '--with-zlib=/usr'
'--with-zlib-dir=/usr' '--without-pear'