Commit Graph

51 Commits

Author SHA1 Message Date
Tianon Gravi 837c4a252b Adjust PHP documentation organization, especially to utilize "variants" template functionality
This will hopefully help clarify some of the image variants and should remove things like the Apache documentation from arm32v6/php (where the image doesn't exist so the documentation doesn't apply).
2018-11-21 15:56:42 -08:00
Jakob Linskeseder 3600594ba2 Add information on PHP configuration
The PHP image will ship with the default development and production
INI files in order to make it easier to securely configure PHP.

See https://github.com/docker-library/php/pull/711
2018-09-07 16:00:38 +02:00
Jason McCallister 3f503a02fd Update examples to use PHP 7.2 instead of 7.0 2018-07-25 12:48:50 -07:00
J0WI ecd50e32cf Add hint to install PECL extensions in series (#1243) 2018-06-05 09:43:28 -07:00
Tianon Gravi e50f032033 Add a short note about checking "php -m" before compiling more extensions 2018-05-22 09:35:51 -07:00
Tianon Gravi 27d9b1829c Add a new section in the PHP documentation about running as an arbitrary user
This is adapated from what's discussed in https://github.com/docker-library/wordpress/pull/249 (and https://github.com/docker-library/wordpress/issues/256, among others).
2018-05-08 10:53:25 -07:00
Tianon Gravi 544a48aa7f Slightly reorganize PHP documentation 2018-05-08 10:53:11 -07:00
Tianon Gravi 4cf828680b Update "pecl install" lines and add more explanation for why users should use explicit versions when installing from PECL 2018-04-19 13:12:29 -07:00
Philipp Zumstein 6a4184b7aa
[PHP] Fix quotation marks 2018-01-06 08:56:23 +01:00
Tianon Gravi aab8b5b1dc Add a note about blocked Debian PHP packages 2018-01-03 16:29:59 -08:00
Tianon Gravi a64dcc8de9 Add a link to "Dockerizing Compiled Software" in the "PHP Core Extensions" section of PHP's docs 2017-12-26 14:08:11 -08:00
Noah A 38751cd3cb
Clarify that all variants include the PHP cli 2017-11-15 15:17:28 -08:00
Tianon Gravi b48ce3c877 Swap "libpng12-dev" for "libpng-dev" metapackage in PHP example
Closes https://github.com/docker-library/php/issues/485
2017-10-11 17:54:29 -07:00
Tianon Gravi 25a5b70c1b Adjust a ton of image references (especially to use %%IMAGE%%) 2017-10-09 15:30:46 -07:00
Tianon Gravi dd3aead281 Move up "without a dockerfile" section 2017-09-11 12:11:46 -07:00
Tianon Gravi 1ace9e933b Reword DocumentRoot section slightly (and update formatting for "markdownfmt") 2017-09-11 12:11:46 -07:00
Jason McCallister b6d3320ff9 Adds example on setting a docroot with Apache
Addresses comments made here: https://github.com/docker-library/php/issues/246
2017-09-11 12:11:46 -07:00
Tianon Gravi 001a2e7370 Add an example of installing "redis" and "xdebug" from PECL (PHP 7.1 compatible) 2016-12-19 14:14:39 -08:00
yosifkit 4a4901d8a9 Merge pull request #768 from infosiftr/xcache
Fix xcache example and add example of using docker-php-ext-* with an absolute path
2016-12-12 09:44:18 -08:00
yosifkit 95334780c6 Merge pull request #767 from infosiftr/php-memcached
Update PHP memcached example to properly compile again
2016-12-12 09:43:12 -08:00
Tianon Gravi 005da92838 Fix xcache example and add example of using docker-php-ext-* with an absolute path 2016-12-10 13:31:28 -08:00
Tianon Gravi 1108636f8d Update more spaces to tabs 2016-12-10 08:46:38 -08:00
Tianon Gravi da60ddc93a Update spaces to tabs 2016-12-10 08:46:12 -08:00
Tianon Gravi ce752e68eb Update PHP memcached example to properly compile again 2016-12-10 08:16:20 -08:00
Tianon Gravi 1f0177487b Update PHP canonical examples from 5.6 to 7.0 2016-07-14 14:31:27 -07:00
Tianon Gravi 5785068d91 Update "FROM" to be consistently "php:5.6*" 2016-07-14 14:29:51 -07:00
Tianon Gravi 329e98a68f Give PHP the "proper" proper-noun treatment 2016-07-14 14:28:56 -07:00
Joe Ferguson e684406d7e Add explanation to php for `docker-php-source` 2016-07-12 17:18:59 -07:00
Tianon Gravi 95b865c7c8 Remove "-it" from Apache invocations of "docker run" (due to SIGWINCH killing Apache, by design)
See https://bz.apache.org/bugzilla/show_bug.cgi?id=50669 for additional detail from upstream.
2016-02-11 08:31:09 -08:00
Tianon Gravi e216e2f546 Fix whitespace and update examples and organization 2016-01-19 12:39:07 -08:00
Grummfy 4c2af775a8 Adding an example about pecl extension 2016-01-19 12:39:07 -08:00
Rogerio Prado de Jesus c5e7d59e54 Fix instruction for without dockerfile example
Thanks to @wsilva! Without explicit port forwarding, the command did not work.
2015-12-02 11:16:20 -02:00
Bascht 3309d1f409 [php] Fix php.ini COPY Documentation
Apparently COPY will expect a full target path nowadays:

```
Step 0 : FROM php:5.6-apache
 ---> 86db229ab259
Step 1 : COPY config/php.ini /usr/local/etc/php
stat /var/lib/docker/devicemapper/mnt/cb571a2599018afc008c08a509d201d4937eed74a22621efa94e3ef32bebc869/rootfs/usr/local/etc/php/php.ini: not a directory
```
2015-08-14 08:33:55 +02:00
Tianon Gravi 481f43ec2f Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
Nicolas Dermine d4b930b4e0 fix typo 2015-07-01 05:25:22 +02:00
Tianon Gravi f4bbd50253 Reformat PHP's "more extensions" example to match our standard Dockerfile formatting 2015-02-20 11:49:26 -07:00
Tianon Gravi 49446b9f69 Update php:5.5 references to be php:5.6
Fixes #142
2015-02-20 11:47:01 -07:00
Tianon Gravi a71fa247d9 FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
Joe Ferguson d692597772 Whitespace adjustments and run update.sh 2015-02-10 16:11:11 -08:00
AaronJan 683a685ed1 fix a typo (to enable jpeg support) 2015-02-10 21:35:22 +08:00
yosifkit 93560d312d Merge pull request #149 from shafan/patch-1
Update configuration File (php.ini) Path
2015-02-06 13:35:58 -08:00
Pierre Galvez 3482c911ce Update content.md 2015-02-06 21:35:35 +01:00
Pierre Galvez f0ce20d51a Update configuration File (php.ini) Path 2015-02-04 23:41:49 +01:00
Stuart P. Bentley 561ef9619a Replace `$(pwd)` with `$PWD` 2015-02-04 20:06:32 +00:00
AaronJan 581049b1b4 Make `Dockerfile` shorter and better 2015-01-15 19:41:38 +08:00
AaronJan 19c9cdcbb8 Add backticks. 2015-01-07 09:56:45 +08:00
AaronJan d06efc45cc Make this more clear 2015-01-06 18:03:31 +08:00
AaronJan 471fdbf0ad Add description for `docker-php-ext-install` 2014-12-31 17:45:52 +08:00
Joe Ferguson e47b8e28c4 Add php.ini usage 2014-11-03 10:48:46 -08:00
Tianon Gravi 7d3134f982 Add LOGO magic to many contents and update.sh 2014-09-26 17:22:36 -06:00