| php.ini edit [message #73013] |
Mon, 22 February 2010 11:30  |
emil  Messages: 3 Registered: February 2010 Location: Germany |
Member |
|
|
Which php.ini must i edit to disable functions globaly ?
I want to disable some functions
/root/.etc/misc/php.ini
/usr/lib/kloxophp/zend/etc/php.ini
/usr/local/lxlabs/ext/php/etc/php.ini
/usr/local/lxlabs/kloxo/httpdocs/htmllib/filecore/php.ini
/usr/local/lxlabs/kloxo/httpdocs/htmllib/filecore/lxetc/misc /php.ini
/etc/php.ini
/home/httpd/mydomain.com/php.ini
/home/httpd/mydomain.com/php.ini
edit: i use lighttpd
[Updated on: Mon, 22 February 2010 11:31] Report message to a moderator
|
|
|
|
|
| Re: php.ini edit [message #73450 is a reply to message #73438] |
Wed, 24 March 2010 03:15   |
deepak  Messages: 413 Registered: March 2008 |
Master |
|
|
Without changes in the core programming of Kloxo you cannot stop generation of those local php.ini"s.
However you could do have influence over the content of those generated local php.ini"s to your choice. This could be done in the Kloxo so that some additional entries will be generated accordingly.
You can choose the options under Advanced php configuration of the Server localhost and the local php.ini will be generated accordingly, which you may already know.
[Updated on: Wed, 24 March 2010 03:34] Report message to a moderator
|
|
|
| Re: php.ini edit [message #73452 is a reply to message #73013] |
Wed, 24 March 2010 04:13   |
|
|
You must edit the template, from which kloxo is generating locally php.ini. This is Bad idea, kloxo just need some modifying of code. I think, in next release it will be done and we will use the /etc/php.ini. Now normally changes in /etc/php.ini does not affected in any way.
|
|
|
|
|
| Re: php.ini edit [message #73488 is a reply to message #73458] |
Thu, 25 March 2010 03:24   |
deepak  Messages: 413 Registered: March 2008 |
Master |
|
|
Rai tlin wrote on Wed, 24 March 2010 16:18No. You must do not do this. If the apache restarts, your sites will be down. Sorry.
Correct.
I did not dare to suggest some more options other than above, because I had a feeling that there is more to it.
I am really not sure, and someone could bring more light to this, that Kloxo has some built in code generation in regards to php.ini that forces some default values and pours into the default template. Correct?
I played with this a long time ago and so I do not accurately remember.
Hence it is better to stick with those default values generated in the default form, have it generated and then change it.
I never had a big problem to accept the values generated by Kloxo. One could configure by web form, as mentioned abbove, some sensitive values. Thereafter, one could add more custom values like URL Rewrite, etc. into the already generated values.
Then Kloxo will simply add then and will not destroy the existing ones.
|
|
|
|
|
|
| Re: php.ini edit [message #73509 is a reply to message #73013] |
Thu, 25 March 2010 22:50   |
|
Deleted
/home/httpd/domain.tld/php.ini
/home/admin/domain.tld/.htaccess
Thanks for information. Now I fixed the bug in my version of kloxo.
|
|
|
|