PHP doesnt work
-
@AOKP Installed me nodebb for first time , to be honest he did it for free and now i learned of him but to be honest he didnt treat me very good at the first he looked as good person but later he installed it and he said manage it on your own after i asked 3 important questions then he sweared to me but nvm, whatever he said he put a pack of php 7 and mysql but i add php files they downloaded so i checked and i didnt was using the right conf file of nginx now it returns bad gateway error........ What i can do, i tried using various conf files.
-
This post is deleted!
-
@julian said in PHP doesnt work:
You must learn not to take up anyone's time especially if they are doing something for you for free.
You must take it upon yourself to learn how to host NodeBB... including command line usage. You have much to learn.
I already have experience....
But my experience with nginx is limited i always used Apache for web server -
You have a lot of things to learn.
For example, NodeBB relies on Nodejs to work instead of PHP, NodeBB relies on Mongodb / redis instead of mysql. -
Getting something straight. I told you from the begining that you will have to manage the system on your own.
However, here a few quick fixes:- You do not have PHP, but HHVM installed.
- Make sure each config file has this:
# HHVM include /etc/nginx/hhvm.conf;
- Restart HHVM (in case fix 2 doesn't helps):
service hhvm restart
P.S.: I only do this for my reputation, not because I feel bad with you.
-
@kenygamer Everything you need to know to host nodebb is written here. If this sounds too obscure or you are not willing to learn consider purchasing a nodebb hosted solution from nodebb.com or any other nodebb hosting provider.
-
The fun part should be learning NodeBB and Nodejs. Start learning the basics and then ask specific questions in this forum Keep learning to be happy