I need to enable php_exec function which is in php.ini file.
Since, I am using shared hosting, I do not have access to php.ini file. How can i enable the same function through .htaccess file?
Please provide the syntax.
Many Thanks in Advance.
FYR : exec() has been disabled for security reasons
Regards,
Natu
You simply can’t allow
exec
(and other similar functions disabled by php.ini) through .htaccess.I’m not sure, but you can test it. put in your
.htaccess
file: