Hi Guys please help, I followed the tut on How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Arch Linux
everything went ok apart from after installing PHP, the install went ok but when I added the text below to /etc/httpd/conf/httpd.conf
LoadModule php5_module modules/libphp5.so AddHandler php5-script php Include conf/extra/php5_module.conf
httpd will not restart I get the message:- Job for httpd.service failed. See “systemctl status httpd.service” and “journalctl -xe” for details.
if I comment out the line below from http.conf, only then will httpd.service restart :- LoadModule php5_module modules/libphp5.so
Please can someone help this is my 5th attempt at LAMP.
many Thanks Lindu2
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello guys,
I am getting the following error on sudo systemctl restart httpd:
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details
After doing these:
I got these:
Hey there!
The article you mention looks a bit outdated to me. However, what happens if you make the following changes:
And then comment out:
Finally restart the service with a:
If that doesn’t do the trick, can you please run the commands:
And paste the relevant details here or link to a gist?