Skip to content

Commit 5d44d6c

Browse files
authored
[php] Laravel apply opcache preloading (#9950)
* [php] laravel apply opcache preloading * [php] fix: laravel apply opcache preloading not apply for frankenPHP * [php] fix: laravel-s build laravel-s test php 8.0 change composer minimum-stability dev to stable * [php] delete empty file
1 parent f69cde7 commit 5d44d6c

File tree

9 files changed

+1940
-16
lines changed

9 files changed

+1940
-16
lines changed

frameworks/PHP/laravel/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"App\\": "app/"
2626
}
2727
},
28-
"minimum-stability": "dev",
28+
"minimum-stability": "stable",
2929
"prefer-stable": true,
3030
"scripts": {
3131
"post-autoload-dump": [

frameworks/PHP/laravel/deploy/conf/php.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,6 +1886,9 @@ opcache.huge_code_pages=1
18861886
; Prevent name collisions in chroot'ed environment.
18871887
;opcache.validate_root=0
18881888

1889+
opcache.preload_user=www-data
1890+
opcache.preload=/laravel/opcache_preload.php
1891+
18891892
[curl]
18901893
; A default value for the CURLOPT_CAINFO option. This is required to be an
18911894
; absolute path.

0 commit comments

Comments
 (0)