How come I get "page not find" error instead of an error message or nothing at all? For example I am trying to read a huge text file into a database so it takes about 20 minutes, at the end I get error 404 so I can't get if it is finished OK or not. I undrestand that for security reasons PHP might not give a clear error message but page 404 is something completely unrelated.
That is timing out, not an error. If you have 20 minute imports, you'd be much better off breaking the file up or doing it via SSH shell on the command line.