CodeIgniter Forums
exec() with Codeigniter giving 500 Internal Server Error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: exec() with Codeigniter giving 500 Internal Server Error (/showthread.php?tid=45875)



exec() with Codeigniter giving 500 Internal Server Error - El Forum - 10-10-2011

[eluser]Unknown[/eluser]
Hello Everyone,
I am using CI 2.1 with PHP 5.3
When I try to run exec(), it works fine with 'plain php' but gives 500:Internal Server Error with CI
exec('/tmp/a.out')

What could be the problem ?