Hi
Im having trouble with the installation of PEAR. Im running xampp latest version. I have tried the easy installation (c:\php\go-pear.bat.) , All i get is this message:The system cannot find the path specified. I have checked the path and it seems to be correct. Please help!
Installation of PEAR!
Moderators: Website/Forum Admins, Other/Off Topic Moderators
Re: Installation of PEAR!
(moved to off topic)
what is it trying to find?
what is it trying to find?
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
Re: Installation of PEAR!
what are you saying or asking/
Re: Installation of PEAR!-and I need help!
Hello,
I've been trying to get PEAR installed on my Hosts Server (They don't have it installed nor will they install it for me).
I ran the go-pear.php from my URL and the software installed. There ends the good news!
I've spend most all day trying to fix this error:
Fatal error: No PEAR.php in supplied PEAR directory: @pear_dir@ in /home/www/atrz.net/index.php on line 24
This in the index.php referred to in the error message:
This PHP code Isn't executing correctly and the value is not being passed on to the function ending on line 24.
Here are 2 ways to ways to the PEAR directory.
/home/www/atrz.net/PEAR/ and atrz.net/PEAR/
Changing the assignment to either of these statements fixes the issue.
I'm not that versed enough in PHP to correct it.
Could anyone advise me on how to correct this error?
Bill
I've been trying to get PEAR installed on my Hosts Server (They don't have it installed nor will they install it for me).
I ran the go-pear.php from my URL and the software installed. There ends the good news!
I've spend most all day trying to fix this error:
Fatal error: No PEAR.php in supplied PEAR directory: @pear_dir@ in /home/www/atrz.net/index.php on line 24
This in the index.php referred to in the error message:
Code: Select all
[
<?php
/**
* Put this file in a web-accessible directory as index.php (or similar)
* and point your webbrowser to it.
*/
// $pear_dir must point to a valid PEAR install (=contains PEAR.php)
$pear_dir = '@pear_dir@'; // default of install
// OPTIONAL: If you have a config file at a non-standard location,
// uncomment and supply it here:
//$pear_user_config = '';
// OPTIONAL: If you have protected this webfrontend with a password in a
// custom way, then uncomment to disable the 'not protected' warning:
//$pear_frontweb_protected = true;
/***********************************************************
* Following code tests $pear_dir and loads the webfrontend:
*/
if (!file_exists($pear_dir.'/PEAR.php')) {
trigger_error('No PEAR.php in supplied PEAR directory: '.$pear_dir,
E_USER_ERROR); <<<<<<<<<============================= This is line 24
}
ini_set('include_path', $pear_dir);
require_once('PEAR.php');
// Include WebInstaller
putenv('PHP_PEAR_INSTALL_DIR='.$pear_dir); // needed if unexisting config
require_once('pearfrontendweb.php');
?>
/code]
Appearantly the line:
[code]
// $pear_dir must point to a valid PEAR install (=contains PEAR.php)
$pear_dir = '@pear_dir@'; // default of install
Here are 2 ways to ways to the PEAR directory.
/home/www/atrz.net/PEAR/ and atrz.net/PEAR/
Changing the assignment to either of these statements fixes the issue.
I'm not that versed enough in PHP to correct it.
Could anyone advise me on how to correct this error?
Bill
Re: Installation of PEAR!
$pear_dir should be set to one of the two paths you specified instead of @pear_dir@
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
Who is online
Users browsing this forum: No registered users and 1 guest