I am implementing a software (Getsy) that requires PHP 5.4 and ZendGuard 6 (ZendGuard).
For the occasion I am using an AWS Instance of Ubuntu 14.04. As Ubuntu 14.04
apparently everything was working fine but for some reason PHP wasn't reading the php.ini file and none of the changes were reflected. What I did was I deleted the inst/php-5.4.30
folder and also the src/php-5.4.30
folder, I revised my custom-options-5.4.sh
file and I added the following line:
--with-config-file-path=/opt/phpfarm/inst/php-5.4.30/lib/ \
Afterwards I compiled again, restarted apache2 and everything worked correctly. I hope this can be useful to someone else :).
Ah, and also, now the output of php -v
looks like this:
PHP 5.4.30 (cli) (built: Sep 26 2014 16:13:45)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies