Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Sumeet

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.

2006-01-24 Thread Jesús Fernández
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


RE: [PHP] Help with getting PHP to see Pear.

2006-01-23 Thread Albert
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