diff --git a/repositories.bzl b/repositories.bzl index ef5832bcd..20e36bf1c 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -25,7 +25,7 @@ def gapic_generator_php_repositories(): urls = ["https://github.com/googleapis/rules_gapic/archive/v%s.tar.gz" % _rules_gapic_version], ) - _php_version = "8.2.30" + _php_version = "8.2.35" maybe( php, name = "php_micro", diff --git a/rules_php_gapic/resources/php-8.1.13_linux_x86_64.tar.gz b/rules_php_gapic/resources/php-8.1.13_linux_x86_64.tar.gz deleted file mode 100644 index 7c1cd4afd..000000000 Binary files a/rules_php_gapic/resources/php-8.1.13_linux_x86_64.tar.gz and /dev/null differ diff --git a/rules_php_gapic/resources/readme.md b/rules_php_gapic/resources/readme.md index e4d7c9903..1f4e524c3 100644 --- a/rules_php_gapic/resources/readme.md +++ b/rules_php_gapic/resources/readme.md @@ -15,15 +15,15 @@ The recommended (tested) way of doing it is as follows: ``` 3. Download the specific PHP distribution sources from https://www.php.net/distributions: ``` - curl https://www.php.net/distributions/php-8.2.30.tar.gz -o php-8.2.30.tar.gz + curl https://www.php.net/distributions/php-8.2.35.tar.gz -o php-8.2.35.tar.gz ``` 4. Unpack the downloaded archive: ``` - tar -xzpf php-8.2.30.tar.gz + tar -xzpf php-8.2.35.tar.gz ``` 5. Go to the unpacked directory: ``` - cd php-8.2.30 + cd php-8.2.35 ``` 6. Run the build config: ``` @@ -44,9 +44,9 @@ The recommended (tested) way of doing it is as follows: --disable-mbregex \ --with-openssl \ --enable-bcmath \ - --prefix=/tmp/php-8.2.30 + --prefix=/tmp/php-8.2.35 ``` - Please make sure that the `--prefix` destination folder has the same name as the root folder of your unpacked archive (i.e. the one you `cd` in step 3; it is usually `php-`, e.g. `php-8.2.30`). + Please make sure that the `--prefix` destination folder has the same name as the root folder of your unpacked archive (i.e. the one you `cd` in step 3; it is usually `php-`, e.g. `php-8.2.35`). 7. Run the build: ``` make -j10 @@ -62,7 +62,7 @@ The recommended (tested) way of doing it is as follows: ``` 10. Pack the relevant binaries in the archive, using `php-_.tar.gz` name format: ``` - tar -zchpf php-8.2.30_linux_x86_64.tar.gz php-8.2.30/bin php-8.2.30/lib + tar -zchpf php-8.2.35_linux_x86_64.tar.gz php-8.2.35/bin php-8.2.35/lib ``` 11. Copy the created archive to the `rules_gapic/php/resources` folder in this repository and post a PR.