PHP repo vs compiling

General discussions around KeyHelp.
Post Reply
Nickske00
Posts: 8
Joined: Thu 9. Mar 2023, 11:45

PHP repo vs compiling

Post 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.
User avatar
mhagge
Community Moderator
Posts: 487
Joined: Wed 8. Aug 2018, 15:19

Re: PHP repo vs compiling

Post 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).
Nickske00
Posts: 8
Joined: Thu 9. Mar 2023, 11:45

Re: PHP repo vs compiling

Post 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...
Nickske00
Posts: 8
Joined: Thu 9. Mar 2023, 11:45

Re: PHP repo vs compiling

Post 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?
User avatar
Alexander
Keyweb AG
Posts: 3809
Joined: Wed 20. Jan 2016, 02:23

Re: PHP repo vs compiling

Post by Alexander »

Is this so users could disable them on their server if needed?
Yes
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Nickske00
Posts: 8
Joined: Thu 9. Mar 2023, 11:45

Re: PHP repo vs compiling

Post by Nickske00 »

Ok thanks, I was thinking it was something performance related.. :)
Post Reply