Install Pear and Phing on Wamp Server
FOR WAMPSERVER
Download http://pear.php.net/go-pear.phar
Go to C:\wamp\bin\php\php5.x.x\
Save go-pear.phar to the php directory then run:
On Pear installation, select local install, enter till the part about modifying php.ini (N)
Run pear version to see if installation is successful
Next, right-click wamp server tray icon, then click PHP → php.ini
Uncomment include_path, set value to:
Restart wamp server
If it does not work, change directory to C:\wamp\bin\php\php5.x.x\ then change php.ini
Restart wamp server
Still inside php directory, run
If installation requires root permission run:
where Administrator is the account username of the administrator
To run phing and pear from any directory, add the bat file to windows $PATH
or Go to Computer, right click, then Properties → Advance System Settings → Environment Variables.
To check and update phing version, run:
RESOURCES:
Installing Propel:
http://propelorm.org/documentation/01-installation
Using Propel with WampServer
http://blog.leonardchallis.com/databases/using-propel-with-wampserver/
Download http://pear.php.net/go-pear.phar
Go to C:\wamp\bin\php\php5.x.x\
Save go-pear.phar to the php directory then run:
php -d phar.require_hash=0 go-pear.phar
On Pear installation, select local install, enter till the part about modifying php.ini (N)
Run pear version to see if installation is successful
Next, right-click wamp server tray icon, then click PHP → php.ini
Uncomment include_path, set value to:
include_path = ".;C:\wamp\php\php5.x.x\pear"
Restart wamp server
If it does not work, change directory to C:\wamp\bin\php\php5.x.x\ then change php.ini
include_path = ".;C:\wamp\php\php5.x.x\pear"
Restart wamp server
Still inside php directory, run
pear channel-discover pear.phing.info
pear install phing/phing
If installation requires root permission run:
runas /user:Administrator cmd
where Administrator is the account username of the administrator
To run phing and pear from any directory, add the bat file to windows $PATH
PATH=%PATH%;C:\wamp\bin\php\php5.x.x\
PATH=%PATH%;C:\wamp\bin\php\php5.x.x\pear
or Go to Computer, right click, then Properties → Advance System Settings → Environment Variables.
To check and update phing version, run:
phing-v
pear upgrade phing/phing
RESOURCES:
Installing Propel:
http://propelorm.org/documentation/01-installation
Using Propel with WampServer
http://blog.leonardchallis.com/databases/using-propel-with-wampserver/
Gracias, muchas gracias. Al fin un documento realmente Ăștil.
ReplyDeleteThank You v. m., at least a document really successful.
Juan F.
Ecuador.
Gracias, muchas gracias. Al fin un documento realmente Ăștil.
ReplyDeleteThank You v. m., AT LAST a document really successful. I was looking for this topic and all sites were complicated except this one.
Juan F.
Ecuador
Simple, straight forward and awesome. Thank you very much!
ReplyDelete