nginx is installed with brew, nginx version: nginx/1.10.2
wordpress is also the latest version, which is extracted from the tar package downloaded from the official website
After setting the root and index files in the server folder of nginx, access wp-admin/install.php of wordpress through the browser,
Then a strange problem occurred. The result of the access was not to open the web page normally, but to download the install.php file again! ! ! !
It is possible to ask for advice. There is a problem somewhere.
Mainly because there was no error reported and I didn’t know how to start searching for this situation, so I asked a question. Thank you!
nginx.conf configuration (the default has not been modified)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
|
My additional word_press.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
仅有的幸福2017-05-16 17:12:46
Please post the content of your nginx related server configuration
This problem is either that php-fpm is not set, or try_files is set incorrectly
伊谢尔伦2017-05-16 17:12:46
There is a problem with your PHP configuration in Nginx, which means that your local WEB server environment is not configured properly, and Nginx cannot parse the .php file at all!
It is recommended that you set up a local Mac web environment before installing WordPress!