Lim Sing

I get the error when building my docker kibana container:

failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:XXX: not found

Solved this error by running:

  1. Go to your local docker desktop, clicked setting
  2. Click Docker Engine, set `buildkit` to false :
"features": {
"buildkit": false

but then hit another error:

no matching manifest for linux/arm64/v8 in the manifest list entries

solved by editing docker-compose for the container:

platform: linux/amd64



Problem: I get this error from running my custom lumen packagist (version — 8.3.1):

Class 'League\Flysystem\Adapter\Local' not found


This is an issue from installing version 2.0 for league/flysystem, you need to install league/flysystem packagists to version 1 in order to access the missing adapter by running:

composer require — dev league/flysystem ^1.0



I get following error when try to docker compose build mysql for laradock:

=> ERROR [laradock_mysql internal] load metadata for

The command i ran:

docker-compose up -d nginx mysql phpmyadmin redis workspace

My solution is platform in your docker compose file (technically not resolve running MySQL on ARM):




1. vi /etc/httpd/conf/httpd.conf
Listen 8080
2. touch xx.conf file in /etc/httpd/conf.d
3. edit this file xx.conf
4. systemctl restart httpd
5. if failed, change to port 8080, then repeat 1

<VirtualHost *:8080>
DocumentRoot /var/www/html/xx/public

<Directory /var/www/html/xx>
AllowOverride All

— — — — — — —…



Check running process (eg grep artisan (for artisan only))
ps aux|grep artisan

Stop running process
- can get PID from above
kill 88888

stop all artisan process
pkill -f artisan


sudo cat /www/server/panel/data/ && /etc/init.d/bt restart



It known as Zend Optimizer+, Opcache, which can help to improve server and applications performance. It work by pre-compiling script byte-code in shared memory, so it help removing the need for php to load and parse scripts on each client request.

  1. yum install php-opcache
  2. run php -v to ensure php has this extension, will show:
  1. vi /etc/php.d/10-opcache.ini
  2. enable all of these by uncomment them:

4. service httpd restart or systemctl restart nginx