php.ini.patch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --- php.ini-production.orig
  2. +++ php.ini-production
  3. @@ -756,7 +756,7 @@
  4. ; Directory in which the loadable extensions (modules) reside.
  5. ; http://php.net/extension-dir
  6. -;extension_dir = "./"
  7. +extension_dir = "/usr/lib/php/modules/"
  8. ; On windows:
  9. ;extension_dir = "ext"
  10. @@ -904,49 +904,45 @@
  11. ; deprecated in a future PHP major version. So, when it is possible, please
  12. ; move to the new ('extension=<ext>) syntax.
  13. ;
  14. -; Notes for Windows environments :
  15. -;
  16. -; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
  17. -; extension folders as well as the separate PECL DLL download (PHP 5+).
  18. -; Be sure to appropriately set the extension_dir directive.
  19. -;
  20. +;extension=bcmath
  21. ;extension=bz2
  22. -;extension=curl
  23. +;extension=calendar
  24. +extension=curl
  25. +;extension=dba
  26. +;extension=enchant
  27. +;extension=exif
  28. ;extension=ffi
  29. ;extension=ftp
  30. -;extension=fileinfo
  31. -;extension=gd2
  32. +;extension=gd
  33. ;extension=gettext
  34. ;extension=gmp
  35. -;extension=intl
  36. +;extension=iconv
  37. ;extension=imap
  38. +;extension=intl
  39. ;extension=ldap
  40. -;extension=mbstring
  41. -;extension=exif ; Must be after mbstring as it depends on it
  42. ;extension=mysqli
  43. -;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
  44. ;extension=odbc
  45. -;extension=openssl
  46. -;extension=pdo_firebird
  47. +;zend_extension=opcache
  48. +;extension=pdo_dblib
  49. ;extension=pdo_mysql
  50. -;extension=pdo_oci
  51. ;extension=pdo_odbc
  52. ;extension=pdo_pgsql
  53. ;extension=pdo_sqlite
  54. ;extension=pgsql
  55. +;extension=pspell
  56. ;extension=shmop
  57. -
  58. -; The MIBS data available in the PHP distribution must be installed.
  59. -; See http://www.php.net/manual/en/snmp.installation.php
  60. ;extension=snmp
  61. -
  62. ;extension=soap
  63. ;extension=sockets
  64. ;extension=sodium
  65. ;extension=sqlite3
  66. +;extension=sysvmsg
  67. +;extension=sysvsem
  68. +;extension=sysvshm
  69. ;extension=tidy
  70. ;extension=xmlrpc
  71. ;extension=xsl
  72. +extension=zip
  73. ;;;;;;;;;;;;;;;;;;;
  74. ; Module Settings ;