homepage Welcome to WebmasterWorld Guest from 54.166.148.189
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache http server has stopped working (vista)
Bert36




msg:3997349
 10:35 pm on Sep 28, 2009 (gmt 0)

Today I decided to install Apache, PHP and MySQL manually instead of using things like Wamp or Xampp (for two reasons, first in order to have it setup the way I want, and secondly as a study/learning experience).

I managed to get it installed rather quickly and everything seemed to work (this includes parsing php), until I tried:

<?php
phpinfo();
?>

WHich gave me a blank page.

After a few hours I tried:

<?php phpinfo(); ?>

And at first, this gave me a page full of chinese or japanese letters, and after a reload it started to show the phpinfo-page...but it breaks off everythime halfway through and gives me a "Apache HTTP server has stopped working" error.

There are no errors in either the apache or php logs and it always stops at the "highlight.bg" entry of the phpinfo-page
Any thoughts on what is happening here?

 

jdMorgan




msg:3997650
 1:08 pm on Sep 29, 2009 (gmt 0)

Well, one thing to do is to examine the server response using the "Live HTTP Headers" add-on for Firefox/Mozilla browsers, and make sure that your pages are returning the correct Content-Type and Character-Encoding headers (as well as all of the others).

I don't know the significance of "the highlight.bg entry" so can't comment further on that, but it sounds like it may be quite relevant to your problem.

Jim

Bert36




msg:3997662
 1:27 pm on Sep 29, 2009 (gmt 0)

Just as you posted your reply I found the problem. I got myself another php.ini file and compared them. There was one difference, in my php.ini file the date.timezone was commented out.
I didn't think that could be the problem, but I un-commented it nonetheless and gave it a value...and presto: problem solved.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved