Hello,
I use Apache and PHP separately in two YAML files. A network is established between the containers and they see each other:
# docker exec -it nginx-php-php-fpm-1 ping apache-httpd-1
PING apache-httpd-1 (192.168.48.4) 56(84) bytes of data.
64 bytes from apache-httpd-1.My_Network (192.168.48.4): icmp_seq=1 ttl=64 time=0.180 ms
64 bytes from apache-httpd-1.My_Network (192.168.48.4): icmp_seq=2 ttl=64 time=0.096 ms
64 bytes from apache-httpd-1.My_Network (192.168.48.4): icmp_seq=3 ttl=64 time=0.100 ms
^C
--- apache-httpd-1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032ms
rtt min/avg/max/mdev = 0.096/0.125/0.180/0.038 ms
What should I do to connect Apache to PHP?
Cheers.