Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : install pear



Threaded Mode | Print  

 install pear, no pear directory in php (2 Replies, Read 30710 times)
dbmaven
Group: Member
Post Group: Newbie
Posts: 2
Status:
I am unable to install pear for ampps. I am running ampps 6.0 with php 7.4. Every time I try to install pear I get this error message:
Parse error: syntax error, unexpected '&' in E:\Ampps\php74\go-pear.phar on line 67317

Is this a pear bug or am I not installing this properly on ampps?
IP: --   

install pear
adeshmrane
Group: AMPPS Team
Post Group: Newbie
Posts: 27
Status:
Can you share the steps you followed to install Pear?
you can download E:\Ampps\php74\go-pear.phar file again by using the below commandcurl -O https://pear.php.net/go-pear.phar

if you still face issue, please open a ticket to AMPPS support https://softaculous.deskuss.com/open.php?topicId=3
IP: --   

install pear
dbmaven
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thank you for your help.

After many attempts to get go-pear.phar to work I found out that the file was corrupt.
I solved the problem by this command to create a brand new file to install.
php -r "copy('http://pear.php.net/go-pear.phar', 'go-pear.phar');"

This worked and installed directly into the ampps directory.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is December 6, 2024, 10:52 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024