trouible with some plug-ins exec() function in php.ini

greg@gregtompki...
greg@gregtompkins.com's picture

Joined: 2010-12-28
Posts: 43
Posted: Sat, 2011-01-29 18:50

Hello,

I'm getting this error on some of the plug-ins, for instance FFMPEG. I understand Network Solutions has blocked this in their global php.ini. Can I place a php.ini in just the respective folders with a single line to enable exec() or will their global setting override it?

FFMPEG Settings
FFMPEG is a graphics toolkit that can be used to process video files that you upload to Gallery. You must install the FFMPEG binary on your server, then enter the path to it in the text box below. If you're on a Unix machine, don't forget to make the binary executable (chmod 755 ffmpeg in the right directory should do it)

The exec() function is disabled in your PHP by the disabled_functions parameter in php.ini. This module cannot be used until that setting is changed.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2011-01-29 18:55
Quote:
Can I place a php.ini in just the respective folders with a single line to enable exec() or will their global setting override it?

That depends on your host. You can try setting the php setting in your php.ini

disabled_functions = ""

Doubt it'll work, but try it. Good luck using NetSol as a host.
____________________________________________
Like Gallery? Like the support? Donate now!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2011-01-29 19:19
 
greg@gregtompki...
greg@gregtompkins.com's picture

Joined: 2010-12-28
Posts: 43
Posted: Sat, 2011-01-29 20:11

Is there a better hosting than Netork Solutions? I have GoDaddy also. Thank You