I need to install ionCube loader on my VPS, but I have having problems. The loader is asking me to install some code in php.ini, but I forgot where the php.ini is located at. I cannot find it. I have the following:
cPanel Version 11.24.4-RELEASE
cPanel Build 36167
Apache version 2.0.63
PHP version 5.2.5
MySQL version 5.0.77-community
Operating system Linux
Path to sendmail /usr/sbin/sendmail
Path to PERL /usr/bin/perl
Kernel version 2.6.9-023stab044.
The ioncube loader is giving me the following instructions:
To install the Loader in your php.ini file, edit or create the file /usr/local/lib/php.ini and add the following line before any other zend_extension lines:
where /<path>/ is where you've installed the loader, e.g. /usr/local/ioncube/
If there are no zend_extension lines already, you can put the line at any point in the file.
Finally, stop and restart your web server software for the changes to take effect.
Installing the Loader for run-time loading
To install for runtime loading, create a directory called ioncube at or above the top level of your encoded files, and ensure that the directory contains the ioncube_loader_lin_5.2.so loader. If run-time install of the Loader is possible on your system then encoded files should automatically install the loader when needed.
I need help finding my php.ini and after I find it I need easy instruction for adding the code ioncube is asking me to add.