Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Where is the usr/bin directory?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
clever1
Posts: 12
Joined: Fri Apr 17, 2015 11:55 pm

Where is the usr/bin directory?
  • Quote

Post by clever1 » Thu Jul 09, 2015 12:57 am

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?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Where is the usr/bin directory?
  • Quote

Post by mehargags » Fri Jul 10, 2015 10:22 am

Here is my approach for php 5.6... please adjust your files with your version number

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
copy the above two files from ioncube pkg into the path specified above.

# check loaded extension via PHP file

Code: Select all

<?php
echo var_export(extension_loaded('ionCube Loader') ,true);
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password