Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify all necessary PHP 7 modules are enabled #501

Closed
3 tasks
austinpray opened this issue Feb 24, 2016 · 9 comments
Closed
3 tasks

Verify all necessary PHP 7 modules are enabled #501

austinpray opened this issue Feb 24, 2016 · 9 comments

Comments

@austinpray
Copy link
Contributor

  • List modules enabled on Trellis 0.9.3 (php 5)
  • List modules enabled on Trellis 0.9.6 (php 7)
  • Reconcile differences

http://wordpress.stackexchange.com/a/42212

@BrandonShutter
Copy link
Contributor

This is with php7.0-xml added.

PHP5 PHP7
bcmath
bz2
calendar calendar
Core Core
ctype ctype
curl curl
date date
dba
dom dom
ereg
exif exif
fileinfo fileinfo
filter filter
ftp ftp
gd gd
gettext gettext
hash hash
iconv iconv
igbinary
imap
json json
libxml libxml
mbstring
mcrypt mcrypt
memcached memcached
msgpack
mhash
mysql
mysqli mysqli
mysqlnd mysqlnd
openssl openssl
pcntl pcntl
pcre pcre
PDO PDO
pdo_mysql pdo_mysql
Phar Phar
posix posix
readline readline
Reflection Reflection
session session
shmop shmop
SimpleXML SimpleXML
soap
sockets sockets
SPL SPL
standard standard
sysvmsg sysvmsg
sysvsem sysvsem
sysvshm sysvshm
tokenizer tokenizer
wddx wddx
xml xml
xmlreader xmlreader
xmlrpc
xmlwriter xmlwriter
xsl
Zend OPcache Zend OPcache
zip
zlib zlib

@QWp6t
Copy link
Sponsor Member

QWp6t commented Feb 24, 2016

@BrandonShutter did you add any extensions to php7? My list differs from yours.

@BrandonShutter
Copy link
Contributor

Yes I added php7.0-xml, and I added that notation now in the original reply, must have been removed when I copied and pasted the table in there.

@BrandonShutter
Copy link
Contributor

Going and installing all the packages that are available here: https://packages.debian.org/search?keywords=php7.0

The packages that I installed are:

  - php7.0-bcmath
  - php7.0-bz2
  - php7.0-imap
  - php7.0-soap
  - php7.0-xml
  - php7.0-xmlrpc
  - php7.0-zip

Leaves me with this comparison:

PHP5 PHP 7
bcmath bcmath
bz2 bz2
calendar calendar
Core Core
ctype ctype
curl curl
date date
dba
dom dom
ereg
exif exif
fileinfo fileinfo
filter filter
ftp ftp
gd gd
gettext gettext
hash hash
iconv iconv
igbinary
imap imap
json json
libxml libxml
mbstring
mcrypt mcrypt
memcached memcached
msgpack
mhash
mysql
mysqli mysqli
mysqlnd mysqlnd
openssl openssl
pcntl pcntl
pcre pcre
PDO PDO
pdo_mysql pdo_mysql
Phar Phar
posix posix
readline readline
Reflection Reflection
session session
shmop shmop
SimpleXML SimpleXML
soap soap
sockets sockets
SPL SPL
standard standard
sysvmsg sysvmsg
sysvsem sysvsem
sysvshm sysvshm
tokenizer tokenizer
wddx wddx
xml xml
xmlreader xmlreader
xmlrpc xmlrpc
xmlwriter xmlwriter
xsl
Zend OPcache Zend OPcache
zip zip
zlib zlib

Note, that installed php7.0-zip fixes the Composer issues found here: https://discourse.roots.io/t/composer-wp-packagist-failure-to-download-on-trellis-deploy/6018/11

@swalkinshaw
Copy link
Member

I purposely left the imap extension out for Trellis' purposes since we don't need it.

@BrandonShutter
Copy link
Contributor

I figured there was some reason why some weren't added, and that's why I didn't open this up in a PR. This is as close as to the 'same' as php5 was, using available debian packages.

@swalkinshaw
Copy link
Member

imap was really the only one not consciously added. There others were mostly left out since stock WP was working fine without them. I wanted the smallest subset possible but it seems like there's still common ones which should be re-added now. xml and zip being the two main ones.

@BrandonShutter
Copy link
Contributor

I nominate we add xmlrpc as well, due to people using the Wordpress app.

@swalkinshaw
Copy link
Member

Closed by #503

xml, xmlrpc, and zip were added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants