Commit 2d257557 authored by Ad Schellevis's avatar Ad Schellevis

fix rc.php_ini_setup file removal missing

parent e5cae36f
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
# Set our operating platform # Set our operating platform
PLATFORM=`/bin/cat /usr/local/etc/platform` PLATFORM=`/bin/cat /usr/local/etc/platform`
if [ -d /usr/local/lib/php/20131226 ]; then if [ -d /usr/local/lib/php/20131226 ]; then
# PHP 5.6 # PHP 5.6
EXTENSIONSDIR="/usr/local/lib/php/20131226/" EXTENSIONSDIR="/usr/local/lib/php/20131226/"
...@@ -92,14 +93,14 @@ PHPMODULES="$PHPMODULES json" ...@@ -92,14 +93,14 @@ PHPMODULES="$PHPMODULES json"
PHPMODULES="$PHPMODULES bcmath" PHPMODULES="$PHPMODULES bcmath"
# filter # filter
PHPMODULES="$PHPMODULES filter" PHPMODULES="$PHPMODULES filter"
# phalcon
PHPMODULES="$PHPMODULES phalcon"
# Clear the .ini file to make sure we are clean # Clear the .ini file to make sure we are clean
if [ -f /usr/local/etc/php.ini ]; then rm -f /usr/local/etc/php/extensions.ini
/bin/rm /usr/local/etc/php.ini rm -f /usr/local/etc/php.ini
fi rm -f /usr/local/lib/php.ini
if [ -f /usr/local/lib/php.ini ]; then
/bin/rm /usr/local/lib/php.ini
fi
LOADED_MODULES=`/usr/local/bin/php -m | /usr/bin/grep -v "\["` LOADED_MODULES=`/usr/local/bin/php -m | /usr/bin/grep -v "\["`
# Fetch the timezone from the XML and set it here. We set it later too in the running scripts # Fetch the timezone from the XML and set it here. We set it later too in the running scripts
......
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