Article 6CEMS PHP Config

PHP Config

by
TBotNik
from LinuxQuestions.org on (#6CEMS)
All,

I have LAMP installed on my server but PHP is not rendering at either the command line or the browser. Running "PHP -v" gives:
  • PHP 7.2.24-0ubuntu0.18.04.15
When trying to find a HOWTO on doing a PHP Config all I get are install help pages, but I have no inet at this sever location and all those pages talk about a package "fpm", which I do not have so under /etc I only have:
  • /etc/PHP/7.2/apache2
  • /etc/PHP/7.2/cgi
  • /etc/PHP/7.2/cli
So not sure about how to edit these for the right parms and I know there is a place where "PHP" must be added for apache to actually read and interpret any PHP file.

A link to the right config HOWTO is all I need!

All help appreciated!

TBotNik
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments