problem with php_openssl.dll and php openssl

m4hdi

Verified User
Joined
May 22, 2014
Messages
10
hello ,

i want to set FaceBook connect login(for script) in my direct admin server.
i see this error when i want login with facebook in my forum :

Warning: fsockopen(): unable to connect to ssl://graph.facebook.com:443 (Network is unreachable) in /home/*****/domains/****.com/public_html/forum/ips_kernel/facebook/facebookoauth.php on line 308

and when is run : php -v in ssh i see this errors :

Failed loading /usr/local/lib/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube_loader_lin_5.3.so: undefined symbol: php_body_write
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.4.28 (cli) (built: May 22 2014 20:11:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.

Please Help Me :)
 
Thank you.

i delet ssl.dll

now my php show this error :
Failed loading /usr/local/lib/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube_loader_lin_5.3.so: undefined symbol: php_body_write
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.

PHP 5.4.28 (cli) (built: May 22 2014 20:11:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.

Can you help me ?


i want to set login with facebook in directadmin -- can you hel.p me how can i set this ?
when i want to login with facebook i see this error in script :
Warning: fsockopen(): unable to connect to ssl://graph.facebook.com:443 (Network is unreachable) in /home/*****/domains/****.com/public_html/forum/ips_kernel/facebook/facebookoauth.php on line 308

this login with facebook script work in other hosts and i don't know about what this not work in my server !!

Please Help Me :X
 
Your ioncube is for php 5.3 but you are using php 5.4. You need to edit your php.ini and change the ioncube_loader_lin_5.3.so to ioncube_loader_lin_5.4.so

Make sure your firewall can connect to port 443 outbound to fix that ssl error. Ssl should be included in php by default.

You should be able to just do:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build ioncube d
 
Thank You For Help Me ,

I fixed ioncube php error.
now in : php -v i can't see any error :D

i turn off firewall (csf&lfd)

and now my problem(facebook login) not fixed !!!!!!

Please Help Me
 
in apache error log i see :


Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.


sure when this error is fix facebook login work well.
Please help me for fix this error
 
Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build update_versions
./build set zend yes
./build zend d
 
Back
Top