Skip to content

Commit e34c71f

Browse files
committed
Renable some PHP exts for testing
1 parent 8f79532 commit e34c71f

File tree

14 files changed

+3536
-0
lines changed

14 files changed

+3536
-0
lines changed

.ansible/group_vars/all/mods.yml

Lines changed: 383 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,31 @@ extensions_enabled:
2323
- redis
2424
- zip
2525
- phar
26+
- curl
27+
- fileinfo
28+
- gettext
29+
- interbase
30+
- json
31+
- memcache
32+
- mongo
33+
- mysql
34+
- mysqlnd
35+
- oci8
36+
- odbc
37+
- openssl
38+
- pdo
39+
- pdo_dblib
40+
- pdo_firebird
41+
- pdo_mysql
42+
- pdo_oci
43+
- pdo_odbc
44+
- pdo_pgsql
45+
- pdo_sqlite
46+
- pdo_sqlsrv
47+
- psr
48+
- sqlite3
49+
- sqlsrv
50+
- phalcon
2651

2752

2853
# The following specifies how modules are being built.
@@ -588,3 +613,361 @@ extensions_available:
588613
5.2:
589614
type: pecl
590615
build_dep: [libssl-dev]
616+
curl:
617+
disabled: []
618+
already_avail: "{{ php_all_versions }}"
619+
fileinfo:
620+
disabled: []
621+
already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
622+
5.2:
623+
type: pecl
624+
build_dep: [libmagic-dev]
625+
run_dep: [libmagic1]
626+
gettext:
627+
disabled: []
628+
all:
629+
type: builtin
630+
interbase:
631+
disabled: [7.4, 8.0, 8.1, 8.2]
632+
all:
633+
type: builtin
634+
build_dep: [libfbclient2, libib-util, firebird-dev]
635+
run_dep: [libfbclient2]
636+
json:
637+
disabled: []
638+
already_avail: "{{ php_all_versions }}"
639+
memcache:
640+
disabled: []
641+
all:
642+
type: pecl
643+
build_dep: [zlib1g-dev]
644+
7.4:
645+
type: pecl
646+
version: 4.0.5.2
647+
7.3:
648+
type: pecl
649+
version: 4.0.5.2
650+
7.2:
651+
type: pecl
652+
version: 4.0.5.2
653+
7.1:
654+
type: pecl
655+
version: 4.0.5.2
656+
7.0:
657+
type: pecl
658+
version: 4.0.5.2
659+
5.6:
660+
type: pecl
661+
version: 2.2.7
662+
5.5:
663+
type: pecl
664+
version: 2.2.7
665+
5.4:
666+
type: pecl
667+
version: 2.2.7
668+
5.3:
669+
type: pecl
670+
version: 2.2.7
671+
5.2:
672+
type: pecl
673+
version: 2.2.7
674+
mongo:
675+
disabled: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
676+
all:
677+
type: pecl
678+
command: yes yes | pecl install mongo
679+
build_dep: [libssl-dev, libsasl2-dev]
680+
5.2:
681+
type: pecl
682+
command: yes yes | pecl install mongo-1.5.8
683+
mysql:
684+
disabled: [7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
685+
all:
686+
type: builtin
687+
configure: --with-mysql --with-mysql-sock --with-zlib-dir=/usr --with-libdir="/lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"
688+
run_dep: [libmysqlclient18]
689+
build_dep: [libmysqlclient-dev]
690+
5.6:
691+
type: builtin
692+
run_dep: [libmariadbclient18]
693+
build_dep: [libmariadbclient-dev]
694+
mysqlnd:
695+
disabled: [5.2]
696+
already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
697+
oci8:
698+
disabled: [5.2]
699+
all:
700+
type: builtin
701+
configure: --with-oci8=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
702+
pre: |
703+
ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \
704+
&& ORACLE_HREF="$( \
705+
curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \
706+
| tac \
707+
| tac \
708+
| grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \
709+
| tail -1 \
710+
)" \
711+
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
712+
&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \
713+
\
714+
&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \
715+
&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
716+
https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
717+
&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
718+
https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
719+
&& alien \
720+
-v \
721+
--target=$( dpkg --print-architecture ) \
722+
-i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
723+
&& alien \
724+
-v \
725+
--target=$( dpkg --print-architecture ) \
726+
-i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
727+
&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
728+
&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
729+
build_dep: [alien, libaio-dev]
730+
run_dep: [libaio1]
731+
post: |
732+
ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \
733+
&& ORACLE_HREF="$( \
734+
curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \
735+
| tac \
736+
| tac \
737+
| grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \
738+
| tail -1 \
739+
)" \
740+
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
741+
&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \
742+
&& (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \
743+
odbc:
744+
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
745+
openssl:
746+
disabled: []
747+
already_avail: "{{ php_all_versions }}"
748+
pdo:
749+
disabled: []
750+
already_avail: "{{ php_all_versions }}"
751+
pdo_dblib:
752+
disabled: []
753+
all:
754+
type: builtin
755+
pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/
756+
build_dep: [freetds-dev]
757+
run_dep: [libsybdb5]
758+
pdo_firebird:
759+
disabled: []
760+
all:
761+
type: builtin
762+
build_dep: [libfbclient2, libib-util, firebird-dev]
763+
run_dep: [libfbclient2]
764+
pdo_mysql:
765+
disabled: []
766+
all:
767+
type: builtin
768+
configure: --with-zlib-dir=/usr
769+
run_dep: [libmariadbd19]
770+
build_dep: [zlib1g-dev, libmariadb-dev]
771+
7.0:
772+
type: builtin
773+
run_dep: [libmariadbclient18]
774+
build_dep: [zlib1g-dev, libmariadbclient-dev]
775+
5.6:
776+
type: builtin
777+
run_dep: [libmariadbclient18]
778+
build_dep: [zlib1g-dev, libmariadbclient-dev]
779+
5.5:
780+
type: builtin
781+
run_dep: [libmysqlclient18]
782+
build_dep: [zlib1g-dev, libmysqlclient-dev]
783+
5.4:
784+
type: builtin
785+
run_dep: [libmysqlclient18]
786+
build_dep: [zlib1g-dev, libmysqlclient-dev]
787+
5.3:
788+
type: builtin
789+
run_dep: [libmysqlclient18]
790+
build_dep: [zlib1g-dev, libmysqlclient-dev]
791+
5.2:
792+
type: builtin
793+
run_dep: [libmysqlclient18]
794+
build_dep: [zlib1g-dev, libmysqlclient-dev]
795+
pdo_oci:
796+
disabled: [5.2, 5.3, 5.4, 5.5, 5.6]
797+
all:
798+
type: builtin
799+
configure: --with-pdo-oci=instantclient,/usr,${ORACLE_VERSION_MAJOR}
800+
pre: |
801+
ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \
802+
&& ORACLE_HREF="$( \
803+
curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \
804+
| tac \
805+
| tac \
806+
| grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \
807+
| tail -1 \
808+
)" \
809+
&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \
810+
&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \
811+
\
812+
&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \
813+
&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
814+
https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
815+
&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
816+
https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
817+
&& alien \
818+
-v \
819+
--target=$( dpkg --print-architecture ) \
820+
-i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
821+
&& alien \
822+
-v \
823+
--target=$( dpkg --print-architecture ) \
824+
-i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
825+
&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
826+
&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \
827+
&& (ln -s /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \
828+
build_dep: [alien]
829+
8.2:
830+
type: builtin
831+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
832+
8.1:
833+
type: builtin
834+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
835+
8.0:
836+
type: builtin
837+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
838+
7.4:
839+
type: builtin
840+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
841+
7.3:
842+
type: builtin
843+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
844+
7.2:
845+
type: builtin
846+
configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR}
847+
pdo_odbc:
848+
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
849+
pdo_pgsql:
850+
disabled: []
851+
all:
852+
type: builtin
853+
build_dep: [libpq-dev]
854+
run_dep: [libpq5]
855+
pdo_sqlite:
856+
disabled: []
857+
already_avail: "{{ php_all_versions }}"
858+
pdo_sqlsrv:
859+
disabled: [5.2, 5.3, 5.4, 5.5, 5.6]
860+
all:
861+
type: pecl
862+
build_dep: [unixodbc-dev]
863+
run_dep: [unixodbc]
864+
7.3:
865+
type: pecl
866+
version: 5.9.0
867+
7.2:
868+
type: pecl
869+
version: 5.8.1
870+
7.1:
871+
type: pecl
872+
version: 5.6.1
873+
7.0:
874+
type: pecl
875+
version: 5.3.0
876+
psr:
877+
disabled: [5.2, 5.3]
878+
all:
879+
type: pecl
880+
7.2:
881+
type: pecl
882+
version: 1.1.0
883+
7.1:
884+
type: pecl
885+
version: 1.1.0
886+
7.0:
887+
type: pecl
888+
version: 1.1.0
889+
5.6:
890+
type: pecl
891+
version: 0.6.0 # NOTE: 0.6.1 fails with: Package "psr" Version "0.6.1" does not have REST xml available
892+
5.5:
893+
type: pecl
894+
version: 0.5.1
895+
5.4:
896+
type: pecl
897+
version: 0.5.1
898+
sqlite3:
899+
disabled: [5.2]
900+
already_avail: "{{ php_all_versions }}"
901+
sqlsrv:
902+
disabled: [5.2, 5.3, 5.4, 5.5, 5.6]
903+
all:
904+
type: pecl
905+
build_dep: [unixodbc-dev]
906+
run_dep: [unixodbc]
907+
7.3:
908+
type: pecl
909+
version: 5.9.0
910+
7.2:
911+
type: pecl
912+
version: 5.8.1
913+
7.1:
914+
type: pecl
915+
version: 5.6.1
916+
7.0:
917+
type: pecl
918+
version: 5.3.0
919+
phalcon:
920+
disabled: [5.2, 8.2]
921+
all:
922+
type: git
923+
git_url: https://github.com/phalcon/cphalcon
924+
git_ref: |
925+
$(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags \
926+
| sort -V \
927+
| sed 's/^.*tags\///g' \
928+
| grep -E '^v[.0-9]+$' \
929+
| tail -1 \
930+
) \
931+
command: cd build && ./install
932+
build_dep: [libpcre3-dev, re2c]
933+
run_dep: []
934+
7.3:
935+
type: git
936+
git_url: https://github.com/phalcon/cphalcon
937+
git_ref: v4.1.2
938+
command: cd build && ./install
939+
7.2:
940+
type: git
941+
git_url: https://github.com/phalcon/cphalcon
942+
git_ref: v4.1.1
943+
command: cd build && ./install
944+
7.1:
945+
type: git
946+
git_url: https://github.com/phalcon/cphalcon
947+
git_ref: v3.4.4
948+
command: cd build && ./install
949+
7.0:
950+
type: git
951+
git_url: https://github.com/phalcon/cphalcon
952+
git_ref: v3.4.4
953+
command: cd build && ./install
954+
5.6:
955+
type: git
956+
git_url: https://github.com/phalcon/cphalcon
957+
git_ref: v3.4.4
958+
command: cd build && ./install
959+
5.5:
960+
type: git
961+
git_url: https://github.com/phalcon/cphalcon
962+
git_ref: v3.4.4
963+
command: cd build && ./install
964+
5.4:
965+
type: git
966+
git_url: https://github.com/phalcon/cphalcon
967+
git_ref: phalcon-v2.0.13
968+
command: cd build && ./install
969+
5.3:
970+
type: git
971+
git_url: https://github.com/phalcon/cphalcon
972+
git_ref: phalcon-v2.0.9
973+
command: cd build && ./install

0 commit comments

Comments
 (0)