diff --git a/.user.ini b/.user.ini new file mode 100644 index 000000000..cba08f284 --- /dev/null +++ b/.user.ini @@ -0,0 +1,3 @@ +opcache.enable=1 +opcache.enable_cli=0 +memory_limit=1024M diff --git a/composer.json b/composer.json index a4afb615a..37496fee8 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,8 @@ "description": "Sample PHP application for App Platform", "type": "project", "require": { - "alrik11es/cowsayphp": "^1.2" + "alrik11es/cowsayphp": "^1.2", + "php": "^8.1.18" }, "authors": [ { diff --git a/composer.lock b/composer.lock index 4675a0820..c25a0b8ce 100644 --- a/composer.lock +++ b/composer.lock @@ -21,7 +21,7 @@ "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": "^8.1.18" }, "require-dev": { "phpunit/phpunit": "5.*", @@ -58,10 +58,6 @@ "keywords": [ "cowsay" ], - "support": { - "issues": "https://github.com/alrik11es/cowsayphp/issues", - "source": "https://github.com/alrik11es/cowsayphp/tree/master" - }, "time": "2016-08-25T07:53:44+00:00" } ], @@ -73,5 +69,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "1.1.0" } diff --git a/public/src/.user.ini b/public/src/.user.ini new file mode 100644 index 000000000..ae8a73cc0 --- /dev/null +++ b/public/src/.user.ini @@ -0,0 +1,10 @@ +opcache.enable=0 +opcache.enable_cli=0 +opcache.memory_consumption=512 +opcache.interned_strings_buffer=64 +opcache.max_accelerated_files=32531 +opcache.validate_timestamps=1 +post_max_size=20M +upload_max_filesize=5M +max_execution_time=100 +memory_limit=2048M diff --git a/index.php b/public/src/index.php similarity index 81% rename from index.php rename to public/src/index.php index aa325b3c1..33e81ca6f 100644 --- a/index.php +++ b/public/src/index.php @@ -1,5 +1,5 @@ say($text); + +mkdir("/public/test"); diff --git a/public/src/phpinfo.php b/public/src/phpinfo.php new file mode 100644 index 000000000..cf6086080 --- /dev/null +++ b/public/src/phpinfo.php @@ -0,0 +1,3 @@ +