Commit d99025a1 authored by Franco Fichtner's avatar Franco Fichtner

rc: prepare for PHP 5.6 and remove pre-5.5 compat

parent 5baa7593
...@@ -29,12 +29,15 @@ ...@@ -29,12 +29,15 @@
PLATFORM=`/bin/cat /etc/platform` PLATFORM=`/bin/cat /etc/platform`
MIN_REALMEM_FOR_APC=512 MIN_REALMEM_FOR_APC=512
if [ -d /usr/local/lib/php/20121212 ]; then if [ -d /usr/local/lib/php/20131226 ]; then
# PHP 5.6
EXTENSIONSDIR="/usr/local/lib/php/20131226/"
elif [ -d /usr/local/lib/php/20121212 ]; then
# PHP 5.5
EXTENSIONSDIR="/usr/local/lib/php/20121212/" EXTENSIONSDIR="/usr/local/lib/php/20121212/"
elif [ -d /usr/local/lib/php/20090626 ]; then
EXTENSIONSDIR="/usr/local/lib/php/20090626/"
else else
EXTENSIONSDIR="/usr/local/lib/php/20060613/" echo "No supported PHP version was found."
exit 1
fi fi
# Grab amount of memory that is detected # Grab amount of memory that is detected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment