Solved

apache and mysql ports

Posted on 2012-03-20
7
338 Views
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?
Thanks
0
Comment
Question by:apollo-13
[X]
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
7 Comments
 
LVL 24

Assisted Solution

by:johanntagle
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.
0
 
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.
0
 

Author Comment

by:apollo-13
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.
0
Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

 
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.
0
 
LVL 83

Assisted Solution

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

Author Comment

by:apollo-13
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.
0
 
LVL 83

Accepted Solution

by:
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.
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
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…
Six Sigma Control Plans

623 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