Joan Miquel f501bca375 [mixphp] Update to php 8.1 (#6900) преди 3 години
..
amp 086acc4faa [amphp] Fix mysql too many connections (#6882) преди 3 години
cakephp 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
codeigniter 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
comet 740afc0f41 [php] Fix comet (#6797) преди 4 години
duckphp 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
fat-free 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
fuel b98bfa16eb [php] Fix fuel (#6798) преди 4 години
hamlet 2850729580 [php] Update lib event to 3.0.5 (#6799) преди 4 години
hhvm 0096f84ee9 Config for the new toolset (#6259) преди 4 години
hyperf da629180d2 Update hyperf benchmark (#6279) преди 4 години
imi 0096f84ee9 Config for the new toolset (#6259) преди 4 години
kumbiaphp 2850729580 [php] Update lib event to 3.0.5 (#6799) преди 4 години
laravel 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
lumen 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
mark 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
mixphp f501bca375 [mixphp] Update to php 8.1 (#6900) преди 3 години
one 3eba5ac50b use transaction (#6822) преди 4 години
peachpie 4f9b40ee88 updates php/peachpie to the latest version (#6287) преди 4 години
phalcon 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
php 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
php-ngx 73a465c34a [php-ngx] Update nginx to 1.21.3 (#6802) преди 4 години
phpixie 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
reactphp b7e04b260d [reactphp] Update to php 8.1 (#6901) преди 3 години
simps 0096f84ee9 Config for the new toolset (#6259) преди 4 години
slim 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
spiral 0096f84ee9 Config for the new toolset (#6259) преди 4 години
sw-fw-less 0096f84ee9 Config for the new toolset (#6259) преди 4 години
swoole 8d110ce812 [swoole-postgres] Update to PHP8 (#6296) преди 4 години
symfony 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
ubiquity f91556be63 [Ubiquity] update worker count (#6831) преди 4 години
webman 2850729580 [php] Update lib event to 3.0.5 (#6799) преди 4 години
workerman 2850729580 [php] Update lib event to 3.0.5 (#6799) преди 4 години
yii2 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
zend 55f78e1c13 Revert PHP to ubuntu 20.04 (#6775) преди 4 години
README.md 05c8be09fd minor update of php's readme.md (#4976) преди 6 години

README.md

PHP Frameworks

php logo

The information below contains information specific to PHP. For further guidance, review the documentation.

Infrastructure Software Versions

PHP Versions

PHP 7.3.*, PHP 5.6.* and HHVM 3.30.

Adding New PHP-based Frameworks

PHP Acceleration and Caching

Caching the output of the PHP bytecode compiler is expressly allowed by this benchmark. As we use PHP 5.5, which comes with opcache built in, we recommend you use this. However, some frameworks utilize APC instead as switching can be problematic (e.g. APC allows arbitrary data caching, while opcache does not).

Caching the output of parsing your configuration files is also expressly allowed (e.g. file caching, metadata caching). Some frameworks use APCu or memcached to achieve this.

Caching of the classloader (often referred to as optimizing the classloader) is also allowed. Most frameworks have their own methods of doing this.

Caching of any data fetched from the database is not allowed. Specifically, things such as Doctrine's Result Cache are inadmissible.

However, if you are using an ORM that prepares SQL statements in some way, such as how Doctrine translates DQL into SQL, this translated form can be cached, as long as you are dynamically accepting query parameters.

Caching any data using databases (Redis, MongoDB, etc) is discouraged, as 1) our databases run on a separate computer across the network, so you won't see much benefit 2) your usage of the DB may impact other framework's tests, which we cannot allow. You may launch a DB locally on the application server as part of your setup.sh scripts and utilize it for caching the allowable cache items, if you so desire, but it's normally much easier to use systems such as APCu.

Ask if you are not certain.

Dependency Management Using Composer

Many PHP apps use Composer for dependency management, which greatly simplifies downloading the framework, loading the framework, and upgrading the framework version in the future.

Get Help

PHP Experts

There aren't any PHP experts listed, yet. If you're an expert, add yourself!

Resources & Interesting Links

If you find some interesting links related to the PHP tests, add them here.