I previously had WAMP server and tried installing pear but the whole configuration got messed up. There was an PEAR_ENV.reg file which i was told to install and which i did...when i got fedup with WAMP, i uninstalled it. Got the following error on running pear.bat from command.com.
The PHP_PEAR_INSTALL_DIR is set to ='c:\wamp\php\php5.2.6'. you need to change the path in the environment variables or change it in pear.bat file.
then i deleted the environment variables from my Winxp System & restarted my system.
Now i installed XAMPP which has pear installed by default... though now i get an error..
Manifest length read was 1236 sould be 678716787
when i run go-pear.bat from my c:\xampp\php\pear path from command.com.
i recreated the pear_env.reg file like this to install the correct paths:
- Code: Select all
Now when i run pear.bat again, i get the following error:
Notice: unserialize(): Error at offset 42 of 656 bytes in Config.php on line 105
ERROR: The default config file is not a valid config file or is corrupted.
What are the default paths and how to change the environment variables? What am i doing wrong? Do i need to reinstall the Whole working XAMPP again? Do i need to delete the environment variables set manually again, cos their paths may be wrong for XAMPP?