Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to install confluence on a php server?

Vijay Patil November 18, 2015

This question is in reference to Atlassian Documentation: Using Apache with mod_proxy

Hello friends, I only learnt, started using, leaning and liking Confluence yesterday. 

I realise that for the usability that I need from it (custom macros etc) I need to have a standalone installation.

So, I read about the standalone installation and I am really a lot confused.

I have an existing website http://www.example.com that runs Apache and a LMAP stack, so I have PHP and a MySQL DB.

I want Confluence to reside at http://www.example.com/projects

Is it possible to achieve this?

 

Any help will be greatly appreciated.

Thanks.

2 answers

2 votes
Adrien Ragot 2
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2015
  • Confluence needs about 2Gb RAM.
  • Just install Confluence on the usual port (8080 if I remember well), check everything works.
  • I'm not up-to-date with Apache mod_proxy, but with Nginx it's fairly easy to redirect one URL to your PHP stack and the other to Confluence. You just need to use a rewrite rule: http://serverfault.com/questions/379675/nginx-reverse-proxy-url-rewrite
  • Once you have the URL rewrite is in place, update Confluence's base url, so any link created by Confluence (e.g. in emails) starts with the right URL. This is done in the Confluence Administration, in General Configuration.

 

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2015

 

Hi Vijay, 

 

Some extra notes related to Apache. 

 

If you don’t have another website running on this Apache, basically you should create a folder on the RootDirectory from your apache called projects and than you should be fine to access confluence over www.example.com/projects. In case you already have other websites on this server, I recommend you to create a virtual host to manage this. Please check this documentation where you will find the steps to setup this and some examples: https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html

 

Also, keep in mind that you will need to work with your firewall and DNS to make Confluence accessible over the internet. 

 

Regards, 

Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events