Solved

apache and mysql ports

Posted on 2012-03-20
7
330 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
  • 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 82

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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 82

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 82

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 82

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now