Openfire server installation

Hello Guys,

I am new to openfire , i got to working on local system now i want to move to server side but i am not sure how. I have a server with PHP on it, this is a website i have running on this server. I want to put OpenFire on this server along with PHP , my questions is

  1. Is it possible to install OpenFire with PHP on the server.

  2. I believe this a Linux server so i which OpenFire should i download for this there are three four different types.

  3. Do i need to install jdk or apache for OpenFire on this server ?

  4. Will PHP work properly with OpenFire ?

Please help me on this …