Project

General

Profile

« Previous | Next » 

Revision ba35e0de

Added by Luiz Gustavo S. Costa almost 14 years ago

force a set path for ioncube loader

View differences:

etc/rc.php_ini_setup
229 229
# Zend modules
230 230
for EXT in $PHP_ZEND_MODULES; do
231 231
	# Ensure extension exists before adding.
232
	if [ -f "${EXTENSIONSDIR}${EXT}.so" ]; then
233
		echo "zend_extension=${EXTENSIONSDIR}${EXT}.so" >> /usr/local/lib/php.ini
232
	if [ -f "${EXTENSIONSDIR}/ioncube/${EXT}.so" ]; then
233
		echo "zend_extension=${EXTENSIONSDIR}/ioncube/${EXT}.so" >> /usr/local/lib/php.ini
234 234
	fi
235 235
done
236 236

  
237 237
# Zend threaded modules
238 238
for EXT in $PHP_ZEND_MODULES_TS; do
239 239
	# Ensure extension exists before adding.
240
	if [ -f "${EXTENSIONSDIR}${EXT}.so" ]; then
241
		echo "zend_extension_ts=${EXTENSIONSDIR}/${EXT}.so" >> /usr/local/lib/php.ini
240
	if [ -f "${EXTENSIONSDIR}/ioncube/${EXT}.so" ]; then
241
		echo "zend_extension_ts=${EXTENSIONSDIR}/ioncube/${EXT}.so" >> /usr/local/lib/php.ini
242 242
	fi
243 243
done
244 244

  

Also available in: Unified diff