I'm in need for one of my customer to find a good reliable web hosting for PHP.
The problem is that the script we have to put there require both to allow file upload (~1Mb size) and execution of grep shell command from within the php script for searching text in the files stored in a directory.
Someone here can suggest me a good web hosting which allow this features ?
The problem with the requirement to execute shell commands is that many hosts disable it for security purposes, so that there is less of a chance of sites being hacked into and shell commands being executed. I'd suggest looking around and contacting the sales department of any hosts you are interested in. the first two requirements shouldn't be hard to find.
The host can simply put a custom php.ini file in your home dir to have it allow exec & safe mode off.
MediaLayer, LLC - www.medialayer.comLearn how we can make your website load faster, translating to better conversion rates for your business!
The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business
Some hosts lock you out from using a custom php.ini or .htaccess.
give the shell_exec() function a try i have seen hosts disable the exec() but not the shell_exec().. Don't ask me why but i've seen it. Also php's default upload size is 2mb so your 1 mb files should upload just fine.