Skip to content

Add PHP_SBINDIR #13363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ PHP 8.4 UPGRADE NOTES

- Core:
. PHP_OUTPUT_HANDLER_PROCESSED.
. PHP_SBINDIR.

- Intl:
. The IntlDateFormatter class exposes now the new PATTERN constant
Expand Down
5 changes: 5 additions & 0 deletions main/main.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@
* @cvalue PHP_BINDIR
*/
const PHP_BINDIR = UNKNOWN;
/**
* @var string
* @cvalue PHP_SBINDIR
*/
const PHP_SBINDIR = UNKNOWN;
#ifndef PHP_WIN32
/**
* @var string
Expand Down
3 changes: 2 additions & 1 deletion main/main_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions win32/build/config.w32.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define PHP_CONFIG_FILE_PATH ""
#define PEAR_INSTALLDIR "@PREFIX@\\pear"
#define PHP_BINDIR "@PREFIX@"
#define PHP_SBINDIR "@PREFIX@"
#define PHP_DATADIR "@PREFIX@"
#define PHP_EXTENSION_DIR "@PREFIX@\\ext"
#define PHP_INCLUDE_PATH ".;@PREFIX@\\pear"
Expand Down
Loading