David Carlier
cedec11acf
sapi/fpm: little simplification for the kqueue backend.
2024-02-17 23:22:56 +00:00
Ilija Tovilo
cd66fcc68b
Add request_parse_body() function
...
RFC: https://wiki.php.net/rfc/rfc1867-non-post
This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.
Fixes #55815
Closes GH-11472
2024-02-08 12:08:07 +01:00
Jakub Zelenka
da6a4e799a
Merge branch 'PHP-8.3'
2024-02-04 12:01:09 +00:00
Jakub Zelenka
ae44ab47a7
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-04 12:00:36 +00:00
Jakub Zelenka
bc30ae4f04
Fix bug #75712 : getenv in php-fpm should not read $_ENV, $_SERVER
...
Closes GH-13195
2024-02-04 11:58:18 +00:00
Peter Kokot
880ff82fc4
Fix the SO_LISTENQLEN check in FPM ( #13089 )
...
This now defines the HAVE_LQ_SO_LISTENQ as the fallback check when all
previous have failed in case of FPM LQ. This seemed to be a typo in the
build system.
2024-01-15 08:10:38 +01:00
David Carlier
b985a31b0a
sapi/fpm: setting backlog default to -1 for DragonFlyBSD.
...
like most of BSD, when negative the syscall sets it internally to
SOMAXCONN.
close GH-13077
2024-01-11 20:39:41 +00:00
Jakub Zelenka
08b9e8ae9c
Merge branch 'PHP-8.3'
2024-01-11 16:48:38 +00:00
Jakub Zelenka
1c7dc0f300
Merge branch 'PHP-8.2' into PHP-8.3
2024-01-11 16:48:03 +00:00
Jakub Zelenka
b04b09ef56
Fix GH-12996: Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path
...
Closes GH-13072
2024-01-11 16:47:08 +00:00
Peter Kokot
8d7364f0bb
Align configure check message results together
2024-01-11 00:02:28 +01:00
Peter Kokot
64751a0df0
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Set libtool tag per command instead of global one
2024-01-10 09:17:48 +01:00
Peter Kokot
04954f6b2c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Set libtool tag per command instead of global one
2024-01-10 09:13:39 +01:00
Jan Palus
d57a7767a2
Set libtool tag per command instead of global one
...
Global --tag=CC defined in configure.ac is not correct in all cases. For example
linking objects that were compiled from C++ sources needs to be done with C++
compiler, however for link mode libtool will prefer compiler indicated with
--tag.
Fixes GH-12349
2024-01-10 09:09:45 +01:00
Peter Kokot
fd7342f62f
Fix _GNU_SOURCE redefined warnings in config.log
...
_GNU_SOURCE is already defined when doing these checks and warnings are
emitted otherwise in the configuration step.
2024-01-10 08:39:29 +01:00
Peter Kokot
b632528eb3
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Update year to 2024
2024-01-04 19:30:19 +01:00
Peter Kokot
bafb17adcf
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Update year to 2024
2024-01-04 19:29:37 +01:00
Peter Kokot
2575e6b88c
Update year to 2024
2024-01-04 19:26:32 +01:00
David CARLIER
952ffbfe50
macOs CI update. ( #12998 )
...
macOs CI update.
since sonoma (14) had been released since few months, we could afford to
upgrade to its previous release.
2023-12-22 15:24:53 +00:00
Jakub Zelenka
2ffd040ffd
Merge branch 'PHP-8.3'
2023-12-09 13:26:29 +00:00
Jakub Zelenka
43900bd568
Merge branch 'PHP-8.2' into PHP-8.3
2023-12-09 13:26:09 +00:00
Jakub Zelenka
62682cbd97
Add FPM tester logs printing for all errors
...
Closes GH-12902
2023-12-09 13:21:41 +00:00
Niels Dossche
6edbbc1c3e
Implement GH-12385: flush headers without body when calling flush()
...
Closes GH-12785.
2023-12-01 17:15:57 +01:00
Jakub Zelenka
2d8f7df3b4
Merge branch 'PHP-8.3'
2023-12-01 14:49:22 +00:00
Jakub Zelenka
c74fc4c5b0
Merge branch 'PHP-8.2' into PHP-8.3
2023-12-01 14:47:57 +00:00
Jakub Zelenka
2303e76740
Merge branch 'PHP-8.1' into PHP-8.2
2023-12-01 14:45:48 +00:00
Patrick Prasse
df259f88da
Fix bug GH-12705: Segmentation fault in fpm_status_export_to_zval
...
Closes GH-12706
2023-12-01 14:43:58 +00:00
Peter Kokot
dc1fbe4027
Remove duplicated socket check ( #12839 )
...
Check is already done in configure.ac.
2023-12-01 11:57:38 +00:00
Peter Kokot
359f78492e
Remove outdated link to PHP introduction in PHP FPM ( #12842 )
2023-12-01 10:26:18 +00:00
Niels Dossche
e1c6a7c4de
Fix GH-12621: browscap segmentation fault when configured in the vhost
...
The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_intern_str(_ci) only incremented
the refcount for the reference created by the return value. As the
HashTable is only used during parsing, we don't need to manage the
reference count of the value anyway, so get rid of the destructor.
This is triggerable in two cases:
- When using php_admin_value to set the ini at the activation stage
- When running out of space for the opcache-interned strings
Closes GH-12634.
2023-11-22 20:39:28 -06:00
David CARLIER
cc2bf11951
zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. ( #12650 )
...
zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic and flexible arrays.
It is mostly for ubsan and helping array bound checking.
2023-11-13 12:42:45 +00:00
Niels Dossche
299a234eb7
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12621: browscap segmentation fault when configured in the vhost
2023-11-11 18:36:41 +01:00
Niels Dossche
1fb73463d3
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12621: browscap segmentation fault when configured in the vhost
2023-11-11 18:36:32 +01:00
Niels Dossche
7353c7ce17
Fix GH-12621: browscap segmentation fault when configured in the vhost
...
The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_intern_str(_ci) only incremented
the refcount for the reference created by the return value. As the
HashTable is only used during parsing, we don't need to manage the
reference count of the value anyway, so get rid of the destructor.
This is triggerable in two cases:
- When using php_admin_value to set the ini at the activation stage
- When running out of space for the opcache-interned strings
Closes GH-12634.
2023-11-11 18:35:57 +01:00
Jakub Zelenka
311cae03e7
Merge branch 'PHP-8.3'
2023-11-10 09:46:25 +00:00
Jakub Zelenka
d02a8f4e87
Separate setting of SO_KEEPALIVE in FPM tests
...
Closes GH-12640
2023-11-10 09:45:19 +00:00
Peter Kokot
d0056d63da
[skip ci] Use GitHub issue tracker link for reporting bugs ( #12612 )
2023-11-06 12:45:12 +00:00
Jakub Zelenka
f288d9c4b0
Merge branch 'PHP-8.3'
2023-11-03 17:18:40 +00:00
Jakub Zelenka
52b13f6ddb
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-03 17:17:52 +00:00
Jakub Zelenka
882cc4f804
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-03 17:17:23 +00:00
Jakub Zelenka
a8c6c6165b
Fix GH-9921: Loading ext in FPM config does not register module handlers
...
Closes GH-12377
2023-11-03 16:53:09 +00:00
Jakub Zelenka
a66c926b68
Merge branch 'PHP-8.3'
2023-11-03 14:08:39 +00:00
Jakub Zelenka
e43438544e
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-03 14:07:36 +00:00
Jakub Zelenka
e3d1beb0f1
Fix bug #76922 : FastCGI terminates conn after FCGI_GET_VALUES
...
Closes GH-12387
2023-11-03 14:06:36 +00:00
Jakub Zelenka
14404ac1fa
Merge branch 'PHP-8.3'
2023-10-14 18:45:31 +01:00
Jakub Zelenka
2913447653
Merge branch 'PHP-8.2' into PHP-8.3
2023-10-14 18:44:26 +01:00
Jakub Zelenka
c776f79578
Merge branch 'PHP-8.1' into PHP-8.2
2023-10-14 18:41:48 +01:00
Jakub Zelenka
0217be4d5b
Fix GH-12232: FPM: segfault dynamically loading extension without opcache
...
Also fixes incorrect assertion in ini init that php_dl is always
temporary.
Closes GH-12277
2023-10-14 18:38:21 +01:00
Peter Kokot
186a07f044
Fix too many arguments in FPM ACL compile check ( #12242 )
...
The AC_COMPILE_IFELSE takes 3 arguments unlike AC_RUN_IFELSE which needs
the 4th argument for cross-compilation.
2023-09-19 18:52:34 +01:00
Christian Clauss
886bf820c9
[skip ci] Fix typos discovered by codespell ( #12228 )
2023-09-18 11:07:17 +01:00