Download the fixed go-pear and just use it if you need to fix only the "Class 'PEAR' error".
If you want to use pear with uniform server download the file and uncompress it in the folder
C:\UniServerZ\home\us_pear
start Apache and Mysql
go to the url http://localhost/us_pear
and follow the installation process as usual
Possible Error:
Fatal error: Class 'PEAR' not found in /uniserverz/us_pear/go-pear.php on line 697
FIX - replace the urls of $bootstrap_files within the go-pear.php:
$bootstrap_files = array(
'PEAR5.php' => 'https://raw.githubusercontent.com/pear/pear-core/master/PEAR5.php',
'PEAR.php' => 'https://raw.githubusercontent.com/pear/pear-core/master/PEAR.php',
'Archive/Tar.php' => 'https://raw.githubusercontent.com/pear/Archive_Tar/master/Archive/Tar.php',
'Console/Getopt.php' => 'https://raw.githubusercontent.com/pear/Console_Getopt/trunk/Console/Getopt.php',
);
Comments
Post a Comment