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 that runs Apache and a LMAP stack, so I have PHP and a MySQL DB.

I want Confluence to reside at

Is it possible to achieve this?


Any help will be greatly appreciated.


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


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 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:


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



Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

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