Useful shell commands to check if PHP-FPM is running correctly
- This topic is empty.
April 2024 only! Join our Discord free of charge.
I found a few cool shell commands that help to test and diagnose issues with PHP-FPM since you can’t easily test it like you can for Nginx
https://stackoverflow.com/questions/14915147/php-fpm-check-if-running
An easy one is
ps aux | grep php-fpm
To see if the Linux process is running for php-fpm service
basic one is always:
sudo service php8.1-fpm status
You can also use netstat
and search the port like the OP link, because SlickStack doesn’t use Unix sockets to keep things faster over TCP:
netstat -an | grep :9000
This will show you activity since SS uses this rule:
fastcgi_pass 127.0.0.1:9000;
Reference config:
https://github.com/littlebizzy/slickstack/blob/master/modules/nginx/sites/production.txt
maybe this can be integrated with the ss
commands?
how can I downgrade php version from 8.1 to 7.4?
how can I downgrade php version from 8.1 to 7.4?
No thread-jacking please, go here:
and please provide a lot more context to your question.
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!