# Magento 1.4, nginx, php fastcgi through spawn-fcgi, and malfunctioning AJAX

**URL:** <https://www.ruby-forum.com/t/magento-1-4-nginx-php-fastcgi-through-spawn-fcgi-and-malfunctioning-ajax/199022>\
**Category:** NGINX\
**Created:** [November 12, 2010, 3:38pm UTC](https://www.ruby-forum.com/t/magento-1-4-nginx-php-fastcgi-through-spawn-fcgi-and-malfunctioning-ajax/199022 "2010-11-12T15:38:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 12, 2010, 3:38pm UTC](https://www.ruby-forum.com/t/magento-1-4-nginx-php-fastcgi-through-spawn-fcgi-and-malfunctioning-ajax/199022/1 "2010-11-12T15:38:04Z")

</div>

Hi,

Here is a screen cast of the issue:  
[http://screencast.com/t/ZquL9DBgvxmU](http://screencast.com/t/ZquL9DBgvxmU)

A Magento 1.4 site I administer was ported from Plesk+Apache to  
cPanel+Nginx recently, and all seemed fine, except, the Catalog \> Manage  
Categories page has a lot of categories. The issue persists through both  
the latest stable Firefox and the Google Chrome browsers.

Once the categories are made, editing them on the web interface seems  
impossible. AJAX seems to run fine, since I get the “Please wait”  
icon, but if I click a category, I cannot edit it because it doesn’t  
load from the left pane onto the editing pane(s).

This thread on Magento’s site details the same issue:  
[http://www.magentocommerce.com/boards/viewthread/200317/#t254131](http://www.magentocommerce.com/boards/viewthread/200317/#t254131)

Magento config:

```auto
location / {
    index index.php;
    try_files $uri $uri/ /index.php?q=$uri&$args;
}
location /skin/m/ {
    rewrite ^/skin/m/([0-9]+)(/.*\.(js|css))$
/lib/minify/m.php?f=$2&d=$1 last;
}
```

Note sure that skins part is necessary; saw it on another site and used  
it. I’m running Nginx 0.8.53, also have and open\_basedir and APC entry  
in the PHP section, and fastcgi\_pass is using PHP 5.2.14 running through  
spawn-fcgi.

Posted at Nginx Forum:

> **[magento 1.4, nginx, php fastcgi through spawn-fcgi, and malfunctioning AJAX](https://forum.nginx.org/read.php?2,150053,150053#msg-150053)**
>
> Hi, Here is a screen cast of the issue: http://screencast.com/t/ZquL9DBgvxmU A Magento 1.4 site I administer was ported from Plesk+Apache to cPanel+Nginx recently, and all seemed fine, except, the Catalog \> Manage Categories page has a lot of...
