Posts: 394
Thanks received: 120
Thanks given: 403
Joined: Dec 2010
Hi
ever thought to change the webserver?
Here is an nice article
http://www.openlogic.com/wazi/bid/188124...erving-PHP
krinlyc
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
19 Dec 2013, 19:43
(This post was last modified: 19 Dec 2013, 19:45 by Like Ra.)
I was thinking about nginx... But the required amount of work is a bit scary. I still do not have time to republish all pages broken by @#$%^& photobucket.... And yes, I'm running php-fpm 😉
Bottom line - I agree with the article. Nginx + php-fpm is the way to set up a new web-site. Also, the last stable of mod_pagespeed supports Nginx.
As for the database, my choice is still MySQL, but if Oracle does not speed up, MariaSQL may move to the 1st place in a couple of years.
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
OTOH... I can play with Nginx on another port, right? 😉
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
I can't make Nginx work with PHP. It keeps ignoring the "root" variable and uses the directory that is not mentioned in any of the config files (built-in?). Two days wasted, still no luck.
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
Nginx does not communicate with PHP5-FPM the root directory. Actually, for some reasons (bugs?) the root directory cannot be set up for PHP files at all, no matter what.
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
OK, I gave up. Apache will stay.
Posts: 394
Thanks received: 120
Thanks given: 403
Joined: Dec 2010
wow so much trouble? I give it a try on a virtual machine...
I am on vacation till next year 😊
krinlyc
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
I wonder if it's a combination of Ubuntu, PHP5-FPM and Nginx. I've read that the most used platform for Nginx is CentOS. I tried to run it in parallel with Apache on port 81. According to various examples and documentation it should work, but this bloody #$%^ stuck on /etc/nginx/html root dir which even does not exist and not mentioned in any config files. I've found similar questions on the Internet and most of them are not answered.
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
The site was down for ~40 minutes due to emergency maintenance on the real server.
Posts: 25,994
Thanks received: 12944
Thanks given: 6954
Joined: Jul 2006
And here comes another frustration - I'm fed up with the current menu and the menu design. Also it's broken on mobile devices. Need to completely redo it. I have two options in mind: jQuery and pure CSS based.