Tomcat is trying to hook up with Apache, and my little buddy and I are dying ...

Source: Internet
Author: User
Tags configuration php
The unit's own server, Windows Server 2003 system.
An OA system has been installed, built on the tomcat+mysql+jsp platform, with 8080 ports.
-----------------------------------------------------------------
Now want to on the 80 port, hang a PHP language development site (need apache+mysql+php), you master, how to integrate it?

(Originally, there is no OA, directly with XAMPP or Wamp directly to fix, this OA is also more wonderful, installed when they will reinstall Tomcat and MySQL, no way, only in the normal operation of OA to do some settings)
------------------------------------------------------------------------------------
Rookie-level programmer, the strength of the weak explosion, Google on Baidu for a long time, did not find the right documents, helpless post to ask you for the hero.
My little friends and I are going to collapse ...


Reply to discussion (solution)

You are installing a Apache configuration PHP is not it?

If you do not want to configure, you can also get a machine to install a xampp or Wamp, and then copy the Apache and PHP directories to your server. Be careful to keep the original path name unchanged, or modify it yourself
Then execute the command in Apache's Bin directory httpd.exe-k install-n apache2.2
You can set Apache as a service.

I do not know how you operate, how can not get it?

It seems that I have seen such OA .... What's up? I am directly connected to this OA are unloading ...

Oh, this seems to help me. I was directly installed on the server XAMPP, the installation process did not error, but Apache is not up. A port conflict is displayed. But the port on the Tomcat side seems to have a bit of configuration ...
I am self-taught programming, usually to work, spare time to try to do. So there are a lot of problems.

You are installing a Apache configuration PHP is not it?

If you do not want to configure, you can also get a machine to install a xampp or Wamp, and then copy the Apache and PHP directories to your server. Be careful to keep the original path name unchanged, or modify it yourself
Then execute the command in Apache's Bin directory httpd.exe-k install-n apache2.2
You can set Apache as a service.

I do not know how you operate, how can not get it?

Not what Tatsu Tatsu Oh, OA must not uninstall, is the unit recently done, has been to use. Therefore, the need to do not harm the premise of OA, the site to hang up.

It seems that I have seen such OA .... What's up? I am directly connected to this OA are unloading ...

Didn't you say Tomcat's port is 8080?
Then Apache Port 80 is ready.

But do not start with the integrated environment tool because two MySQL will conflict
You need to modify one of the port numbers and service names
You first find out from the system management--service that MySQL posted his attributes
See if I can guide you.

Install Apahe and PHP separately, and then configure it.

Version of the owner is very good! Thank you ~
"You need to modify one of the port numbers and service names," the statement said.
And my current thinking is: Should first put Php+apache on the server, it is best to run up.
Then MySQL directly with the OA, just fill in the corresponding Path/attribute, and then create a new database inside the line. Right?

Didn't you say Tomcat's port is 8080?
Then Apache Port 80 is ready.

But do not start with the integrated environment tool because two MySQL will conflict
You need to modify one of the port numbers and service names
You first find out from the system management--service that MySQL posted his attributes
See if I can guide you.

A common MySQL is certainly possible, but it is important to note that "this OA installs itself with the installation of Tomcat and MySQL."
You have to make sure he doesn't break your new database.

What is the so-called configuration???
It is better to have a reference to the relevant article.
I searched for some, but I looked at the big head, and a lot of it was out of date.
The idea was completely messy. Helpless had to open a new post.

Install Apahe and PHP separately, and then configure it.

Then I understand, you mean to install another MySQL, and then modify the MySQL service name and port there will be no conflict. Right?
OA in general, should not be installed again. But as you remind me, it is really important to guard against the occurrence of this situation.

A common MySQL is certainly possible, but it is important to note that "this OA installs itself with the installation of Tomcat and MySQL."
You have to make sure he doesn't break your new database.

This post was last edited by xuzuning on 2013-07-08 17:24:31

Yes, if you flush out your hard-earned library, you're not going to get it.
Of course, if not, it would be better.
Otherwise, a MySQL example, you must bring the port number, but also blame the trouble

Landlord can try: Nginx + PHP

I remember, should only need a MySQL on the line. The website can be backed up. The data in the relevant database table will be saved.
I'm going to try it after work. (OA on the unit server during work is expected to run normally ...) )

Yes, if you flush out your hard-earned library, you're not going to get it.
Of course, if not, it would be better.
Otherwise, a MySQL example will not need to bring the port number, but also the trouble

It's better to try more, just in case.

To Nginx only heard its name, I have time to study. It is imperative that the site and OA can coexist:)

Landlord can try: Nginx + PHP

Well, yes, I hope I can success.

It's better to try more, just in case.

It seems that Apache and OA Tomcat will conflict, directly caused the Tomcat server paralysis, and then OA can not access. So I thought about simply giving up Apache. Well, configure IIS to parse the php,php resolution successfully with IIS. But OA's MySQL password temporarily do not know, already asked to do this OA project person. Try to share a database and see if you can run. Then consider whether to install a separate MySQL, this problem has plagued me for a long time Ah, but (although not fully resolved) after the action, it seems not so difficult.

It's better to try more, just in case.

It's better to try more, just in case.

I shed tears back (I still landlord, because can not reply three times, so change an account back) ...

The MySQL password of OA belt is unknown, certainly cannot forcibly change. So helpless can only give up sharing this mysql~
I now have two ideas:
1, then install a MySQL, let them each use each.
2. Install MySQL on a different server and then access it remotely.

Both of these methods: 1, is it feasible? 2. What are the success rates? 3. How easy is the degree of difficulty?

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.