Author Topic: Does anybody knows how?  (Read 370 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Does anybody knows how?
« on: March 26, 2018, 11:14:38 PM »
Hi!
Need to install this php lib http://php.net/manual/en/book.stats.php
how should I do it? using php selector and adding it in flags " with--stats" ?
or there is another way?

any help will be apreciated!

Thanks!
freddo

Offline
*
Re: Does anybody knows how?
« Reply #1 on: March 27, 2018, 12:06:55 AM »
I've figured out to install the module by login into ssh and type (centos 6.7 64 bits)

 pecl install stats

installation went ok.
in fact it showed the following:
"Build process completed successfully
 Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/stats.so'
 install ok: channel://pecl.php.net/stats-1.0.5
 configuration option "php_ini" is not set to php.ini location
 You should add "extension=stats.so" to php.ini"

I've added at the end of php.ini (in Centoswebpanel at the php.ini configuration) this: extensions=stats.so
then restarted httpd service and Voila!
hope this helps to others!