Closed TR1D closed 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'
Please paste your log from /var/log/nginx/nginx_error.log
There is a problem with permissions. Make sure that directory /var/www
is writeable.
Thanks It works.
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
Please let me know if it works for you too!