Page 1 of 1

Browser trying to download PHP page

Posted: Tue Apr 24, 2012 9:07 pm
by zachlym
I have been having trouble getting the built in web browser to display external style sheets (linked from a public URL) and, when I submit a form, it keeps prompting me to download the resulting PHP page. I am using Zend server and everything runs fine when I use Firefox, but it's not working in the IDE.

The browser settings in Eclipse/Zend Studio are not of much help and googling combinations of "browser download php eclipse render" have not been very profitable...

Re: Browser trying to download PHP page

Posted: Thu Apr 26, 2012 3:57 pm
by sprocketlogic
You're likely running out of memory. Check your Apache error log:

Code: Select all

sudo tail /var/log/httpd/error_log
Increase the amount in /etc/php.ini

My setting:

Code: Select all

memory_limit = 128M
Hope that helps.