HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Ubuntu 10.04 LTS Perfect Server PEAR.php problem (http://www.howtoforge.com/forums/showthread.php?t=52940)

Hagforce 3rd June 2011 14:20

Ubuntu 10.04 LTS Perfect Server PEAR.php problem
 
Hi

I have a application that requires PEAR.php
And I get this error in log:
[warn] [client xxx.xx.50.23] mod_fcgid: stderr: PHP Fatal error:
>> require_once(): Failed opening required 'PEAR.php'
>> (include_path='.:/usr/share/php:/usr/share/pear') in

What may be the problem here.
I have followed the how to carefully, and double checked. :confused:

Hagforce 9th June 2011 09:37

Bumping this...
Anybody been through this before? :(

pititis 11th June 2011 11:58

Try with apt-get install php-pear

Or

apt-get purge php-pear; apt-get install php-pear

Cheers

maumar 10th January 2012 20:33

ispconfig 3.0.4.1
debian 6.0.3
pear is under /usr/share/php
but in vhost file i see:
Code:


php_admin_value open_basedir /var/www/clients/client4/web9/web:/var/www/clients/client4/web9/tmp:/var/www/xxxxxx/web:/srv/www/xxxxxx/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

relevat is: :/usr/share/php5:

can i change default location?
instead of /usr/share/php5 i would have /usr/share/php

falko 11th January 2012 15:46

You can change it or add /usr/share/php.

maumar 11th January 2012 15:54

i post onto ispconfig 3 b/c is an ispconfig question
till answered me
sorry for crossposting
thnx anyway


All times are GMT +2. The time now is 03:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.