WordPress with the latest version of PHP8.0, permission fixes, and php.ini optimizations
4.7K
The images produced in this repository made with the official WordPress Dockerfiles (Linux Alpine based), but fixing the permission issues in WordPress theme, and plugin directories out of the box. Also a php,ini file was added in order to increase the upload limits, and also adjusting cgi.fix_pathinfo = 0.
For those using the Redis Object Cache plugin, should pull the appropriate image with "docker pull admintuts/wordpress:php7.3-fpm-redis-alpine", and then update the wp-config file adding the following values:
define( 'WP_REDIS_HOST', redis); # The most important variable. The container name that runs redis-server on. define( 'WP_CACHE_KEY_SALT', random_salt); define( 'WP_REDIS_SERIALIZER', Redis::SERIALIZER_PHP ); define( 'WP_REDIS_IGBINARY ', false );
Without adjusting WP_REDIS_HOST variable, PhpRedis can not connect to the container Redis server (hostname:6379). In Docker, container names are treated as hostnames, so a value must definitely be given.
Content type
Image
Digest
Size
64.5 MB
Last updated
over 5 years ago
docker pull admintuts/wordpress