ioncube install

Discussion in 'Installation/Configuration' started by kwickcut, Apr 1, 2012.

  1. kwickcut

    kwickcut Member HowtoForge Supporter

    i have followed the instructions for installing ioncube using the directions found at this link

    http://www.howtoforge.com/linux_apache2_ssl_php5_zendoptimizer_ioncubeloader

    i used the Linux (x86-64) 4.0.14

    i checked the phpinfo and it does not show this is the link to that file

    kwickbid.com/phpinfo.php

    under the zens section this is all that i see

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

    but nothing about ioncube any ideas ??

    i need this for a site that is going to be running ioncube encoded files thanks


    kwick
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you see any PHP warnings when you restart Apache?

    Do you use the correct loader for your PHP version?
     
  3. kwickcut

    kwickcut Member HowtoForge Supporter

    i think i used the correct version.

    i used Linux (x86-64) 4.0.14.tar.gz



    this is the error log
    Code:
    [Sun Apr 01 01:00:56 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    [Sun Apr 01 01:16:19 2012] [notice] caught SIGTERM, shutting down
    Failed loading /usr/local/ioncube/ioncube_loader_lin_5.2.so:  /usr/local/ioncube/ioncube_loader_lin_5.2.so: wrong ELF class: ELFCLASS32
    [Sun Apr 01 01:16:20 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:16:20 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Apr 01 01:16:20 2012] [notice] Digest: generating secret for digest authentication ...
    [Sun Apr 01 01:16:20 2012] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Sun Apr 01 01:16:20 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:16:20 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    DBI connect('database=dbispconfig;host=localhost:3306','ispconfig',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/ispconfig/server/scripts/vlogger line 514
    DBI Error:  at /usr/local/ispconfig/server/scripts/vlogger line 514, <STDIN> line 37.
    [Sun Apr 01 01:19:07 2012] [notice] caught SIGTERM, shutting down
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    [Sun Apr 01 01:19:59 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:19:59 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Apr 01 01:19:59 2012] [notice] Digest: generating secret for digest authentication ...
    [Sun Apr 01 01:19:59 2012] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Sun Apr 01 01:20:00 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:20:00 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    [Sun Apr 01 01:25:01 2012] [notice] caught SIGTERM, shutting down
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    [Sun Apr 01 01:25:06 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:25:06 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Apr 01 01:25:06 2012] [notice] Digest: generating secret for digest authentication ...
    [Sun Apr 01 01:25:06 2012] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Sun Apr 01 01:25:06 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:25:06 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Sun Apr 01 01:28:29 2012] [error] [client 61.63.60.98] client denied by server configuration: /htdocs
    [Sun Apr 01 01:28:29 2012] [error] [client 61.63.60.98] client denied by server configuration: /htdocs
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    [Sun Apr 01 01:30:03 2012] [notice] caught SIGTERM, shutting down
    Failed loading /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so:  /etc/apache2/Zend/lib/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
    [Sun Apr 01 01:30:07 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:30:07 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Apr 01 01:30:07 2012] [notice] Digest: generating secret for digest authentication ...
    [Sun Apr 01 01:30:07 2012] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
    [Sun Apr 01 01:30:07 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Sun Apr 01 01:30:07 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
    [Sun Apr 01 01:35:40 2012] [error] [client 68.39.193.54] script '/var/www/phpinfo.php' not found or unable to stat
    [Sun Apr 01 01:38:47 2012] [error] [client 68.53.62.157] client denied by server configuration: /htdocs
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    [Sun Apr 01 02:04:20 2012] [error] [client 66.249.72.207] client denied by server configuration: /htdocs
    [Sun Apr 01 02:04:20 2012] [error] [client 66.249.72.207] client denied by server configuration: /htdocs
    [Sun Apr 01 03:31:42 2012] [error] [client 221.7.145.42] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:31:44 2012] [error] [client 201.251.111.8] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:32:31 2012] [error] [client 202.183.138.162] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:32:50 2012] [error] [client 190.220.226.54] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:32:56 2012] [error] [client 75.145.98.90] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:32:57 2012] [error] [client 222.45.72.124] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:00 2012] [error] [client 69.155.200.17] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:23 2012] [error] [client 41.158.128.190] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:37 2012] [error] [client 221.7.145.42] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:39 2012] [error] [client 84.233.227.148] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:41 2012] [error] [client 221.7.145.42] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:52 2012] [error] [client 41.202.0.131] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 03:33:54 2012] [error] [client 106.187.52.97] script '/var/www/index.php' not found or unable to stat, referer: http://usa-pe.com/index.php
    [Sun Apr 01 05:11:21 2012] [error] [client 123.125.71.29] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:11:32 2012] [error] [client 123.125.71.80] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:11:38 2012] [error] [client 123.125.71.100] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:11:44 2012] [error] [client 123.125.71.56] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:11:50 2012] [error] [client 123.125.71.17] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:11:55 2012] [error] [client 123.125.71.73] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:12:07 2012] [error] [client 123.125.71.47] File does not exist: /var/www/robots.txt
    [Sun Apr 01 05:12:12 2012] [error] [client 123.125.71.94] File does not exist: /var/www/robots.txt
    [Sun Apr 01 06:08:49 2012] [error] [client 100.43.83.134] File does not exist: /var/www/robots.txt
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    [Sun Apr 01 06:29:18 2012] [notice] Graceful restart requested, doing restart
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
    Failed loading /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so:  /usr/local/lib/ioncube/ioncube_loader_lin_5.0.so: undefined symbol: empty_string
     
  4. kwickcut

    kwickcut Member HowtoForge Supporter

    Solved

    i have the wrong version of ioncube selected i am running 5.3 and i had 5.2 in the folder thanks falko



    kwick


    ps is there a membership for 1 year as well as 6 months i rather do a year at a shot thanks


    kwick
     
  5. falko

    falko Super Moderator Howtoforge Staff

    No, we just have one month and six months subscriptions.
     
  6. abintipl

    abintipl Member HowtoForge Supporter

    Install Zend Optimizer And IonCube Loader

    Dear Sir,

    I am running latest Ispconfig on Debian 6 & want to install Zend & Ioncube loaded on my server & have followed this thread
    http://www.howtoforge.com/linux_apache2_ssl_php5_zendoptimizer_ioncubeloader

    On Step no 7

    IonCube Loader

    cd /tmp/
    wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
    tar xvfz ioncube_loaders_lin_x86.tar.gz
    cd ioncube/
    mkdir /usr/local/lib/ioncube
    mv ioncube_loader_lin_5.0.so /usr/local/lib/ioncube/

    Now edit /etc/php.ini and add the line

    My question is

    Do I need to make a new file php.ini in /etc

    and add the following to the blank file
    PHP:
    zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so

    OR

    add 

    zend_extension
    =/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so

    to 
    /etc/php5/cgi/php.ini
    /etc/php5/cli/php.ini
    /etc/php5/apache2/php.ini

    and restart apache

    Please advice

    Thanks 
    regards

    Abin
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Add the line to your existing php.ini files.
     

Share This Page