I am trying to troubleshoot an error that I am getting on our web server. Our PHP does a SQL query and is supposed to create a table with the results.
If I print the SQL query (print "sql=".$sql."<br/>";) from the PHP page then everything works. If I remark out the print then I get an Internal Server Error. It doesn't make since that it works if I print the query
I am not sure where the logs but I did enable PHP error logging (/var/log/error_php.log) and nothing is being logged.
Thank you for all of your help in advance