Comments (2)
Hi again,
I'm still not able to figure out where the speed is coming from, by just doing those few command:
# php7.3-fpm
apt update && apt install php7.3-fpm php7.3-xml php7.3-bz2 php7.3-zip php7.3-mysql php7.3-intl php7.3-gd php7.3-curl php7.3-soap php7.3-mbstring php7.3-bcmath -y
# copy php-fpm pools & php.ini configuration
cp -rf $HOME/ubuntu-nginx-web-server/etc/php/7.3/fpm/* /etc/php/7.3/fpm/
cp -rf $HOME/ubuntu-nginx-web-server/etc/php/7.3/cli/* /etc/php/7.3/cli/
service php7.3-fpm restart
git -C /etc/php/ add /etc/php/ && git -C /etc/php/ commit -m "add php7.3 configuration"
# copy all common nginx configurations
cp -rf $HOME/ubuntu-nginx-web-server/etc/nginx/conf.d/* /etc/nginx/conf.d/
# commit change with git
git -C /etc/nginx/ add /etc/nginx/ && git -C /etc/nginx/ commit -m "update conf.d configurations"
cp -rf $HOME/ubuntu-nginx-web-server/etc/nginx/common/* /etc/nginx/common/
# commit change with git
git -C /etc/nginx/ add /etc/nginx/ && git -C /etc/nginx/ commit -m "update common configurations"
is this file wp-fcgi-cache-php72.conf somehow included by default some where in the configs?
I can get the site loading faster if include that file with the vhost configs and replacing it with php73.conf
server_name sitename.com www.sitename.com;
access_log /var/log/nginx/sitename.com.access.log rt_cache;
error_log /var/log/nginx/sitename.com.error.log;
root /var/www/sitename.com/htdocs;
index index.php index.html index.htm;
include common/wp-fcgi-cache-php72.conf;
include common/wpcommon-php73.conf;
include common/locations-php73.conf;
include /var/www/sitename.com/conf/nginx/*.conf;
thanks in advance.
from ubuntu-nginx-web-server.
Hello @TheSkyHeart,
If you have only add php upstreams for php5.6 and php7.0, it should not make an huge difference with the previous configuration. Have you use a similar php.ini and the same php-fpm pools configuration ?
Otherwise, including my fastcgi_cache configuration is a good way to speed-up your website, it only require to preload cache to make sure pages are directly served from nginx cache.
from ubuntu-nginx-web-server.
Related Issues (20)
- Will this work with EEv4 HOT 10
- Stub Conf HOT 2
- Optimizations Made by VirtuBox
- NGINX Configuration failed HOT 17
- Nginx optimized configurations HOT 2
- webp and Cloudflare CDN cache HOT 2
- Enable PHP 7.3 Redis Extension (PHP Redis)
- Error connect () to unix: /run/php70-fpm.sock failed (2: No such file or directory) HOT 1
- www-two-sock..conf has two dot's HOT 3
- Error with Feature-Policy header: Unrecognized feature: 'notifications' HOT 1
- 502 Bad Gateway HOT 2
- Git fatal error HOT 2
- Error with Nginx optimized configurations HOT 1
- Error en acl.conf HOT 1
- Issue with PWA HOT 4
- what does this debug info mean please? HOT 1
- -bash: /etc/bash_completion.d/wo_auto.rc: No such file or directory HOT 1
- Nginx security setting issue with " view details" of plugins HOT 5
- wpcommon-php73.conf has errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-nginx-web-server.