Where is the usr/bin directory?
Where is the usr/bin directory?
Hi
I'm trying to install ioncube and in order to put the ini file I must put it in the usr/bin area. In my ftp it only shows my website directory and not the core or root part.
Could someone point me to a solution on how to find this directory and how to add the ioncube ini file?
I'm trying to install ioncube and in order to put the ini file I must put it in the usr/bin area. In my ftp it only shows my website directory and not the core or root part.
Could someone point me to a solution on how to find this directory and how to add the ioncube ini file?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Where is the usr/bin directory?
Here is my approach for php 5.6... please adjust your files with your version number
iconcube loader for PHP 5.6
============
copy the above two files from ioncube pkg into the path specified above.
# check loaded extension via PHP file
iconcube loader for PHP 5.6
============
Code: Select all
php -i | grep extension_dir
/usr/lib/php5/<extension dir>
Code: Select all
nano /etc/php5/apache2/php.ini
Code: Select all
# under section-> Dynamic Extensions
zend_extension = /usr/lib/php5/20131226/ioncube_loader_lin_5.6.so
zend_extension = /usr/lib/php5/20131226/ioncube_loader_lin_5.6_ts.so
# check loaded extension via PHP file
Code: Select all
<?php
echo var_export(extension_loaded('ionCube Loader') ,true);