Re: [PHP] Help with getting PHP to see Pear.
Payne wrote: 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* i think it has to do with the 'include_path' set in php.ini include_path = 'your_path'; -- Sumeet Shroff http://www.prateeksha.com Web Design and Ecommerce Development, Mumbai India -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Help with getting PHP to see Pear.
if you look to your phpinfo it says: '--without-pear' Maybe you'll need to install it with pear support or is it right just to add pear to the include_path? -- Esú - http://esu.proyectoanonimo.com http://www.proyectoanonimo.com
[PHP] Help with getting PHP to see Pear.
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
[PHP] Help with getting PHP to see Pear.
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
RE: [PHP] Help with getting PHP to see Pear.
Payne wrote: 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. I'm running SuSE 9.3 and had to add /usr/share/php to the include path in /etc/php.ini to be able to use the installed PEAR extensions. To enable bcmath I had to uncomment the extension=bcmath.so line in /etc/php.ini Check that phpinfo() outputs bcmath. Albert -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.22/238 - Release Date: 2006/01/23 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php