LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-18-2018, 10:23 AM   #1
Jameeeees
LQ Newbie
 
Registered: Dec 2018
Posts: 1

Rep: Reputation: Disabled
Apache2 Error


Hello,I installed on my VPS with linux php and apache2, everything works, but when I start apachem, port 80 is listening to something. And if I put some html file into the / var / www / html folder, it will appear on x.x.x.x: 80 but the php will not. This only works when I release the apache that I set to port 90 and it is then x.x.x.x: 90. How do I get to have html and apache with php on port 80? When I set it up with apache, it throws an apache 98 error, so it does not go to 80, because it's already listening.
Thank you.
 
Old 12-18-2018, 03:37 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Jameeeees View Post
Hello,I installed on my VPS with linux php and apache2, everything works, but when I start apachem, port 80 is listening to something. And if I put some html file into the / var / www / html folder, it will appear on x.x.x.x: 80 but the php will not. This only works when I release the apache that I set to port 90 and it is then x.x.x.x: 90. How do I get to have html and apache with php on port 80? When I set it up with apache, it throws an apache 98 error, so it does not go to 80, because it's already listening.
Thank you.
Hi and welcome to LQ,

You should give more details about your system, like distro-version, apache-version, log files, etc...
In the meantime you can run the following command to find out what's running on port 80
Code:
netstat -tanpl|grep 80
Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
Apache2 - how to get rid of apache2-default ozymandias Linux - Server 4 09-12-2008 10:27 AM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration