View Full Version : Warning: PHP Pear not found
mumus60
02-14-2008, 03:02 PM
Hello, i have a probleme in step 4 with the PEAR /PEAR.php not found.
I have all the modules requires for PEAR and the files exist at the /usr/share/php5/PEAR/
opensuse 10.3/nagios 2.10/centreon 1.4.2.3
-Archi-
02-15-2008, 11:24 AM
Did you specify the good PEAR path when installing Centreon ?
Maybe you entered /usr/share/php instead of /usr/share/php5
I also had this problem. Not enough time to correct the bug so I just made a modification in install files..
In centreon/ww/install/steps
Open step4.php, line 126, put the real path, I think it's the $pear_path var which is not initialised..
if (file_exists($pear_path. '/PEAR.php')){
Became
if (file_exists('/usr/share/php5/PEAR/PEAR.php')){
You'll have a problem in step5 too,
line 26, just add this line:
$pear_path = '/usr/share/php5/PEAR';
mumus60
02-18-2008, 05:20 PM
l'installation est ok mais apres quand je me relogue sur centreon j'ai ça
<? /** Centreon is developped with GPL Licence 2.0 : http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt Developped by : Julien Mathis - Romain Le Merlus - Christophe Coraboeuf The Software is provided to you AS IS and WITH ALL FAULTS. OREON makes no representation and gives no warranty whatsoever, whether express or implied, and without limitation, with regard to the quality, safety, contents, performance, merchantability, non-infringement or suitability for any particular or intended purpose of the Software found on the OREON web site. In no event will OREON be liable for any direct, indirect, punitive, special, incidental or consequential damages however they may arise and even if OREON has been previously advised of the possibility of such damages. For information : contact@oreon-project.org */ // Database $conf_oreon['host'] = "localhost"; $conf_oreon['user'] = "centreon"; $conf_oreon['password'] = "****"; $conf_oreon['db'] = "centreon"; $conf_oreon['ods'] = "centreon"; // path to classes $classdir='./class'
You have to activate (or deactivate) short tags in your php.ini file (and restart Apache)
mumus60
02-20-2008, 09:42 AM
it's the same