I have php 5.5 installed in my Linux server. I checked it through the php info file. However, when I issue the command
#which php
it says /usr/bin/php. I have also used the find command, but there is no php5 directory in my linux server. I am going through many forums to understand this, and all I find is, there should be a php5 directory either in /usr/lib/php5 or /usr/share/php5.
As a result, I have facing lot of difficulties in installing the ZendGuard. The tutorial http://grainier.net/installing-zend-guard-on-linux-distributions-centos-6-debian-ubuntu/ says, it needs to be moved to /usr/lib/php5. But I can’t find php5 directory in my server.
Any help would be highly appreciated.
Finally solved it. This was terrible. My OS is a 64 bit OS and using PHP 5.5. I followed the usual installation procedure from http://www.servermom.org/how-to-install-zend-optimizer-on-centos-6-with-apache/775/ OR http://grainier.net/installing-zend-guard-on-linux-distributions-centos-6-debian-ubuntu/
I downloaded the correct version from http://www.zend.com/en/products/guard/downloads
Extarcted the .so file and moved it to /usr/lib64/php/modules. This should do the job. If you follow the installation instruction in the site links that I provided above, it says that you will have to additionally create a ZendGuard.ini file. Don't do it. It will not work.