-
slashargument no image css appear issue in moodle 2.9+ nginx FIXED
location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; fastcgi_pass 127.0.0.1:9000 (or your php-fpm socket); include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }
-
kill all processes in ubuntu php , nginx mysql
if your upstart script fails , you can manually start and stop nginx, mysql , php For PHP: kill $(ps aux | grep ‘[p]hp’ | awk ‘{print $2}’) For Nginx: kill $(ps aux | grep ‘[n]ginx’ | awk ‘{print $2}’) For Mysql: kill $(ps aux | grep ‘[m]ysql’ | awk ‘{print $2}’)