The default installation of BigBlueButton (installed from packages or
VM) doesn't provide PHP. Most people setup PHP with apache, but
BigBlueButton uses nginx on port 80.
We recommend you setup PHP on another server and use your
BigBlueButton server as a stand-alone server (i.e. not run anything
else on the BigBlueButton server). This makes it easy to upgrade
BigBlueButton (or even swap out a new server) without affecting your
PHP code.
Regards,... Fred
> --
> You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
> To post to this group, send email to bigbluebu...@googlegroups.com.
> To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
>
>
> Are there reasons not to use nginx+php setup for bigbluebutton?
Up to this point, we didn't need to have PHP installed by
BigBlueButton, so we didn't make it a dependency.
> if I wanna use nginx+php, are there any points that I should be aware
> of from the bigbluebutton perspective?
It should work fine. There are some good tutorials on the web for
installing PHP with nginx; it's not something we have documented at
our Google Code site.
Regards,... Fred
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
Seun Ojedeji,
System Analyst/Network Administrator
University of Nigeria, Nsukka
web: http://www.unn.edu.ng
Mobile: +2348035233535
Skype: seun.ojedeji
On 12/13/2010 06:55 PM, deniro wrote:
> Fred,
> Thanks for pointing that. My bad, I totally couldn't think of
> bigbluebutton not coming with php and I need to install php.
> I was trying to get demo1.php running instead of demo1.jsp.
>
> I think I should be able to install and use php with nginx on same
> bigbluebutton server.
> nginx is a webserver as apache.. so, this should be quiete possible.
> Are there reasons not to use nginx+php setup for bigbluebutton?
> or is it not recommended? and if yes why?
>
> don't wanna put a seperate apache+php installation out there, though
> wanna use php code.
>
> if I wanna use nginx+php, are there any points that I should be aware
> of from the bigbluebutton perspective?
> Are there any documentation about setting up for and running php
> demos?
>
I would recommend php-fpm, but there are other choices. Something like
this should get you started in the right direction:
http://www.howtoforge.com/installing-nginx-with-php-5.3-and-php-fpm-on-ubuntu-lucid-lynx-10.04-without-compiling-anything
You'll probably have to merge the nginx config in the example with the
bbb nginx config - trying to make sure they both work in the end.
-Cameron
The link I sent you earlier tells you everything you need to get it
working. The package php5-fpm is all you need. All the other packages
available are optional and you don't need to install them unless you're
going to be writing some code that specifically requires them. php
actually comes with quite a bit of functionality built-in.
-Cameron
Sounds like maybe one of your changes to nginx config may have stopped
it from working. You need to leave everything in that file intact.
You're just added one block of code to that file.
This post might help you a little:
http://cbanta.wordpress.com/2010/12/18/enable-php-on-bigbluebutton/
-Cameron
fastcgi_split_path_info ^(.+\.php)(.*)$;
What did you have to change to get this working correctly? I'd like to have php installed with nginx, instead of
of being on a stand alone server (as I'm much more familiar with php vs java)
location ~ .php$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass unix:/var/run/php5-fpm.socket;
fastcgi_param SCRIPT_FILENAME /var/www/bigbluebutton-default$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
}