Help with getting PHP to see Pear.
| From: | Payne | Date: | Tue, 24 Jan 2006 06:35:49 +0000 |
| Subject: | Help with getting PHP to see Pear. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229150@lists.php.net to get a copy of this message | ||
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