Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 12:39:01

Author Topic: ioncube install failed ??  (Read 8380 times)

0 Members and 1 Guest are viewing this topic.

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
ioncube install failed ??
« on: 2015-04-14, 08:24:12 »
Hello Mustafa, I have klox mr 7.0

I try to install ioncube using :

yum install php53u-ioncube*

Install is complete and php -v result :

php -v
PHP 5.3.29 (cli) (built: Aug 14 2014 11:50:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.


but when I load php file with this content on my website :

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


when I load this file I get 'false' . I tried on cpanel panel with ioncube installes and I get 'true' with the same test.   I think that's the problem why my I got errror ( PM).

How to fix it ?

Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #1 on: 2015-04-14, 08:46:51 »
Make sure ioncube ready for php with 'php -m' and you must see 'ioncube-loader' in listing.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #2 on: 2015-04-14, 13:04:18 »
Make sure ioncube ready for php with 'php -m' and you must see 'ioncube-loader' in listing.

Code: [Select]
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
imap
intl
ionCube Loader
json
ldap
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
the ionCube PHP Loader

I don't understand why testing fail with this php file showing 'false' :

Code: [Select]

<?php
echo var_export(extension_loaded('ionCube Loader') ,true);
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #3 on: 2015-04-14, 13:05:24 »
Ioncube ready in your php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #4 on: 2015-04-14, 13:06:33 »
Then why 'false' response with php file ? How to fix it ?


Code: [Select]
<?php
echo var_export(extension_loaded('ionCube Loader') ,true);
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #5 on: 2015-04-14, 13:11:13 »
What's php selected in 'php used' in 'webserver configure'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #6 on: 2015-04-14, 13:12:01 »
php used  53m         PHP Branch  53u_
« Last Edit: 2015-04-14, 13:14:39 by crossing »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #7 on: 2015-04-14, 13:19:46 »
Because using php53m, go to '/opt/php53m/etc/php.d' via 'file manager'. Possible you will see 'ioncube-loader.nonini'. And then copy this file to 'ioncube-loader_used.ini'. After that run 'sh /scrip/restart-web -y' from ssh or 'command center' in panel.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #8 on: 2015-04-14, 13:45:43 »
I got 'ioncube-loader.nonini'  in '/opt/php53m/etc/php.d'. What do you mean " And then copy this file to 'ioncube-loader_used.ini'" ? Like to add link to the file inside ? If so the only file called 'ioncube-loader_used.ini' in my server its here :     '/opt/php54m/etc/php.d/ioncube-loader_used.ini' and this is the content :

Code: [Select]
; Configured for PHP
zend_extension=/opt/php54m/usr/lib64/php/modules/ioncube_loader_lin_5.4.so

; For threaded Apache/PHP Implementations comment out the above
; and un-comment the following:
;
; zend_extension=/opt/php54m/usr/lib64/php/modules/ioncube_loader_lin_5.4_ts.so
;

Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #9 on: 2015-04-14, 13:59:58 »
It's different between php54m and php53m. Using ini file with content 'zend_extension=/opt/php54m/usr/lib64/php/modules/ioncube_loader_lin_5.4.so' for php53m may trouble. Try change '54m' to 'php53m' and '5.4' to '5.3'.

Don't forget restart web with 'sh /script/restart-web -y' after change it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #10 on: 2015-04-14, 14:05:09 »
Meanwhile I switched to PHP 5.4 but I get the same response 'false' on that script...

# php -v
PHP 5.4.39 (cli) (built: Mar 20 2015 08:10:43)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.


php file response 'false'

<?php
echo var_export(extension_loaded('ionCube Loader') ,true);
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #11 on: 2015-04-14, 14:07:48 »
Actually I forgot to switch 'PHP Used ' to php54m. Now the response is 'true'
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #12 on: 2015-04-14, 14:35:25 »
Thank you Mustafa. Now I need to change mariadb to mysql , the producer asked me to do it due to errors.  How can I achieve that ?
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ioncube install failed ??
« Reply #13 on: 2015-04-14, 14:45:26 »
What's you mean 'due to errors'. No reason back to use mysql instead mariadb.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: ioncube install failed ??
« Reply #14 on: 2015-04-14, 15:22:45 »
The main problem was database switched to 'myisam' , after I switched back to 'innodb' everything is working 99% (you know the PM problem you fixed) . Actually there is only one problem left now, admin panel for my script ( you know PM problem) loads very fast and I think some CSS content fail to load. For example when I switch from list of clients page 1 to page 2 --  initial page 1 looks perfect http://postimg.org/image/3x39h6khx/  while page 2 css is broken http://postimg.org/image/71zufg4nf/.

This is happening only one the server you have fixed, I have installed kloxo-mr 7.0 on another VPS leaving mysql ( so not mariadb) and restoring the files and I got no errors like this. Or maybe you know what you have done in order for me to restore to the old state ? (i.e. have you installed opcache for php and mod-pagespeed for apache ? anything else beside switching to myisam ?).

« Last Edit: 2015-04-14, 15:26:43 by crossing »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.067 seconds with 19 queries.

web stats analysis