Level 73
I suggest following this guide
https://www.howtoforge.com/tutorial/install-nginx-with-php-and-mysql-lemp-stack-on-centos/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a problem where when I deploy my application on the centos 7 servers using httpd, httpd only renders code from index.php but is not executed. I have used all permissions and I have loaded the PHP module, but it doesn't show any changes, what should I do?
I figured out my problem that mod_php is not default installed after I install PHP and httpd, now it works with this command:
yum install mod_php and systemctl restart httpd
Please or to participate in this conversation.