Wruczek / ts-website

A website for your TeamSpeak 3 server
https://ts.wruczek.tech
GNU General Public License v3.0
341 stars 80 forks source link

Does nginx support is planned? #7

Closed TR1D closed 8 years ago

Wruczek commented 8 years ago

Today I've tested my website on nginx, everything works fine. But remember to install mbstring.

This is what I've done on clear Ubuntu 16.04 after installing nginx and php 7.0

sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-xml
sudo systemctl reload nginx

Please let me know if it works for you too!

TR1D commented 8 years ago

HTTP ERROR 500

Debian 8.5 32bit | Nginx 1.6.2 | PHP 5.6

root@debian-8-32bit:~# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
root@debian-8-32bit:~# apt-get install php7.0-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-mbstring
E: Couldn't find any package by regex 'php7.0-mbstring'
root@debian-8-32bit:~# apt-get install php5.6-mbstring
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5.6-mbstring
E: Couldn't find any package by regex 'php5.6-mbstring'
root@debian-8-32bit:~# apt-get install php7.0-xml
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-xml
E: Couldn't find any package by regex 'php7.0-xml'
Wruczek commented 8 years ago

Please paste your log from /var/log/nginx/nginx_error.log

TR1D commented 8 years ago

ts.error_log.txt

Wruczek commented 8 years ago

There is a problem with permissions. Make sure that directory /var/www is writeable.

TR1D commented 8 years ago

Thanks It works.