Als ik spotweb probeer te installeren, krijg ik een keurige foutmelding,
Fatal error: Class 'SpotTranslation' not found in /var/www/spotweb/spotweb/index.php on line 10
In de error.log van nginx kom ik tegen:
Wat mij er zelf aan opvalt is dat hij zoekt in /var/www/spotweb/spotweb ... Waarom?!
de nginx config voor die locatie is
Zelf zie ik niet echt een fout ... in phpinfo(); kom ik ook geen gekke dingen tegen van dubbele directories oid .
Fatal error: Class 'SpotTranslation' not found in /var/www/spotweb/spotweb/index.php on line 10
In de error.log van nginx kom ik tegen:
code:
1
| 2014/01/28 13:04:52 [error] 15790#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'SpotTranslation' not found in /var/www/spotweb/spotweb/index.php on line 10" while reading response header from upstream, client: 192.168.2.6, server: localhost, request: "GET /spotweb/install.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1.sock:", host: "192.168.2.3" |
Wat mij er zelf aan opvalt is dat hij zoekt in /var/www/spotweb/spotweb ... Waarom?!
de nginx config voor die locatie is
code:
1
2
3
4
5
6
7
8
9
10
| location /spotweb { root /var/www; # index index.html index.htm index.php index.cgi index.pl index.xhtml; location ~* \.php$ { fastcgi_pass unix:/var/lib/php5-fpm/web1.sock; include /etc/nginx/fastcgi_params; fastcgi_param PHP_VALUE "memory_limit = 512M"; fastcgi_param PHP_VALUE "max_execution_time = 120"; } } |
Zelf zie ik niet echt een fout ... in phpinfo(); kom ik ook geen gekke dingen tegen van dubbele directories oid .
code:
1
2
3
4
5
| _SERVER["SCRIPT_FILENAME"] /var/www/spotweb/phpinfo.php _SERVER["SCRIPT_NAME"] /spotweb/phpinfo.php _SERVER["REQUEST_URI"] /spotweb/phpinfo.php _SERVER["DOCUMENT_URI"] /spotweb/phpinfo.php _SERVER["DOCUMENT_ROOT"] /var/www |