RE: Multi Php config module and apache vhost manager
08-19-2014, 11:35 AM
(This post was last modified: 08-19-2014, 11:38 AM by elijahbate.)
Great point, I am looking into this but I believe you should be able to reference the custom php.ini
in the vhost files but also should allow you to still user php_values to set openbasedirs.
Sounds easy but nothing is ever that easy, I shall have a play around and see what sort of results i get.
@TGates... Yeah thats it one typo would kill it but ideally I would separate zpanel to its own file and include the other vhostfile in that(or something along those lines)
When saving the updated vhost either in php or bash check the vhost is valid as much as possible then update and reload check that the output of reload was a success otherwise revert back to previous vhost file.
And my bad on the forum selections
edit.. Or do something similar to webmin's vhost changer and use a form to set the vhost options with limited direct text changes available.
in the vhost files but also should allow you to still user php_values to set openbasedirs.
Sounds easy but nothing is ever that easy, I shall have a play around and see what sort of results i get.
@TGates... Yeah thats it one typo would kill it but ideally I would separate zpanel to its own file and include the other vhostfile in that(or something along those lines)
When saving the updated vhost either in php or bash check the vhost is valid as much as possible then update and reload check that the output of reload was a success otherwise revert back to previous vhost file.
And my bad on the forum selections
edit.. Or do something similar to webmin's vhost changer and use a form to set the vhost options with limited direct text changes available.