Skip to content

Comments

Remove support for HP-UX#21280

Open
petk wants to merge 1 commit intophp:masterfrom
petk:patch-hp-ux
Open

Remove support for HP-UX#21280
petk wants to merge 1 commit intophp:masterfrom
petk:patch-hp-ux

Conversation

@petk
Copy link
Member

@petk petk commented Feb 23, 2026

Correct me if this is wrong but I think this is also kind of already suitable for PHP-8.6:

HP-UX is discontinued system since 2026-01-01:
https://userapps.support.sap.com/sap/support/knowledge/en/3629028

Recent compilers also don't work there anymore.

Changes:

  • Non-standard '-threads' flag check removed.
  • ZEND_HRTIME_PLATFORM_HPUX preprocessor macro renamed to ZEND_HRTIME_PLATFORM_SUNOS as it is now related to only Solaris/illumos systems.
  • Check for HP-UX style reentrant time functions adjusted. This wasn't reproducible on any known system so far.
  • LOG_NEWS and LOG_UUCP conditions removed as all Unix-like systems should have them (Windows build have definitions provided in win32/syslog.h).
  • Check for <sys/pstat.h> header removed as it is relevant only on HP-UX.

HP-UX is discontinued system since 2026-01-01:
https://userapps.support.sap.com/sap/support/knowledge/en/3629028

Recent compilers also don't work there anymore.

Changes:
- Non-standard '-threads' flag check removed.
- ZEND_HRTIME_PLATFORM_HPUX preprocessor macro renamed to
  ZEND_HRTIME_PLATFORM_SUNOS as it is now related to only
  Solaris/illumos systems.
- Check for HP-UX style reentrant time functions adjusted. This wasn't
  reproducible on any known system so far.
- LOG_NEWS and LOG_UUCP conditions removed as all Unix-like systems
  should have them (Windows build have definitions provided in
  win32/syslog.h).
- Check for <sys/pstat.h> header removed as it is relevant only on
  HP-UX.
@bukka
Copy link
Member

bukka commented Feb 23, 2026

It seems there is still extended support till 2028 so I don't see that much point to drop it yet.

@petk
Copy link
Member Author

petk commented Feb 23, 2026

It seems there is still extended support till 2028 so I don't see that much point to drop it yet.

Ok, I'll wait till 2028 with this then. Otherwise, on HP-UX PHP recent versions can't be built anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants