Skip to content

Commit

Permalink
Update PHP.ini settings and Dockerfile preload path
Browse files Browse the repository at this point in the history
The opcache JIT mode has been changed to 'function' in the PHP.ini file for improved OpCode caching. Additionally, the preload path has been corrected in the Dockerfile, pointing now to '/app/docker/preload.php'. This enhances operational efficiency when executing CLI-based PHP scripts.
  • Loading branch information
SmetDenis committed Apr 9, 2024
1 parent d0f6ccd commit b76c51b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ opcache.enable_cli = 1
opcache.interned_strings_buffer = 32
opcache.max_accelerated_files = 10000
opcache.fast_shutdown = 1
opcache.memory_consumption = 100
opcache.memory_consumption = 200
opcache.save_comments = 1
opcache.jit_buffer_size=100M
opcache.jit=function
opcache.jit_buffer_size=200M
opcache.jit=tracing

; Experimantal for really quick script start.
; Save opcache data as files on disk inside the Docker image
Expand Down

0 comments on commit b76c51b

Please sign in to comment.