NGINX+UWSGI installation error nginx apache nginx php nginx rewrite

Source: Internet
Author: User
Hello.
This should be a problem when Uwsgi gets the kernel release version of your system during installation.
In the program uwsgiconfig.py
uwsgi_os_k = re.split('[-+]', os.uname()[2])[0]

If the system kernel release version is ' 2.6.32_1-12-0-0 ', the program gets uwsgi_os_k = ' 2.6.32_1 ',
K_minor = ' 32_1 ' After processing iteration, error in int (k_minor) >= 25 o'clock because K_minor = ' 32_1 ' translates the Digital times wrong.

Modify:
You can modify the uwsgiconfig.py file in the Uwsgi directory
Set the Uwsgi_os_k to the correct value, if it is above, Uwsgi_os_k = ' 2.6.32 '

If you install it again, you should be OK.

Install Uwsgi often encounter problems, see the cause of the error, appropriate adjustment, is basically OK. Good luck.

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('

  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the NGINX+UWSGI installation error, including Nginx content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.