Mysterious php -v & phpinfo.php / Ioncube ...

pilatus

Verified User
Joined
Nov 22, 2009
Messages
5
Hiya all !

I've followed the usual procedure to setup Zend Optimizer and Ioncube. So then i verify with php -v if they're active and behold, they are:

PHP 5.2.9 (cli) (built: May 15 2009 03:29:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies


BUT ... yes the big but here, when i load phpinfo.php it shows only this:

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

I'm trying to prevent pulling my last hair out, but could some one enlighten me ? :)

Thank you !
 
php on the shell is probably cli and the web one is cgi. Check the php.ini for cgi to ensure the zend lines are in it.
 
php on the shell is probably cli and the web one is cgi. Check the php.ini for cgi to ensure the zend lines are in it.

It's a no cgi setup, just cli and for the rest no custom work or so. Also there is only 1 php.ini file which is located here: /usr/local/Zend/etc/php.ini
(this is also shown in phpinfo.php)
 
Back
Top