Jerry Ma
c6d4934dd6
Fix gmssl and openssl duplicate symbol ( #632 )
...
* Fix gmssl and openssl duplicate symbol
* Add tests
2025-03-13 14:18:27 +08:00
Marc
21265cd561
fix embed sapi being unusable to build extensions ( #628 )
...
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
2025-03-13 13:44:02 +08:00
Jerry Ma
a6b843f4dd
Update docs for FFI and dynamic loading extensions ( #629 )
2025-03-13 11:56:40 +08:00
Jerry Ma
d643051759
Update musl-wrapper version to 1.2.5 and apply CVE patch ( #627 )
2025-03-13 11:11:58 +08:00
Jerry Ma
58eafe5100
Merge pull request #622 from DubbleClick/libacl
...
bring back pr for libacl
2025-03-12 23:02:04 +08:00
Marc
74edcb7d6f
Update LibraryBase.php
...
newline
2025-03-12 20:07:04 +07:00
Marc
e7bac8f78d
Update LibraryBase.php
...
rectify typo
2025-03-12 20:05:05 +07:00
Marc Henderkes
5caf5b7694
check for libacl in fewer places
2025-03-12 09:19:01 +01:00
Marc Henderkes
76ac57edf4
download attr and libacl on linux
2025-03-12 09:07:26 +01:00
Marc Henderkes
d15b387bea
don't require libacl and attr for non fpm compilation
2025-03-12 08:59:47 +01:00
Marc Henderkes
b534cdce11
remove line
2025-03-11 08:53:31 +01:00
Marc Henderkes
f246125677
requested changes
2025-03-11 07:44:31 +01:00
Marc Henderkes
2c644d5c18
cs fix
2025-03-11 07:15:07 +01:00
crazywhalecc
ec3c0dc934
Add SPC_CMD_VAR_PHP_EMBED_TYPE for embed building in glibc mode
2025-03-11 07:08:44 +01:00
crazywhalecc
09c0e43501
Add gnu based static binary support
2025-03-11 07:08:00 +01:00
Marc Henderkes
878e17ddb4
remove attr and libacl from macos
2025-03-11 06:59:43 +01:00
Marc Henderkes
c52ab62fa6
arch c flags
2025-03-11 06:59:42 +01:00
Marc Henderkes
40ea306008
try something with static
2025-03-11 06:59:42 +01:00
Marc Henderkes
be3d68cebe
patch the makefile before make (remove -lacl from FPM_EXTRA_LIBS)
2025-03-11 06:59:41 +01:00
Marc Henderkes
4e32ff47df
patch libacl WIP
2025-03-11 06:59:41 +01:00
Marc Henderkes
c6552f6800
add patch for attr on alpine
2025-03-11 06:59:40 +01:00
Marc Henderkes
511fd0e301
add required packages for autopoint to spc doctor
2025-03-11 06:59:39 +01:00
Marc Henderkes
77bbc7fcaa
add libacl and attr to macos, not sure if they build
2025-03-11 06:59:39 +01:00
Marc Henderkes
53f82d286c
split requirements into unix and windows
2025-03-11 06:59:38 +01:00
Marc Henderkes
bed40c3d05
add libacl to php requirements
2025-03-11 06:59:38 +01:00
Marc Henderkes
29a0f2facb
revert to SystemUtils::makeEnvVarString
2025-03-11 06:59:37 +01:00
Marc Henderkes
4bc4c2ff05
revert EXTRA_LDFLAGS_PROGRAM patch, TODO: patchBeforeMake and remove -lacl from the libtool command
2025-03-11 06:59:36 +01:00
Marc Henderkes
460699c48c
add (lib)attr and libacl as optional libraries
...
when libacl is built and --enable-fpm is used, also enable --with-fpm-acl
2025-03-11 06:59:33 +01:00
crazywhalecc
89e8c152dc
Emegency fix env.ini
2025-03-11 13:33:03 +08:00
Jerry Ma
5caaa4d1d4
Merge pull request #592 from crazywhalecc/feat/gnu-static
...
[feat] Add gnu based static binary support
2025-03-11 11:49:55 +08:00
crazywhalecc
939fd88789
Merge branch 'main' into feat/gnu-static
2025-03-11 11:33:45 +08:00
Marc
067b02f6d7
update php default to 8.4 ( #621 )
...
* update php defaul to 8.4
* update config
* Update README.md
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
2025-03-10 16:20:22 +08:00
crazywhalecc
2afd39fbf1
Fix test-extensions
2025-03-10 16:19:24 +08:00
crazywhalecc
1ce1c326b2
Add SPC_CMD_VAR_PHP_EMBED_TYPE for embed building in glibc mode
2025-03-10 16:15:47 +08:00
crazywhalecc
b6324fd71e
Fix syntax on Dockerfile
2025-03-10 15:54:43 +08:00
crazywhalecc
7e462d6625
Update spc-gnu-docker with gcc10, add build-static-frankenphp
2025-03-10 00:39:59 +08:00
crazywhalecc
2a9cd436b6
Support -fPIC and -fPIE for most libs and PHP
2025-03-10 00:39:20 +08:00
crazywhalecc
4eeb48cdc2
Update gnu-docker and fix icu build on glibc
2025-03-09 20:30:22 +08:00
crazywhalecc
23bfad6f87
Merge branch 'main' into feat/gnu-static
...
# Conflicts:
# src/SPC/builder/linux/LinuxBuilder.php
2025-03-09 17:44:13 +08:00
Jerry Ma
36dc18012a
Update something-want-to-know.md
2025-03-08 17:12:29 +08:00
Jerry Ma
d30d1fc447
Add php and lib-base as special libraries to add dependencies to the root node ( #618 )
...
* Remove E_STRICT
* Add lib-base and php as special libs
* Remove debug code
* Fix phpunit with new config structure
* Fix phpunit test and fix license dumper bug for new type of lib
* Add missing lib type filter for windows builder
2025-03-08 14:29:44 +08:00
Jerry Ma
15c7e41501
Update pull_request_template.md
2025-03-08 10:23:10 +08:00
crazywhalecc
b6243d8478
Fix vitepress-deploy.yml in minimal PHP version
2025-03-08 10:04:59 +08:00
Jerry Ma
cf30418be9
Remove deprecated args for PHP 8.4 ( #616 )
...
* Remove deprecated args for PHP 8.4
* Add tests
* Use nts for testing
* Test
* memcache still uses `--with-zlib-dir`
2025-03-07 18:25:19 +08:00
Marc
a95d034e98
fix SPC_NO_MUSL_PATH not working in .env.ini ( #612 )
...
* fix SPC_NO_MUSL_PATH not working in .env.ini
* use filter var instead of assuming var was defined in .env.ini
* CS fix and composer update
* update composer.lock
* fix LIBRARY_PATH and LD_LIBRARY_PATH
* Revert composer lock and cs-fixer options
* filter validate boolean
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-07 18:15:11 +08:00
Jerry Ma
29ea46bd17
Switch static-php-cli to support PHP 8.3 and 8.4 only ( #615 )
...
* Update spc self to PHP 8.4 only
* Update workflows
* Fix test-extensions, adjust docs order
* Fix cs-fix and phpunit
* Add PHP_CS_FIXER_IGNORE_ENV
* Add compatibility for PHP 8.3
* Change version description in README, adjust composer.json PHP version limit
* Switch PHP to 8.4 in spc-alpine-docker
* Add deprecation notice
2025-03-07 18:06:32 +08:00
Jerry Ma
8a17e2384e
Update feature_request.md
2025-03-07 13:10:06 +08:00
Jerry Ma
60dbb18504
Update bug_report.md
2025-03-07 13:09:53 +08:00
Jerry Ma
5f53b34fae
Update issue templates
2025-03-07 13:08:42 +08:00
Alexander Over
6b227d88ac
Add command to dump required PHP extensions based on vendor/composer/… ( #599 )
...
* Add command to dump required PHP extensions based on vendor/composer/installed.json, composer.lock, composer.json (in this order)
* remove unused use
* missing translation
* Adjust dump-extensions
* Add docs for dump-extension command
---------
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-07 10:46:07 +08:00