Jump to content

[SOLVED] limit execution


newb

Recommended Posts

I would say that the most 'complete' way of doing this would be to make a custom build of the binaries that you only build with it what you want.  Being that it may not be very attractive to do so, within php.ini there are two directives that may be of use to you:

 

disable_classes

 

disable_functions

 

and of course, only load the extensions that you'll need.

 

Doing those three things should get you where you want to be without having to build custom binaries.

I would say that the most 'complete' way of doing this would be to make a custom build of the binaries that you only build with it what you want.  Being that it may not be very attractive to do so, within php.ini there are two directives that may be of use to you:

 

disable_classes

 

disable_functions

 

and of course, only load the extensions that you'll need.

 

Doing those three things should get you where you want to be without having to build custom binaries.

 

I know you can blacklist with that, but can you whitelist with those directives like he wants? If so, that's kind of cool, I didn't know that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.