If you have already a correct environment to run helpPHP (i.e. at a minimum of PHP 8.x),
you just need to install helpPHP itself somewhere on your server.
Here comes some informations to help you do it :
HelPHP is first of all a set of libraries and utilities (called the "main"), which you will find here:
https://github.com/INRAI-helPHP/helPHP
And also a "default instance" (called "the instance"), which uses these libraries to provide you a working basis and tools to modify according to your needs:
https://github.com/INRAI-helPHP/helPHP- instance
Using git clone you will be able to copy them, but you must choose where and why:
- Major reason for the division of helPHP in two:
PHP 8.x offers a very nice advance: the OPcache, which allows you to compile and cache a PHP file so that it may not be composed of dynamic code (changeable at each execution), allowing the second run to save a considerable amount of time.
So we better set the code to be used by the same Opcache.
- If you only have one HTTP server, then the choice is simple:
The "main" is installed in a folder on which the HTTP server has rights, but which is not publicly distributed.
The instance must be in a folder publicly served by the HTTP server, and must be configured to know where the "main" is installed .
- If you use a container technology :
Then you can either mount Helphp and multiple instances on the same container, or one version of helPHP and one instance per container.
As the OPcache in this case is in the container, using only one instance per container will be less interesting than many, as it will require one OPcache for each container.
If your HTTP server is apache type, you can create multiple virtualhosts to host multiple instances and adjust server performances.
the initial configuration of the instance can be made during its first visit (which then displays an installation script), either by manually modifying the files that are in the config folder.
In the reposiitory https://github.com/INRAI-helPHP/helPHP-env-install you will find several types of installation for various technologies.