server {
listen 80;
server_name www.mxscs.com;
root "D:/develop_soft/daima_mxs/ib_crm_bonus";
location/{
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
break;
}
index index.php index.html error/index.html;
error_page 400 /error/400.html;
error_page 403 /error/403.html;
error_page 404 /error/404.html;
error_page 500 /error/500.html;
error_page 501 /error/501.html;
error_page 502 /error/502.html;
error_page 503 /error/503.html;
error_page 504 /error/504.html;
error_page 505 /error/505.html;
error_page 506 /error/506.html;
error_page 507 /error/507.html;
error_page 509 /error/509.html;
error_page 510 /error/510.html;
include D:/develop_soft/daima_mxs/ib_crm_bonus/nginx.htaccess;
autoindex off;
}
location ~ \.php(.*)$ {
fastcgi_pass 127.0.0.1:9001;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}
Read More:
- PHP: How to parse MHT file into HTML
- php_network_getaddresses: getaddrinfo failed (How to Fix)
- How to Solve PHP Error: no package’oniguruma’ found
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- PHP: How to get the total number of data in the MySQL table (total number of rows)
- [Solved] PHP Error: Warning: file_get_contents(): Failed to enable crypto
- php Error: mail() Failed to connect to mailserver at “localhost” port 25
- [PHP] Solve PHP Call to undefined function ldap_connect()
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- PHP Error Object of class mysqli could not be converted to string in
- nginx.conf php-fpm.conf and php.ini Error among the three_ Differences and relations between log instructions
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- PHP curl error: SSL certificate problem: unable to get local issuer certificate settlement program
- PHP error in Windows: class’ mysqli ‘not found
- HTML + PHP inline execute JavaScript Error [How to Solve]
- PHP large file upload error 413: request entity too large [How to Solve]
- [Solved] PHP installation Phalcon expansion error
- [PHP] Solve the limitation of uploading files in nginx php 413 Request Entity Too Large