How to install PHP Trader PECL using Linux

gb flag

I'm using Dreamhost VPS server and I have SSH access but not sudo commands.

I' have tried to install the PHP Trader Pecl library

[psxxxxxx]$ wget ""
[psxxxxxx]$ tar zxvf trader-0.5.1.tgz
[psxxxxxx]$ cd trader-0.5.1

[psxxxxxx]$ /usr/local/php80/bin/phpize
[psxxxxxx]$ export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig
[psxxxxxx]$ ./configure --prefix=$HOME/local --with-trader-0.5.1=$HOME/local --with-php-config=/usr/local/php74/bin/php-config
[psxxxxxx]$ make

[psxxxxxx]$ cd ~/.php/8.0
[psxxxxxx]$ mkdir extensions
[psxxxxxx]$ cp ~/trader-0.5.1/modules/ extensions
[psxxxxxx]$ echo "extension = ~/.php/8.0/extensions/" >> phprc

After this it look like installed.

But when i checked:

php -m | grep trader 

So not showing anything.

My Server/PHP information:


Please anyone help me to install PHP Trader

cn flag
We do not support Unix. Only active Ubuntu versions; All Ubuntu use "sudo" for elevated permissions though. Are you not using Ubuntu? For the remainder of the question: there is nothing to go on for us. No error, no notice about anything going wrong. Seems perfectly fine to me what you post in the question.
Alicensha avatar
gb flag
Thank you for comment, Yes I have did it that what I mentioned above but still phpinfo not showing PECL module and I have use the trader code to create BBands but not working mean not recognize the trader function/class. I don't know what to do.
Alicensha avatar
gb flag
Actually I must need to do this in my website so if you have any alternative idea i will thankful:

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.