From 19b4af4f9743f8281480a688b879cc73494c24c8 Mon Sep 17 00:00:00 2001 From: Birgir Haraldsson Date: Wed, 4 Dec 2024 15:23:25 +0100 Subject: [PATCH 1/2] Add a composer.json to enable support for PIE --- composer.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..3871add8 --- /dev/null +++ b/composer.json @@ -0,0 +1,29 @@ +{ + "name": "php-solr/php-solr", + "type": "php-ext", + "license": "PHP-3.01", + "description": "Apache Solr extension", + "require": { + "php": ">= 7.4,<8.5", + "ext-json": "*", + "ext-curl": "*", + "ext-libxml": "*" + }, + "php-ext": { + "extension-name": "solr", + "configure-options": [ + { + "name": "enable-solr", + "description": "Enable solr support" + }, + { + "name": "enable-solr-debug", + "description": "Compile with solr in verbose mode" + }, + { + "name": "enable-coverage", + "description": "Enable developer code coverage information" + } + ] + } +} From be01147dd55583825e7020e05ce66cba6dde40a6 Mon Sep 17 00:00:00 2001 From: Birgir Haraldsson Date: Mon, 9 Dec 2024 08:44:09 +0100 Subject: [PATCH 2/2] Update minimum php requirement to 8.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3871add8..9f132b1e 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "license": "PHP-3.01", "description": "Apache Solr extension", "require": { - "php": ">= 7.4,<8.5", + "php": ">= 8.1,<=8.4", "ext-json": "*", "ext-curl": "*", "ext-libxml": "*"