I'm working on a site that uses the fastcgi setup on a self-hosted nginx server. It was originally set up following instructions on this forum thread: https://www.miva.com/forums/forum/on...ing-in-fastcgi so the setup is very similar. For example the nginx site config has:
and mivavm is started via a command like this:
The mivavm itself was from the fastcgi version from the Miva downloads page: https://www.miva.com/support/downloads
All of that worked fine up until mivavm 5.33 - unfortunately it's compiled for centos7, but the server I'm working on is centos6 and there's no fastcgi mivavm available. So we have to switch from fastcgi to something else. I'm not a server admin so I don't really know what the something else is.
I spoke to Miva support and they told me to use the Linux x64 download, which I did, but as expected, the attempt to run mivavm via the above command fails (it says it can't find/load libmivaconfig.so), so I had to revert back to the 5.32 fastcgi setup.
Has anyone gotten a non-fastcgi nginx setup running on nginx? If so can you give me some steps for how to switch? My thinking is that:
A) I have to modify the .mvc block in the site config, because everything there is regarding fastcgi
B) I have to modify the command I'm using to run mivavm, because that's also fastcgi
The cgi-bin folder is pretty much ready to go with the new 5.33 files, I just don't know how to make them work
Code:
location ~ \.mvc$ { fastcgi_read_timeout 300; fastcgi_pass www.example.com:8005; fastcgi_param MvCONFIG_LIBRARY /var/www/sites/www.example.com/cgi-bin/libmivaconfig.so; include fastcgi_params; }
Code:
/usr/bin/spawn-fcgi -p 8005 -n -- /var/www/sites/www.example.com/cgi-bin/mivavm &
All of that worked fine up until mivavm 5.33 - unfortunately it's compiled for centos7, but the server I'm working on is centos6 and there's no fastcgi mivavm available. So we have to switch from fastcgi to something else. I'm not a server admin so I don't really know what the something else is.
I spoke to Miva support and they told me to use the Linux x64 download, which I did, but as expected, the attempt to run mivavm via the above command fails (it says it can't find/load libmivaconfig.so), so I had to revert back to the 5.32 fastcgi setup.
Has anyone gotten a non-fastcgi nginx setup running on nginx? If so can you give me some steps for how to switch? My thinking is that:
A) I have to modify the .mvc block in the site config, because everything there is regarding fastcgi
B) I have to modify the command I'm using to run mivavm, because that's also fastcgi
The cgi-bin folder is pretty much ready to go with the new 5.33 files, I just don't know how to make them work
Comment