Directory where site is accessible
Directory where the config is stored (php release, postfix).
Set this variable to use sendmail host from php
Set the relay_host for the postfix
Make an alias from /www to $ALTERNATE_LINK_WWW
9000
All postfix config are in 'config' directory and is up when docker start
You need to change user and group variables in ./config/php/5.?/php-fpm.d/www.conf Put the same UID and GID from your apache/nginx host, like user = 33 group = 33
Activate module fcgi
a2enmod proxy_fcgi
and restart apache
In your vhosts put:
DocumentRoot /var/www/mysite
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:**9000**/www/mysite/$1
docker run -p 9000:9000 -v /var/www/:/www --name phpfpm5 vdeapps/phpfpm5
make /usr/local/bin/php5.? and put:
#!/bin/bash
CMD="docker exec -it vdeapps_phpfpm5?_debian /usr/bin/php $*"
$CMD
Content type
Image
Digest
Size
112.9 MB
Last updated
about 7 years ago
docker pull vdeapps/phpfpm5_debian:5.6