If you’re compiling php 5.2.10 and you get this error, you probably are trying to install pear also:
Fatal error: Error: cannot open phar “/root/kit/php-5.2.10/pear/install-pear-nozlib.phar” in /root/kit/php-5.2.10/pear/install-pear-nozlib.phar on line 795
There are 3 solutions for this:
1 – get the latest snapshot of php 5.2.10, from http://snaps.php.net/ which solves this bug,
2 – install php without pear and curlwrappers.
3 – downgrade back to php 5.2.9
I find solution 1 to be the best there is. Seems that upgrade is not always as easy as it should be.
Tags: cannot open phar, curlwrappers, downgrade, error, php 5.2.10, Tutorials - cPanel, upgrade


0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.