Mmm, I already know about Apache and PHP. My question is more : is PHP working with Apache on Haiku ? And if so how to ?
The link provided seems to be an old package with a download page not available.
Iāve installed Apache via HaikuDepot :
And then PHP8 :
If I remember correctly on Linux, in addition to Apache and PHP, you need to install libapache2-mod-php.
Without this module, the PHP page will be displayed as raw text which is the case today in Haiku.
So if anyone has successfully run PHP with Apache (or another webserver) on latest version of Haiku, this help would be appreciate.
There is no specification anywhere for how they should work. The Linux implementation is bad (there is an arbitrary limit on the line length, you can have only one argument to the command, and for some reason the executables are not searched in the PATH and you have to give an absolute path). But thatās just how Linux does it, there is no reason to implement something as broken as they did.
The Haiku implementation tries the path you give first, and if the executable is not found there, tries again by looking up the executable name in the PATH. You can also path any number of arguments and thereās no limit to the line length.