[PHP] php 5.3.15 and exception for disabled_functions
Hi there, in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function "exec" again. And here is a question - does php have an option, that I could set : this binary file could use this disabled function ? Like : disable_functions_binary_exception = /usr/local/bin/compute_doomsday disable_functions_function_exception = exec :) Thanks and best regards J.Karliak -- Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a DomainKeys/DKIM (with ADSP) . Pokud mate problemy s dorucenim emailu, zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) policy and check. If you've problem with sending emails to me, start using email origin methods mentioned above. Thank you. This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php 5.3.15 and exception for disabled_functions
Hi, Maybe you think for ini_set() http://php.net/manual/en/function.ini-set.php On Tue, Jul 30, 2013 at 9:22 AM, Josef Karliak wrote: > Hi there, > in the php.ini file I've disabled some functions (exec and similar). In > the php script we must use binary execution - so I had to enable function > "exec" again. And here is a question - does php have an option, that I > could set : this binary file could use this disabled function ? Like : > > disable_functions_binary_**exception = /usr/local/bin/compute_**doomsday > disable_functions_function_**exception = exec > > :) > > Thanks and best regards > > J.Karliak > > -- > Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a > DomainKeys/DKIM (with ADSP) . Pokud mate problemy s dorucenim emailu, > zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. > My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) > policy and check. If you've problem with sending emails to me, start > using email origin methods mentioned above. Thank you. > > --**--** > This message was sent using IMP, the Internet Messaging Program. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP] php 5.3.15 and exception for disabled_functions
Hi, interesting function, but disable_function is configurable only from php.ini file :-/ J.K. Cituji Bálint Horváth : Hi, Maybe you think for ini_set() http://php.net/manual/en/function.ini-set.php On Tue, Jul 30, 2013 at 9:22 AM, Josef Karliak wrote: Hi there, in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function "exec" again. And here is a question - does php have an option, that I could set : this binary file could use this disabled function ? Like : disable_functions_binary_**exception = /usr/local/bin/compute_**doomsday disable_functions_function_**exception = exec :) Thanks and best regards J.Karliak -- Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a DomainKeys/DKIM (with ADSP) . Pokud mate problemy s dorucenim emailu, zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) policy and check. If you've problem with sending emails to me, start using email origin methods mentioned above. Thank you. --**--** This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a DomainKeys/DKIM (with ADSP) . Pokud mate problemy s dorucenim emailu, zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) policy and check. If you've problem with sending emails to me, start using email origin methods mentioned above. Thank you. This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] OPcache Instead of APC Now?
I was looking through the changelog for PHP 5.5 and noticed the Zend OPcache. Will this be replacing APC? (Is APC still being maintained?) The reason I'm asking is because I use APC's data caching feature heavily, which Zend's OPcache (currently) does not offer. Given that APC's shared memory cache is probably as fast as (non-distributed) caching gets (for PHP anyways), it would be a shame to see it go in the future.
[PHP] Re: OPcache Instead of APC Now?
Timmy Turner in php.general (Tue, 30 Jul 2013 19:02:43 +0200): >I was looking through the changelog for PHP 5.5 and noticed the Zend >OPcache. Will this be replacing APC? (Is APC still being maintained?) > >The reason I'm asking is because I use APC's data caching feature heavily, >which Zend's OPcache (currently) does not offer. Given that APC's shared >memory cache is probably as fast as (non-distributed) caching gets (for PHP >anyways), it would be a shame to see it go in the future. OPcache will replace APC eventually, because APC had too many issues under PHP 5.5. For APC's data caching you should take a look at APCU (APC without the opcode cache): https://github.com/krakjoe/apcu Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php