Hi, is there any way to setup laradock with multiples laravel's projects using different PHP versions ? Many thanks for your help
Not really I think. I had something like this once with multiple full instances of laradock alongside each other, but you will need configure it manually so there are no conflicts between them (setting different ports etc). It was ok, but not the most convenient. If someone knows how to do it better I would be glad to know too
Hi, is there any way to setup laradock with multiples laravel's projects using different PHP versions ? Many thanks for your help
Not really I think. I had something like this once with multiple full instances of laradock alongside each other, but you will need configure it manually so there are no conflicts between them (setting different ports etc). It was ok, but not the most convenient. If someone knows how to do it better I would be glad to know too
Thanks for your feedback
Hi friends
I'm Getting permission denied on /var/www/storage/logs/laravel.log for a Laravel app in Laradock
The stream or file "/var/www/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
This happened when I tried to access a method to get data from my database, in a simple GET route.
I'm completely lost in this problem, could anyone help me with this?
I have successfully installed Laradock/Docker (latest version) as well as phpMyAdmin on Mac Monterey. Everything finally works smoothly, but I can not find the config file of phpMyAdmin to add external web servers.
On previous installations (not Laradock), the file phpmyadmin.config.inc.php was in usr/local/etc.
I tried to put the file there with an echo/exit command there but nothing happens. I also tried to put the file in the laradock/phpMyAdmin folder... same result.
What is the solution to add external servers in a config file for phpMyAdmin?
in my .env PHP_WORKER_INSTALL_GD = true
ARG INSTALL_GD=false
RUN if [ ${INSTALL_GD} = true ]; then \
apk add --update --no-cache libwebp-dev freetype-dev libjpeg-turbo-dev jpeg-dev libpng-dev; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ]; then \
docker-php-ext-configure gd --with-freetype --with-jpeg --with-png; \
else \
docker-php-ext-configure gd --with-freetype-dir=/usr/lib/ --with-jpeg-dir=/usr/lib/ --with-png-dir=/usr/lib/; \
fi; \
docker-php-ext-install gd \
;fi
hello guys, I'm currently using MacBook Pro M1 2020 model and currently I'm trying to get mariaDB up using docker and I keep getting this error when I try to run the container.
2022-05-02 1:53:51 0 [ERROR] InnoDB: Missing FILE_CREATE, FILE_DELETE or FILE_MODIFY before FILE_CHECKPOINT for tablespace 367
2022-05-02 1:53:51 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
When I looked through online to find solution, only solution I was finding was deleting image and volume and cloning latest stable version of MariaDB. I have done all that but still getting the same error. Any insight on what's going on?