Help with getting PHP to see Pear.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I just installed SuSE 10 and I am having a problem with my phpnuke site and my maia site. PHPNUKE gives me this error...

*Warning*: main(db/mysql.php): failed to open stream: No such file or directory in */srv/www/htdocs/bse/db/db.php* on line *53*

*Warning*: main(): Failed opening 'db/mysql.php' for inclusion (include_path='/usr/share/php') in */srv/www/htdocs/bse/db/db.php* on line *53*

*Fatal error*: Cannot instantiate non-existent class: sql_db in */srv/www/htdocs/bse/db/db.php* on line *86

But if I copy my old php.ini from 9.1 it works just fine.

One maia, it says that it not install, I took a look at my phpinfo and I did see this....

*'./configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux'

How can I get php to see pear, it is installed. I have install modules with pear for maia and horde but neither seem to see pear.

Also I know that since 4.4.0 BC Math library is included, maia saying it not.


Payne

PEAR *FAILED*: Not installed. The PEAR extension is required by several other PHP extensions that Maia needs. See this page <http://pear.php.net/> for more information about downloading and installing PEAR.
PEAR::Mail_Mime     *SKIPPED*: Requires PEAR
PEAR::DB     *SKIPPED*: Requires PEAR
PEAR::DB_Pager     *SKIPPED*: Requires PEAR
PEAR::Net_Socket     *SKIPPED*: Requires PEAR
PEAR::Net_SMTP     *SKIPPED*: Requires PEAR
PEAR::Auth_SASL     *SKIPPED*: Requires PEAR
PEAR::Net_IMAP     *SKIPPED*: Requires PEAR
PEAR::Net_POP3     *SKIPPED*: Requires PEAR
PEAR::Log     *SKIPPED*: Requires PEAR
IMAP library     *OK*: 2004
LDAP library     *OK*
MCrypt library     *OK*: >= 2.4.x with Blowfish and CBC
BC math library *FAILED*: Not installed. This PHP extension is required in order to decode certain types of URLs. See this page <http://www.php.net/bc/> for more information about recompiling PHP with the --enable-bcmath flag.
gd graphics library     *OK*: 2.0 or higher

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux