apache and mysql ports

Posted on 2012-03-20
Last Modified: 2012-03-25
I plan to install a Ticket software at my only INTERN network which need Apache web server port 80, Perl server and Mysql server port 3306.
But i have already Apache web server and Mysql server running for our web sites on our network.

My question is :
If i install Ticket system whit apache and mysql, then ports coflict with our web sites.isnt it?
How can i do both are WEB sites and Ticket system without port conflict with other APACHE and MYSQL services?
Question by:apollo-13
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 24

Assisted Solution

johanntagle earned 100 total points
ID: 37745791
First of all, why do you need separate apache and mysql instances? Apache can handle multiple websites and mysql can handle multiple databases.  It should only be a matter of provisioning and configuration.

To answer your question, yes if you install another instance of apache and mysql on the same server using the default options, there will be conflict.  You need to make the new instances use different port numbers.  You can do this via the apache.conf/httpd.conf and my.conf, respectively.

But still, seriously consider just using the current instances.  Just configure a separate vhost in apache and a separate database/schema with a separate user in mysql.
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 37745868
I agree with @johanntagle.  I have Ubuntu servers here that have a dozen websites on each one with most of them using their own MySQL database.  But I only have one Apache server and one MySQL server running.  That is the way it is normally done.  Web hosts will have up to 100 websites running on one server with one Apache server and one MySQL server installed.

Author Comment

ID: 37745957
Ticket system will be on the separate server ,not the same server where is running current web sites.
Ticket system will be only INTERN service.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 37745965
If it's on a different server, then it will work just fine.  Port conflicts would only be if you tried to install a second copy of Apache and MySQL on the Same server.  I believe XAMPP includes all you need including Perl 5, Apache, and MySQL.
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 400 total points
ID: 37745968

Author Comment

ID: 37745979
Thanks Dave ,
I plan to install xammpp.
I just was not sure ,if i install separate server apache and mysql on the same network which has already in another server running apache and mysql.
LVL 83

Accepted Solution

Dave Baldwin earned 400 total points
ID: 37746038
As long as they are on separate machines, there won't be a problem.  I have 5 Apache web server and 5 IIS web servers on my network here along with 7 MySQL servers and two MS SQL servers.  They all work happily together.

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 124
Insert values are dynamic 11 60
Perl: How to add backslashes to every period in a string 1 50
Unwanted output from my query 5 40
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question