Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP: How to upgrade PEAR

Tags:

php

xampp

When trying to upgrade XAMPP pear the following error is raised:

Fatal error: Cannot use result of built-in function in write context in C:\xampp\php\pear\Archive\Tar.php on line 639

Some suggestions how to fix this?

like image 206
Sani Kamal Avatar asked May 15 '18 10:05

Sani Kamal


People also ask

Is PEAR installed in xampp?

Both MAMP and XAMPP come with the PEAR framework pre-configured, so installing the Mail package is simple.


1 Answers

Just change in Tar.php

$v_att_list = & func_get_args(); 

to

$v_att_list = func_get_args();

PD:Tested over PHP 7.2 in Xammp

like image 143
Luis Morales Avatar answered Sep 18 '22 14:09

Luis Morales