br0ken Posted January 1, 2010 Share Posted January 1, 2010 I've installed Apache (httpd) but can't load any pages. I've tried accessing localhost and 127.0.0.1 but neither work. The page loads and loads but I always get the error Connection Interrupted. Any one know what could be the problem? I'm running Ubuntu and the latest version of Apache if that helps. Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/ Share on other sites More sharing options...
wildteen88 Posted January 2, 2010 Share Posted January 2, 2010 How did you install/setup Apache? It is best to install Apache from ubuntu's repos eg: sudo apt-get install apache2 apache2.2-common apache2-mpm-prefork apache2-utils This will setup/configure Apache2.2.x for you. Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/#findComment-987280 Share on other sites More sharing options...
br0ken Posted January 3, 2010 Author Share Posted January 3, 2010 Thanks for the reply but I'm trying to learn about Apache by manually compiling it. I think this is the best way to learn about the software and will help in optimising it for each different system I use it in. Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/#findComment-987370 Share on other sites More sharing options...
corbin Posted January 4, 2010 Share Posted January 4, 2010 "optimising it for each different system I use it in." The performance gained by compiling Apache for each system is typically very, very small. Anyway, how did you compile Apache/PHP, and how have you configured Apache to use PHP? Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/#findComment-988376 Share on other sites More sharing options...
br0ken Posted January 4, 2010 Author Share Posted January 4, 2010 It may be small but sometimes clients require it. Also, manually configuring Apache will allow me to learn a lot about it and how it functions. I have not got as far as installing PHP yet. I decided to compile it first and then once everything was working, install PHP. I've compiled Apache multiple times using commands similar to: sudo ./configure --prefix=/etc/httpd \ --enable-so \ --enable-mods-shared=all Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/#findComment-988378 Share on other sites More sharing options...
corbin Posted January 4, 2010 Share Posted January 4, 2010 Have you updated iptables to allow incoming port 80 through? If you request the page on the server, does it work, or is it messing up locally and remotely? (If you don't have wget or lynx or anything, you could always use telnet and HTTP headers to request a page.) Quote Link to comment https://forums.phpfreaks.com/topic/186858-httpd-connection-reset/#findComment-988382 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.