Neovote_G, Thanks for the quick reply. I've added it to the www.conf file as well (in my case /etc/php-fpm.d/www.conf) but it hasn't made a difference. Could it be a version issue? I'm using the latest version (5.3.10) with nginx ver 1.0.12 ... maybe I'll try to install an older version of php-fpm (before they added the security.limit_extensions directive). Thanks again, MSJby MainStreetJames - How to...
Neovote_G Wrote: ------------------------------------------------------- > security.limit_extensions = .php .php5 in the FPM > pool definition solved it. > > This should be better documented in PHP, I had to > search each point of the changelog to get it. Neovote_G, I'm having a similar problem with PHP inside HTML files, but I can't seem to solve it (forum.nginx.org/reby MainStreetJames - How to...
Hi, Today's my first day with nginx. I'm running nginx 1.0.12 on CentOS 6.2. I am able to display HTML pages, and PHP pages, but any PHP inside of an HTML page does not execute. I realize that mixing PHP inside the HTML isn't optimal use of nginx, but I need the code to work until I get a chance to separate everything. I've tried adding the following to the vhost file for the site (cby MainStreetJames - How to...
![]() |
![]() |
![]() |
![]() |
|