Deex
Member
Guten Tag,
ich habe aufgrund eines Hardware Defektes meinen Server nach einigen Jahren neu initialisiert, also von Grund auf alles Neu- Installiert.
Dabei habe ich Debian 10 sowie NGINX mit Maria DB und PHP 7.3 verwendet (natürlich nach howtoforge). Ich wollte dann Wordpress (aktuelle Version) installieren und erhalte umgehend einen Internen Server Fehler bei Schritt zwei der Installation. Ich habe dann in den error.log sowie in den php7.3 Log und Pool log geschaut es gab hier überhaupt keine Angabe warum er diesen Fehler erzeugt. Ich habe daraufhin Nginx mit --debug kompiliert und sehe auch im Debug log keinerlei hinweise woher dieser Fehler stammt, auch habe ich es schon mit php 5.6 probiert und hier ebenso einen Internen Server fehler erhalten. Andere PHP Scripte gehen wie z.B. die info.php . Ich bin aufgrund des mangels an hinweisen woher der kommt echt ratlos und hoffe das ihr eine Idee habt woran es liegt. Der Error log liegt im Anhang da so ein Debug log doch recht groß ist.
Hier meine Nginx settings
Nginx Conf.
ich habe aufgrund eines Hardware Defektes meinen Server nach einigen Jahren neu initialisiert, also von Grund auf alles Neu- Installiert.
Dabei habe ich Debian 10 sowie NGINX mit Maria DB und PHP 7.3 verwendet (natürlich nach howtoforge). Ich wollte dann Wordpress (aktuelle Version) installieren und erhalte umgehend einen Internen Server Fehler bei Schritt zwei der Installation. Ich habe dann in den error.log sowie in den php7.3 Log und Pool log geschaut es gab hier überhaupt keine Angabe warum er diesen Fehler erzeugt. Ich habe daraufhin Nginx mit --debug kompiliert und sehe auch im Debug log keinerlei hinweise woher dieser Fehler stammt, auch habe ich es schon mit php 5.6 probiert und hier ebenso einen Internen Server fehler erhalten. Andere PHP Scripte gehen wie z.B. die info.php . Ich bin aufgrund des mangels an hinweisen woher der kommt echt ratlos und hoffe das ihr eine Idee habt woran es liegt. Der Error log liegt im Anhang da so ein Debug log doch recht groß ist.
Hier meine Nginx settings
Code:
--prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-threads --with-stream --with-stream_ssl_module --with-http_slice_module --with-mail --with-mail_ssl_module --with-file-aio --with-debug --with-http_v2_module --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,--as-needed' --add-module=/usr/local/src/ngx_cache_purge --add-module=/usr/local/src/nginx-rtmp-module --add-module=/usr/local/src/ngx_brotli --add-module=/usr/local/src/ngx_http_auth_pam_module
Nginx Conf.
Code:
server {
listen *:80;
listen [::]:80;
listen *:443 ssl http2;
brotli on;
brotli_comp_level 6;
brotli_static on;
brotli_types application/atom+xml application/javascript application/json application/rss+xml
application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype
application/x-font-ttf application/x-javascript application/xhtml+xml application/xml
font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon
image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml;
ssl_protocols TLSv1.3 TLSv1.2;
listen [::]:443 ssl http2;
ssl_certificate /var/www/clients/client1/web1/ssl/websiteurl.crt;
ssl_certificate_key /var/www/clients/client1/web1/ssl/websiteurl.key;
server_name websiteurl ;
root /var/www/websiteurl/web/;
disable_symlinks if_not_owner from=$document_root;
pagespeed on;
index index.html index.htm index.php index.cgi index.pl index.xhtml;
location /blog/ {
try_files $uri $uri/ /blog/index.php?$args;
}
if ($http_x_forwarded_proto = "http") {
return 301 https://$server_name$request_uri;
}
error_page 400 /error/400.html;
error_page 401 /error/401.html;
error_page 403 /error/403.html;
error_page 404 /error/404.html;
error_page 405 /error/405.html;
error_page 500 /error/500.html;
error_page 502 /error/502.html;
error_page 503 /error/503.html;
recursive_error_pages on;
location = /error/400.html {
internal;
auth_basic off;
}
location = /error/401.html {
internal;
auth_basic off;
}
location = /error/403.html {
internal;
auth_basic off;
}
location = /error/404.html {
internal;
auth_basic off;
}
location = /error/405.html {
internal;
auth_basic off;
}
location = /error/500.html {
internal;
auth_basic off;
}
location = /error/502.html {
internal;
auth_basic off;
}
location = /error/503.html {
internal;
auth_basic off;
}
error_log /var/log/ispconfig/httpd/websiteurl/error.log debug;
access_log /var/log/ispconfig/httpd/websiteurl/access.log combined;
location ~ /\. {
deny all;
}
location ^~ /.well-known/acme-challenge/ {
access_log off;
log_not_found off;
auth_basic off;
root /usr/local/ispconfig/interface/acme/;
autoindex off;
index index.html;
try_files $uri $uri/ =404;
}
location = /favicon.ico {
log_not_found off;
access_log off;
expires max;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location /stats/ {
index index.html index.php;
auth_basic "Members Only";
auth_basic_user_file /var/www/clients/client1/web1/web//stats/.htpasswd_stats;
add_header Content-Security-Policy "default-src * 'self' 'unsafe-inline' 'unsafe-eval' data:;";
}
location ^~ /awstats-icon {
alias /usr/share/awstats/icon;
}
location ~ \.php$ {
try_files /7412bfac069d992eac0d84b40a441684.htm @php;
}
location @php {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/lib/php7.3-fpm/web1.sock;
fastcgi_index index.php;
fastcgi_param DOCUMENT_ROOT /web;
fastcgi_param HOME /web;
fastcgi_param SCRIPT_FILENAME /web$fastcgi_script_name;
fastcgi_intercept_errors on;
}
}