how to install confluence on a php server?

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

  • 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 vote

 

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you