Created
March 11, 2013 15:25
-
-
Save cam8001/5135012 to your computer and use it in GitHub Desktop.
How to add PECL source files (NOT binary modules) to Acquia hosting.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
$ pear install Net_SmartIRC | |
downloading Net_SmartIRC-1.0.2.tgz ... | |
Starting to download Net_SmartIRC-1.0.2.tgz (184,705 bytes) | |
........................................done: 184,705 bytes | |
install ok: channel://pear.php.net/Net_SmartIRC-1.0.2 | |
# Now the class is downloaded to my local include path. | |
# Get the local include path... | |
$ php -r "echo ini_get('include_path');" | |
.:/Applications/MAMP/bin/php/php5.3.14/lib/php | |
# And copy the downloaded files to my Acquia repository. | |
$ cp -r /Applications/MAMP/bin/php/php5.3.14/lib/php/Net ~/Sites/camerontod/library/ | |
# Now commit and push. | |
$ cd ~/Sites/camerontod | |
$ git add library/ | |
$ git commit -m 'Added SmartIRC library from PECL.' | |
$ git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment