mirror of
https://github.com/danog/php.git
synced 2025-01-22 04:51:20 +01:00
Merge pull request #49 from jaredm4/master
Load opcache as a zend_extension.
This commit is contained in:
commit
4a5d6cfe69
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
@ -44,7 +44,12 @@ for ext in "${exts[@]}"; do
|
||||
ini="/usr/local/etc/php/conf.d/docker-php-ext-$ext.ini"
|
||||
for module in modules/*.so; do
|
||||
if [ -f "$module" ]; then
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(basename "$module")"
|
||||
else
|
||||
line="extension=$(basename "$module")"
|
||||
fi
|
||||
if ! grep -q "$line" "$ini"; then
|
||||
echo "$line" >> "/usr/local/etc/php/conf.d/ext-$ext.ini"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user