| From | Sent On | Attachments |
|---|---|---|
| Roberto De Ioris | Feb 24, 2012 1:22 am | |
| Edho Arief | Feb 24, 2012 2:44 am | |
| Roberto De Ioris | Feb 24, 2012 2:45 am | |
| Edho Arief | Feb 24, 2012 2:59 am | |
| Roberto De Ioris | Feb 24, 2012 3:14 am | |
| athalas | Feb 24, 2012 3:36 am | |
| Roberto De Ioris | Feb 24, 2012 3:38 am | |
| athalas | Feb 24, 2012 3:41 am | |
| athalas | Feb 24, 2012 5:32 am | |
| Roberto De Ioris | Feb 24, 2012 5:41 am | |
| athalas | Feb 24, 2012 6:07 am | |
| Reinis Rozitis | Feb 24, 2012 6:34 am | |
| Roberto De Ioris | Feb 24, 2012 6:37 am | |
| athalas | Feb 24, 2012 6:44 am | |
| Roberto De Ioris | Feb 24, 2012 6:47 am | |
| athalas | Feb 24, 2012 7:07 am | |
| Delai S. | Mar 18, 2012 3:02 am | |
| Roberto De Ioris | Mar 18, 2012 8:29 am | |
| 郭振立 | Mar 18, 2012 10:22 pm | |
| Roberto De Ioris | Mar 18, 2012 11:23 pm | |
| Roberto De Ioris | Mar 18, 2012 11:49 pm | |
| Delai S. | Mar 19, 2012 7:45 pm | |
| Roberto De Ioris | Mar 19, 2012 11:23 pm | |
| Delai S. | Mar 20, 2012 4:08 am | |
| Delai S. | Mar 20, 2012 4:09 am | |
| Roberto De Ioris | Mar 20, 2012 4:16 am | |
| 郭振立 | Mar 22, 2012 9:40 am |
| Subject: | Re: a new uWSGI PHP plugin is available | |
|---|---|---|
| From: | Roberto De Ioris (robe...@unbit.it) | |
| Date: | Mar 19, 2012 11:23:21 pm | |
| List: | ru.sysoev.nginx | |
Roberto De Ioris wrote in post #1052159:
How would I then proceed to build the uWSGI php plugin?
if all goes well you will end with a binary named 'uwsgi'
server { listen 8080; server_name www.myphp.com myphp.com; location ~ .php { root /var/www/php_test; uwsgi_pass 127.0.0.1:3030; include uwsgi_params; } }
here you have missed
uwsgi_modifier1 14;
that instruct uWSGI to route the request to the php plugin.
About index.php you can add an index directive in nginx or
php-index = index.php
in uwsgi config
-- Roberto De Ioris http://unbit.it
Hi, Ioris Thanks for your reply, I add uwsgi_modifier1 14; to nginx server config file. myphp.com:8080/index.php can visited now, but myphp.com:8080 still return 404.
I Hava try a lot solution, like add "index index.php" to nginx or run uwsgi with --php-index index.php all failed
SO, HOW CAN I TELL UWSGI to run index.php defaultly?
Another Question: I use the uwsgi config in http://projects.unbit.it/uwsgi/wiki/PHP, run as uwsgi --ini uwsgi_config While I visit myphp.com/index.php, return 502 error uwsgi print the error message: -- unavailable modifier requested: 14 --
--
I fear you are not loading the php plugin into uwsgi:
--plugin php
Check startup logs, for plugin loading errors (they come pretty soon)
-- Roberto De Ioris http://unbit.it
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx





