Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

apache and mysql ports

Posted on 2012-03-20
7
Medium Priority
?
341 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 400 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 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1600 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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1600 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 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1600 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 84

Accepted Solution

by:
Dave Baldwin earned 1600 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

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

688 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