Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Installing PEAR and PHPUnit



Threaded Mode | Print  

 Installing PEAR and PHPUnit (3 Replies, Read 12699 times)
mreniro
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi.
I would like to know is there a way to install PEAR and PHPUnit for AMPPS, and how to do it?
OS: Mac OS X Lion
Thanks.
IP: --   

Installing PEAR and PHPUnit
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : mreniro January 18, 2012, 8:51 pm
Hi.
I would like to know is there a way to install PEAR and PHPUnit for AMPPS, and how to do it?
OS: Mac OS X Lion
Thanks.


Hi,

Yes, you can install it. Download http://pear.php.net/go-pear.phar and run it with
Code
/Applications/AMPPS/php/bin/php -d detect_unicode=0 path/to/go-pear.phar


set paths as per your requirement, after installation you should find pear binary in bin folder of pear.
Follow PEAR Manual in case of any problem, http://pear.php.net/manual/en/installation.php

After successful installtion of PEAR, you will have to manually change the AMPPS conf file i.e /Applications/AMPPS/conf/php-<ACTIVE-PHP>.ini from /Applications/AMPPS/php/etc/php.ini

And after installing PEAR, installing PHPUnit won't be a problem.
Follow PHPUnit manual for detailed explanation http://www.phpunit.de/manual/3.6/en/installation.html



Edited by tidus : January 19, 2012, 8:00 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Installing PEAR and PHPUnit
fib337
Group: Member
Post Group: Newbie
Posts: 2
Status:
Apologies I am stuck doing this on Windows- I have xdebug installed and am having difficulties with the 2 options for PEAR

go-pear.bat is not there and bin is not there

I am not sure how to run the phar?
help appreciated
IP: --   

Installing PEAR and PHPUnit
fib337
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : fib337 December 7, 2012, 7:30 pm
Apologies I am stuck doing this on Windows- I have xdebug installed and am having difficulties with the 2 options for PEAR

go-pear.bat is not there and bin is not there

I am not sure how to run the phar?
help appreciated


Please ignore - I think i am sorted thank you
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 2:47 pm.

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