problem with Zend?!? Failed loading /usr/local/lib/ZendGuardLoader.so

uollan

Verified User
Joined
Dec 22, 2008
Messages
44
Hi,
I've received this problem with php:

Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: cannot open shared object file: No such file or directory

and if i try to see phpinfo() it only shows a white page!

# php -v
Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: cannot open shared object file: No such file or directory
PHP 5.2.17 (cli) (built: Sep 9 2011 12:12:25)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.10, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
 
Last edited:
Hi Sellerone,
Thank you for your reply.

I've already tryed to do this before... but with no results!

Seems that php it's not working.... blank page and, if i look the page source it show the code, like this:

<?phpinfo();?>
 
did you get any errors when trying to build zend? It looks like it didn't succeed, because it says /usr/local/lib/ZendGuardLoader.so doesn't exist.
 
Something is wrong with your php then. You should also upgrade to php 5.3. Php 5.2 is no longer supported or upgraded.
 
Php 5.3 installed (and httpd restarted):

PHP 5.3.10 (cli) (built: Feb 10 2012 15:42:39)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

But the problem it's still the same...
 
Did you do:

Code:
cd /usr/local/directadmin/custombuild
./build set zend yes
./build update
./build zend
 
Last edited:
Yes! but...

File already exists: ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.

Zend Guard Loader has been installed.


Blank page still here... uff
 
Now i've removed Zend Optimizer (this will not work with php 5.3) right?!?
And no errors... but still blank page... never seen something like this... omg!
 
php -v result?

PHP 5.3.10 (cli) (built: Feb 10 2012 16:40:40)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

Have you rebuilded apache?

Yes!
 
try use <?php phpinfo(); ?> instead of <? phpinfo(); ?>

It's working now !!!
Something is changed?!? I've never thought about this !!
I've used <?=$var;?> in many php scripts before... so i'll have to test everything...
Thank you Sellerone, Scsi, Zeiter and Arieh!
Best regards
 
Take a look in your php.ini. Search for short_open_tag - if you want to use <? -> set it to On.

Yes! Now it's working also this one: <? phpinfo(); ?>
Thank you again to all... All the best!
 
Back
Top