Last active
September 16, 2020 17:21
-
-
Save ybagheri/fd9c65f11ce2e3934776a61dec7ade6b to your computer and use it in GitHub Desktop.
TA-Lib Trader PHP extension A PECL extension in centos 7
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
# TA-Lib Trader PHP extension A PECL extension in centos 7 | |
sudo su - | |
sudo yum install epel-release | |
sudo rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro | |
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
# To install PECL extensions: | |
sudo yum install php-devel | |
sudo pecl install trader | |
## then find php.ini ## maybe /etc/php.ini | |
php --ini | grep "Loaded Configuration File" | |
# Add in the php.ini file the line: | |
extension=trader.so | |
# To check the extension try: | |
php -m | grep trader | |
# then exit | |
exit | |
# You can find a list of Trader extension functions here: | |
# http://php.net/manual/en/ref.trader.php | |
# Also a full documentation of Trader PHP extension exist here: | |
# http://php.net/manual/en/ref.trader.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment