Answer Question
Is there a size limit to a PHP file being called by Apache?
I have a very long ifelse statement in a php file using the echo() function being called by my Apache server. There are 30 different categories with 20 different banner ads per if statement so that is about 1200 echo() statements. I am not storing the data in MySQL because the length of the columns are different returning an error in MySQL. Therefore, I am just storing the data in the php file. However, when I got to the sixth if statement I had an internal server error. Is there a limitation to how big a php file can be that is being called by Apache? If there is, how do I fix it? What's even more strange is to fix the problem I just deleted the php file, created another one with the same data, and then it worked.
TEXT
Uploading file and scanning for virus...
Please Wait