Hi there! I ve an old laravel project that works only with php 7.4 . In my new computer I only ve php 8 and if possible I don’t want to start with fpm’s so I am trying to ve a php instance runing in a docker only for this project.
I ve a postgres server working. My working apache dir is in my home /home/jordi/font
here my vhost → http/vhost.conf - JustPaste.it
here my Dockerfile → Dockerfile - JustPaste.it
here my docker-compose (I can only publish two links sorry…):
version: '3'
services:
web:
image: apache7php:latest
ports:
- "8080:80"
volumes:
- /home/jviure/www/font:/app
#- ./php/02_pdo_pgsql.ini:/etc/php7/conf.d/02_pdo_pgsql.ini
- ./http/vhost.conf:/opt/docker/etc/httpd/vhost.conf
networks:
- overlay
volumes:
postgres-data:
networks:
overlay:
When trying to load localhost:8080 I only see this laravel error:
There is no existing directory at “/home/jviure/www/font/storage/logs” and it could not be created: Permission denied
But this directory has 777 permissions (only for testing)… so, it’s not a permission problems I think.
If I try to load some other url, I get the same error. Can someone give me a little orientation where is the problem? thanks a lot!