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/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: exec() with Codeigniter giving 500 Internal Server Error (/thread-45875.html)



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 ?