Good day to all. We are in the process of getting to know ISPconfig3, so far everything seems to be working as expected (tx to all the posts in here). In our test lab, we have 3 servers setup and functioning fine. We are now installing Modx 3.01 (our go to cms). The issue is that we need to have several extensions enabled as they are required (ex: bmath). I don't think we want to go mucking about with the installed php.ini files, so our questions are: 1) do we create another php.ini file and put into a client web site, 2) or use the panel feature as follows: Site -> Client Site -> Options -> Custom php.ini settings If option 2 is the correct route, what would we enter into the Custom settings box? We are assuming extenstion=extname We understand why the OPTION tab is not available to clients as this would open the server up to all users. My concern would be that we (as admins) would have to add custom settings for any/all sites manually based on client needs. I would think that Option 1 would be the best solution as the client would be able to add their own extensions. Am I out to lunch on this or is there a direction I have not thought of? Tx
Personally, I would enable the extensions server-wide and have only other PHP settings that do not load extensions in the custom PHP settings (or directive snippets). But ou can test if extension loading works there as well as these are included in the php-fpm pool file. That's why there is the directive snippets option in ISPConfig (system module). You as admin define approved templates of custom PHP settings for cms systems which the client can select himself.
Till, txs for the quirk reply. This makes a whole lot of sense. Here is what I did: 1) System -> Directive Snippets 2) Created Snippet 3) code: extension = extension_name.so Made it viewable to users. Logged into a test site, but can't seem to find where I would enable the snippet. I checked with phpinfo and the extension is not loadings. Just to be sure, restarted apache, same result. Clearly I'm missing something, maybe I'm in the wrong area? Again, thanks for the assist.
I believe you need to enable 'Show web server config selection' in the client's limit template (or custom limits if you use that), then when the client logs in to ispconfig and edits the site, they should have a select list with which template to use.
I actually found that option and enabled it, but when logged in as the "Client" and edit the site I see no dropdowns for template at all. I reread the relevant areas of the manual and it seems that everything is as it should be...
PHP settings are connected to website snippets and you can select only web server snippets there. I guess you have to create a web server snippet for the cms (if it needs no rules, add a comment as rule like "# xyz cms") and then connect the PHP setting with that website snippet.