My journey to nginx continues with problems that follow up. I have had 3-4 problems to get nginx work. But after resolving them voila. It works now :)
The problems were:
directory index of "/usr/share/nginx/html/vhosts/domain.com/subdomains/data/" is forbidden -> Solved by writing the correct domain name to nginx.conf or any of virtual host files.
No input file specified -> Solved by writing the full path of php scripts to one of my virtual host conf.
FastCGI sent in stderr: "PHP Fatal error: Uncaught exception 'Zend_Session_Exception' with message
'Zend_Session::start() - /usr/share/nginx/html/vhosts/lib/Zend/Session.php(Line:438): Error #2 session_start()
-> which is solved by giving correct ownership to folders /var/lib/php and /var/lib/php/session. Before those folders owned by
root.apache and I changed them to root.php where php is the correct user.
Now lets benchmark the sites!
Hiç yorum yok:
Yorum Gönder