Skip to content

Commit 47ad89d

Browse files
authored
Merge pull request #269 from SidRoberts/5.9-php8.1
Updated to PHP 8.1 (for Phalcon 5.9)
2 parents e6822a1 + 0e0d503 commit 47ad89d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
## Requirements
55

66
### PHP 8.1
7-
Phalcon v5.9 supports only PHP 8.0 and above.
7+
Phalcon v5.9 supports only PHP 8.1 and above.
88

9-
Although PHP 8.0 was released several years ago and it's [active support][php-support] as well as security updates have expired, Phalcon still supports it, in order to offer enough time for developers to upgrade their applications. We will continue to support PHP 8.0 for v5 for another year. Phalcon v6 and later will support PHP 8.1+.
9+
Although PHP 8.1 was released several years ago and it's [active support][php-support] as well as security updates have expired, Phalcon still supports it, in order to offer enough time for developers to upgrade their applications.
1010

1111
!!! info "NOTE"
1212

@@ -34,7 +34,7 @@ We have hosted our website and blog for the last few years on an Amazon VM with
3434

3535
You should always try and use the latest version of Phalcon and PHP as both address bugs, security enhancements as well as performance.
3636

37-
Along with PHP 8.0 or greater, depending on your application needs and the Phalcon components you need, you might need to install the following extensions:
37+
Along with PHP 8.1 or greater, depending on your application needs and the Phalcon components you need, you might need to install the following extensions:
3838

3939
* [curl][curl]
4040
* [fileinfo][fileinfo]

docs/testing-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Phalcon, historically characterized by a modest development community and limite
77
# The Challenge
88
Building a feature-rich framework necessitates a comprehensive development environment supporting various features and associated services. For example, validating ORM functionality across different database adapters (e.g., `MySQL`, `Postgresql`, `Sqlite`) requires the installation of relevant PHP extensions and databases. Similarly, to execute the testing suite for Phalcon's extensive functionality, developers must install numerous extensions and services such as Redis and Memcached.
99

10-
Considering the diverse PHP versions (e.g., PHP 8.0, 8.1), Phalcon's development becomes intricate due to these prerequisites.
10+
Considering the diverse PHP versions (e.g., PHP 8.1, 8.2), Phalcon's development becomes intricate due to these prerequisites.
1111

1212
# Solution
1313
Formerly relying on `nanobox," a solution now discontinued, we intensified our efforts, adopting Docker to streamline development requirements. With just a few commands, developers can seamlessly contribute to Phalcon and execute tests promptly.

docs/upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Phalcon v5 contains a lot of changes in components and interfaces. Upgrading is
99
We will outline the areas that you need to pay attention to and make necessary changes so that your code can run as smoothly as it has been with v4. Although the changes are significant, it is more of a methodical task than a daunting one.
1010

1111
## Requirements
12-
### PHP 8.0
13-
Phalcon v5 supports only PHP 8.0 and above. PHP 8.0 [active support][php-support] has already expired, including security fixes. We will be supporting this version for a while longer, offering developers more time to upgrade their applications.
12+
### PHP 8.1
13+
Phalcon v5.9 supports only PHP 8.1 and above. PHP 8.1 [active support][php-support] has already expired, including security fixes. We will be supporting this version for a while longer, offering developers more time to upgrade their applications.
1414

1515
Since Phalcon 4, we have been following the PHP releases and adjusting Phalcon accordingly to work with those releases.
1616

docs/webserver-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ https://example.cc {
484484
gzip
485485
tls /ssl/example.cc/cert.pem /ssl/example.cc/key.pem
486486
root /path/to/phalcon/public
487-
fastcgi / unix:/run/php/php8.0-fpm.sock php
487+
fastcgi / unix:/run/php/php8.2-fpm.sock php
488488
rewrite {
489489
r (.*)
490490
to {path} {path}/ /index.php?_url={1}

0 commit comments

Comments
 (0)