Hello all!
Happy to share that I've finished making a port of OpenEMR that runs natively on FreeBSD 15 via statically compiled binaries (and a few bundled libs).
OpenEMR is the world's most popular open-source medical record and is used around the world in real healthcare situations. I was interested in making a port for FreeBSD because I knew the OS had a legacy of serving high amounts of traffic, reliably.
The latest build I've released can be found here and contains the following files ...
I've also put together examples showing running OpenEMR with ...
If anyone has any chance to benchmark the setups or independently reproduce the builds I’d greatly appreciate any feedback. My hope is that these builds can be good options for users operating in high performance settings where the efficiency and performance gains you get from using a statically compiled version of PHP (or something very close to it because I do bundle a few libraries to make it work) and by running on bare metal without the need for virtualizing an OS with Docker will do some good. Also I'd be really excited if anyone was able to get a setup running in a Jail or with Bhyve!
Hope this message finds everyone well!
Happy to share that I've finished making a port of OpenEMR that runs natively on FreeBSD 15 via statically compiled binaries (and a few bundled libs).
OpenEMR is the world's most popular open-source medical record and is used around the world in real healthcare situations. I was interested in making a port for FreeBSD because I knew the OS had a legacy of serving high amounts of traffic, reliably.
The latest build I've released can be found here and contains the following files ...
- openemr-v7_0_4.phar - OpenEMR source code for tag 7_0_4 as a PHP PHAR.
- php-cgi-v7_0_4-freebsd-arm64 - PHP 8.5 CGI binary compiled with all the extensions necessary to run OpenEMR.
- php-cli-v7_0_4-freebsd-arm64 - PHP 8.5 CLI binary compiled with all the extensions necessary to run OpenEMR.
- php-fpm-v7_0_4-freebsd-arm64 - PHP 8.5 FPM binary compiled with all the extensions necessary to run OpenEMR.
I've also put together examples showing running OpenEMR with ...
- The development server built into the PHP CLI binary (both in a QEMU VM and natively)
- Apache using a CGI interface with a PHP 8.5 CGI binary running in a QEMU VM and orchestrated from macOS.
- Apache using PHP-FPM with a PHP 8.5 FPM binary running in a QEMU VM and orchestrated from macOS.
If anyone has any chance to benchmark the setups or independently reproduce the builds I’d greatly appreciate any feedback. My hope is that these builds can be good options for users operating in high performance settings where the efficiency and performance gains you get from using a statically compiled version of PHP (or something very close to it because I do bundle a few libraries to make it work) and by running on bare metal without the need for virtualizing an OS with Docker will do some good. Also I'd be really excited if anyone was able to get a setup running in a Jail or with Bhyve!
Hope this message finds everyone well!