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 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 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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,526 views 25 14
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