Page 1 of 1

PHP repo vs compiling

Posted: Thu 9. Mar 2023, 13:54
by Nickske00
Hi,

I'm new to this panel, but after a first test a few days ago, I'm very impressed!

I still have a question, what is the reason you go for prebuild PHP packages instead of compiling them on the users system? The compiling offers more flexibility when you wan't to enable/disable certain default modules. I understand we can ask to inlcude extra modules, but some might be needed in specific situations only.

Re: PHP repo vs compiling

Posted: Thu 9. Mar 2023, 14:25
by mhagge
I would say that the number of potential errors/problem sources (and thus the support effort) is much higher when compiling on the user system (are the required dev tools installed, has any step failed for whatever reason etc.pp).

Re: PHP repo vs compiling

Posted: Thu 9. Mar 2023, 15:31
by Nickske00
I understand that, but it would be nice to have the option for the more advanced users.

I suppose you could trick the system by installing them first, uncheck auto update, and compile yourself. As long as all the destination paths are the same...

Re: PHP repo vs compiling

Posted: Mon 13. Mar 2023, 17:39
by Nickske00
Today I have been experimenting with building php myself, everything works, but I have one question. Why are some of the default extensions build as a shared module? Is this so users could disable them on their server if needed?

Re: PHP repo vs compiling

Posted: Tue 14. Mar 2023, 09:30
by Alexander
Is this so users could disable them on their server if needed?
Yes

Re: PHP repo vs compiling

Posted: Tue 14. Mar 2023, 12:06
by Nickske00
Ok thanks, I was thinking it was something performance related.. :)