Browser trying to download PHP page

General discussion on Zend Studio
Post Reply
zachlym
Posts: 1
Joined: Tue Apr 24, 2012 6:20 pm

Browser trying to download PHP page

Post by zachlym » Tue Apr 24, 2012 9:07 pm

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...

sprocketlogic
Posts: 42
Joined: Sat Mar 14, 2009 10:43 pm

Re: Browser trying to download PHP page

Post by sprocketlogic » Thu Apr 26, 2012 3:57 pm

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.

Post Reply