From 533440771dee4849a4af89971752913be1f89c77 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 15 Feb 2022 01:44:24 +0500 Subject: [PATCH 01/26] testing memcached --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a4afb615a..acb50925d 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", + "ext-memcached": "*" }, "authors": [ { From 2949e2a58c86caf376c61afce4e40ddce341ed2d Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 25 Aug 2022 19:34:40 +0500 Subject: [PATCH 02/26] Update composer.json --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index acb50925d..10ea329dd 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,9 @@ "type": "project", "require": { "alrik11es/cowsayphp": "^1.2", - "ext-memcached": "*" + "ext-memcached": "*", + "ext-pdo_sqlite": "*". + "ext-gd": "*" }, "authors": [ { From ef833fde04e4900a166a3d510d7b2466ed77ce7c Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 25 Aug 2022 19:34:56 +0500 Subject: [PATCH 03/26] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 10ea329dd..1c575af48 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "require": { "alrik11es/cowsayphp": "^1.2", "ext-memcached": "*", - "ext-pdo_sqlite": "*". + "ext-pdo_sqlite": "*", "ext-gd": "*" }, "authors": [ From 379c14caf32822e833cefb30a495aeb69682e385 Mon Sep 17 00:00:00 2001 From: abuttDO Date: Tue, 21 Mar 2023 05:59:46 +0000 Subject: [PATCH 04/26] mv index.php to public/src --- index.php => public/src/index.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename index.php => public/src/index.php (100%) diff --git a/index.php b/public/src/index.php similarity index 100% rename from index.php rename to public/src/index.php From c2b6028d70f092b0f9a21b9673d0bef0ae7cce38 Mon Sep 17 00:00:00 2001 From: abuttDO Date: Tue, 21 Mar 2023 06:11:29 +0000 Subject: [PATCH 05/26] chnage ondex.php vendor autoload line --- public/src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/index.php b/public/src/index.php index aa325b3c1..2b2825d2b 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -1,5 +1,5 @@ Date: Tue, 21 Mar 2023 06:15:09 +0000 Subject: [PATCH 06/26] removed autoload --- public/src/index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/public/src/index.php b/public/src/index.php index 2b2825d2b..87b4f113e 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -1,5 +1,4 @@ Date: Tue, 21 Mar 2023 06:44:46 +0000 Subject: [PATCH 07/26] edited composer.json and add cowsbay package --- composer.json | 5 +---- public/src/index.php | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 1c575af48..a4afb615a 100644 --- a/composer.json +++ b/composer.json @@ -3,10 +3,7 @@ "description": "Sample PHP application for App Platform", "type": "project", "require": { - "alrik11es/cowsayphp": "^1.2", - "ext-memcached": "*", - "ext-pdo_sqlite": "*", - "ext-gd": "*" + "alrik11es/cowsayphp": "^1.2" }, "authors": [ { diff --git a/public/src/index.php b/public/src/index.php index 87b4f113e..2b2825d2b 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -1,4 +1,5 @@ Date: Tue, 21 Mar 2023 06:48:46 +0000 Subject: [PATCH 08/26] install composer --- composer.lock | 2 +- public/src/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index 4675a0820..0a49c99ed 100644 --- a/composer.lock +++ b/composer.lock @@ -73,5 +73,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "1.1.0" } diff --git a/public/src/index.php b/public/src/index.php index 2b2825d2b..aa325b3c1 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -1,5 +1,5 @@ Date: Tue, 21 Mar 2023 07:22:21 +0000 Subject: [PATCH 09/26] change vendor line 2 --- composer.lock | 77 -------------------------------------------- public/src/index.php | 2 +- 2 files changed, 1 insertion(+), 78 deletions(-) delete mode 100644 composer.lock diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 0a49c99ed..000000000 --- a/composer.lock +++ /dev/null @@ -1,77 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "16e03395d34a6908d884db19ef1396b5", - "packages": [ - { - "name": "alrik11es/cowsayphp", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/alrik11es/cowsayphp.git", - "reference": "080dc10c8f5420fef35163569293601f17124eeb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/alrik11es/cowsayphp/zipball/080dc10c8f5420fef35163569293601f17124eeb", - "reference": "080dc10c8f5420fef35163569293601f17124eeb", - "shasum": "" - }, - "require": { - "php": ">=5.6.0" - }, - "require-dev": { - "phpunit/phpunit": "5.*", - "scrutinizer/ocular": "~1.1" - }, - "bin": [ - "bin/cowsayphp" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Cowsayphp\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marcos Sigueros", - "email": "alrik11es@gmail.com", - "homepage": "https://github.com/alrik11es", - "role": "Developer" - } - ], - "description": "Cowsay port in PHP", - "homepage": "https://github.com/alrik11es/cowsayphp", - "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" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "1.1.0" -} diff --git a/public/src/index.php b/public/src/index.php index aa325b3c1..536a813ee 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -1,5 +1,5 @@ Date: Tue, 21 Mar 2023 07:25:16 +0000 Subject: [PATCH 10/26] added composer.lock --- composer.lock | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 composer.lock diff --git a/composer.lock b/composer.lock new file mode 100644 index 000000000..1da0f0fe9 --- /dev/null +++ b/composer.lock @@ -0,0 +1,73 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "16e03395d34a6908d884db19ef1396b5", + "packages": [ + { + "name": "alrik11es/cowsayphp", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/alrik11es/cowsayphp.git", + "reference": "080dc10c8f5420fef35163569293601f17124eeb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/alrik11es/cowsayphp/zipball/080dc10c8f5420fef35163569293601f17124eeb", + "reference": "080dc10c8f5420fef35163569293601f17124eeb", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "require-dev": { + "phpunit/phpunit": "5.*", + "scrutinizer/ocular": "~1.1" + }, + "bin": [ + "bin/cowsayphp" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Cowsayphp\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marcos Sigueros", + "email": "alrik11es@gmail.com", + "homepage": "https://github.com/alrik11es", + "role": "Developer" + } + ], + "description": "Cowsay port in PHP", + "homepage": "https://github.com/alrik11es/cowsayphp", + "keywords": [ + "cowsay" + ], + "time": "2016-08-25T07:53:44+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "1.1.0" +} From ce86d47a528e0f437b752b58b42b5113a2c53426 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 11 Apr 2023 12:10:18 +0500 Subject: [PATCH 11/26] adding mkdir func in index.php --- public/src/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/index.php b/public/src/index.php index 536a813ee..d88781610 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -12,3 +12,5 @@ $cow = Farm::create(\Cowsayphp\Farm\Cow::class); echo $cow->say($text); + +mkdir("test"); From 20af4ec6afb0fafa49f9cf9eb2e45f8d3ff41bad Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 11 Apr 2023 12:15:25 +0500 Subject: [PATCH 12/26] adding path inmkdir func --- public/src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/index.php b/public/src/index.php index d88781610..33e81ca6f 100644 --- a/public/src/index.php +++ b/public/src/index.php @@ -13,4 +13,4 @@ $cow = Farm::create(\Cowsayphp\Farm\Cow::class); echo $cow->say($text); -mkdir("test"); +mkdir("/public/test"); From 5c7c12554855fd4ef8c204c121d1afb32bfaaa2a Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 27 Apr 2023 09:33:48 +0500 Subject: [PATCH 13/26] testing v 8.2.4 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a4afb615a..1b86a6ac9 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.2.4" }, "authors": [ { From 316ef66a8c23c4b29106194dfa922dd3962d7a58 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 27 Apr 2023 09:36:12 +0500 Subject: [PATCH 14/26] updating php v --- composer.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index 1da0f0fe9..a31dada75 100644 --- a/composer.lock +++ b/composer.lock @@ -21,7 +21,7 @@ "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": "^8.2.4" }, "require-dev": { "phpunit/phpunit": "5.*", From 56bbf9cbdb2f88bf1ab3672c2e3010824ab39b6e Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:23:24 +0500 Subject: [PATCH 15/26] creating phpinfo --- public/src/phpinfo.php | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 public/src/phpinfo.php 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 @@ + From 0c6f13e781554f1891136dc1c78a326d74b3cf83 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:35:21 +0500 Subject: [PATCH 16/26] changing php version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1b86a6ac9..37496fee8 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "require": { "alrik11es/cowsayphp": "^1.2", - "php": "^8.2.4" + "php": "^8.1.18" }, "authors": [ { From b9279e0167070ae6aa523152628b1539c0401788 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:36:08 +0500 Subject: [PATCH 17/26] Update composer.lock --- composer.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index a31dada75..c25a0b8ce 100644 --- a/composer.lock +++ b/composer.lock @@ -21,7 +21,7 @@ "shasum": "" }, "require": { - "php": "^8.2.4" + "php": "^8.1.18" }, "require-dev": { "phpunit/phpunit": "5.*", From d8057d335473cfa06dc890c5f6f4f0b4b23e467f Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:48:35 +0500 Subject: [PATCH 18/26] adding user.ini --- public/src/.user.ini | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 public/src/.user.ini diff --git a/public/src/.user.ini b/public/src/.user.ini new file mode 100644 index 000000000..20284d50e --- /dev/null +++ b/public/src/.user.ini @@ -0,0 +1,6 @@ +opcache.memory_consumption=512 +opcache.interned_strings_buffer=64 +opcache.max_accelerated_files=32531 +opcache.validate_timestamps=0 +post_max_size = 20M +upload_max_filesize = 5M From 33d20d6a60a3be804fb8bacb7395d35b3c98c601 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:55:50 +0500 Subject: [PATCH 19/26] updated .user.ini to check timetamp enable disable --- public/src/.user.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/.user.ini b/public/src/.user.ini index 20284d50e..3a969f507 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -1,6 +1,6 @@ opcache.memory_consumption=512 opcache.interned_strings_buffer=64 opcache.max_accelerated_files=32531 -opcache.validate_timestamps=0 +opcache.validate_timestamps=1 post_max_size = 20M upload_max_filesize = 5M From c0d88e0cb2cf5ad813a71c1ceff832e03da5e3ab Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 12:59:45 +0500 Subject: [PATCH 20/26] checking enable and enable cli --- public/src/.user.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/.user.ini b/public/src/.user.ini index 3a969f507..1521943fe 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -1,3 +1,5 @@ +opcache.enable=0 +opcache.enable_cli=0 opcache.memory_consumption=512 opcache.interned_strings_buffer=64 opcache.max_accelerated_files=32531 From 6d7ed9a4c621755346fec98f7968d5f579c843b3 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Tue, 2 May 2023 13:26:54 +0500 Subject: [PATCH 21/26] testing .user.inin in root --- .user.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .user.ini diff --git a/.user.ini b/.user.ini new file mode 100644 index 000000000..997707fb3 --- /dev/null +++ b/.user.ini @@ -0,0 +1,2 @@ +opcache.enable=1 +opcache.enable_cli=0 From 2be2b2afdb9107bd5fa0da1b98ad03803b288e2c Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 28 Sep 2023 14:17:13 +0500 Subject: [PATCH 22/26] Update .user.ini --- public/src/.user.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/src/.user.ini b/public/src/.user.ini index 1521943fe..83a305da4 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -4,5 +4,6 @@ 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 +post_max_size=20M +upload_max_filesize=5M +max_execution_time=100 From 2a5de52aab40023222e6c093afa26719ea7d7ef0 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:01:33 +0500 Subject: [PATCH 23/26] Update .user.ini --- .user.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/.user.ini b/.user.ini index 997707fb3..cba08f284 100644 --- a/.user.ini +++ b/.user.ini @@ -1,2 +1,3 @@ opcache.enable=1 opcache.enable_cli=0 +memory_limit=1024M From 63634a24929c83cc9df1c11686b14638ebf5413c Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:04:39 +0500 Subject: [PATCH 24/26] Update .user.ini --- public/src/.user.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/public/src/.user.ini b/public/src/.user.ini index 83a305da4..e088ad1fc 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -7,3 +7,4 @@ opcache.validate_timestamps=1 post_max_size=20M upload_max_filesize=5M max_execution_time=100 +memory_limit=512M From f29af7866751564203bc00e5518d0646606592ec Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:07:35 +0500 Subject: [PATCH 25/26] Update .user.ini --- public/src/.user.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/.user.ini b/public/src/.user.ini index e088ad1fc..3c754deff 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -7,4 +7,4 @@ opcache.validate_timestamps=1 post_max_size=20M upload_max_filesize=5M max_execution_time=100 -memory_limit=512M +memory_limit=1024M From 9242d68eb6cf55058cc4b41db77ea80de15709c2 Mon Sep 17 00:00:00 2001 From: Ahmed Butt <86029001+abuttDO@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:10:02 +0500 Subject: [PATCH 26/26] Update .user.ini --- public/src/.user.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/.user.ini b/public/src/.user.ini index 3c754deff..ae8a73cc0 100644 --- a/public/src/.user.ini +++ b/public/src/.user.ini @@ -7,4 +7,4 @@ opcache.validate_timestamps=1 post_max_size=20M upload_max_filesize=5M max_execution_time=100 -memory_limit=1024M +memory_limit=2048M