Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Have pcntl compiled in, disabled opcache for cli by default (#258)
Browse files Browse the repository at this point in the history
* Have pcntl compiled in, disabled opcache for cli by default

* Added libuv1 runtime explicitly
  • Loading branch information
Takashi Matsuo authored Apr 20, 2017
1 parent 9383750 commit d564031
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion deb-package-builder/debian/rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ override_dh_auto_configure:
--enable-mbstring \
--enable-mysqlnd \
--enable-opcache \
--enable-pcntl=shared \
--enable-pcntl \
--enable-shared \
--enable-shmop=shared \
--enable-soap=shared \
Expand Down
4 changes: 4 additions & 0 deletions deb-package-builder/extensions/libuv/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ echo "Downloading libuv and libuv-dev from backports"
for PKG in `apt-get install --reinstall --print-uris -qq libuv1-dev | cut -d"'" -f2`; do
curl -o ${ARTIFACT_DIR}/$(basename $PKG) $PKG
done

for PKG in `apt-get install --reinstall --print-uris -qq libuv1 | cut -d"'" -f2`; do
curl -o ${ARTIFACT_DIR}/$(basename $PKG) $PKG
done
2 changes: 1 addition & 1 deletion php-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ These extensions are enabled as builtin:
- MySQLi (uses mysqlnd)
- OPcache
- OpenSSL
- PCNTL (pcntl)
- PostgreSQL
- PostgreSQL (PDO)
- Readline
Expand All @@ -239,7 +240,6 @@ These extensions are compiled as shared, but disabled by default. You will need
- mongodb (mongodb)
- MySQL (mysql, not available for PHP 7+)
- OAuth (oauth)
- PCNTL (pcntl)
- Phalcon (phalcon, third-party, not available for PHP 7.1)
- PostgreSQL (pq, also requires raphf)
- RAPHF (raphf)
Expand Down
1 change: 0 additions & 1 deletion php-nginx/install_extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class InstallExtensions
'intl',
'mbstring',
'mysql',
'pcntl',
'shmop',
'soap',
'sqlite3',
Expand Down
2 changes: 1 addition & 1 deletion php-nginx/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ ldap.max_links = -1
opcache.enable=1

; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=0
opcache.enable_cli=0

; The OPcache shared memory storage size.
;opcache.memory_consumption=64
Expand Down
1 change: 0 additions & 1 deletion testapps/php56_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"ext-gettext": "*",
"ext-intl": "*",
"ext-memcache": "*",
"ext-pcntl": "*",
"ext-shmop": "*",
"ext-soap": "*",
"ext-sqlite3": "*",
Expand Down
1 change: 0 additions & 1 deletion testapps/php70_custom/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ extension=ftp.so
extension=gd.so
extension=gettext.so
extension=intl.so
extension=pcntl.so
extension=shmop.so
extension=soap.so
extension=sqlite3.so
Expand Down
2 changes: 1 addition & 1 deletion testapps/php70_custom/tests/tests/PHP7CustomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class PHP7CustomTest extends \PHPUnit_Framework_TestCase
'session',
'PDO',
'standard',
'pcntl',
'pdo_pgsql',
'pgsql',
'Phar',
Expand Down Expand Up @@ -75,7 +76,6 @@ class PHP7CustomTest extends \PHPUnit_Framework_TestCase
'mbstring',
'memcached',
'mysql',
'pcntl',
'redis',
'shmop',
'soap',
Expand Down
1 change: 0 additions & 1 deletion testapps/php70_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"ext-gd": "*",
"ext-gettext": "*",
"ext-intl": "*",
"ext-pcntl": "*",
"ext-shmop": "*",
"ext-soap": "*",
"ext-sqlite3": "*",
Expand Down
1 change: 0 additions & 1 deletion testapps/php71_custom/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ extension=ftp.so
extension=gd.so
extension=gettext.so
extension=intl.so
extension=pcntl.so
extension=shmop.so
extension=soap.so
extension=sqlite3.so
Expand Down
2 changes: 1 addition & 1 deletion testapps/php71_custom/tests/tests/PHP71CustomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class PHP7CustomTest extends \PHPUnit_Framework_TestCase
'session',
'PDO',
'standard',
'pcntl',
'pdo_pgsql',
'pgsql',
'Phar',
Expand Down Expand Up @@ -75,7 +76,6 @@ class PHP7CustomTest extends \PHPUnit_Framework_TestCase
'mbstring',
'memcached',
'mysql',
'pcntl',
'redis',
'shmop',
'soap',
Expand Down
1 change: 0 additions & 1 deletion testapps/php71_extensions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"ext-gd": "*",
"ext-gettext": "*",
"ext-intl": "*",
"ext-pcntl": "*",
"ext-shmop": "*",
"ext-soap": "*",
"ext-sqlite3": "*",
Expand Down

0 comments on commit d564031

Please sign in to comment.