server {
listen 80;
server_name *** ***;
user *** ***
location / {
proxy_pass http://127.0.0.1:8080;
}
location ~* \.(html|jpeg|jpg|gif|png|css|js|pdf|txt|tar|ico)$ {
root /home/***/;
expires 60d;
}
}
<Directory /home/***/>
Require all granted
</Directory>
<Location />
Allow from all
Order Deny,Allow
</Location>
$insertquery = "INSERT INTO *** (servname,alias,email,charset,indexfiles,userid,name) VALUES ('{$cservname}' , '{$calias}' , '{$cemail}' , '{$ccharset}' , '{$cindexfiles}', '{$login}' , '{$cname}')"
flush privileges
запускал user@server:/root$ mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Zend OPcache