Skip to main content

Apache & PHP-FPM troubles

Comments

4 comments

  • David Hillstrom

    This shows up in a system email indicating FPM is running ... but it's not. My system does not have a /var/log/messages, it's using /var/log/syslog for that role. I created /var/log/messages chmod 777, rebooted, and it remains empty.

     

    The system could not provide log messages for “apache_php_fpm” because it failed to read all of the potential log files with the following errors: Error while attempting to open “/var/log/messages”: “No such file or directory”, Error while attempting to open “/var/log/secure”: “No such file or directory”

    0
  • cPRex Jurassic Moderator

    Hey there!  You mentioned you were able to make a ticket - could you share that number here?

    0
  • David Hillstrom

    Thanks for the reply - I made a ticket, then I made a terrible mess, and someone from tech support bailed me out. The client we could not afford to lose has been serviced, and we're on to the next big thing.

    David, the owner of this account, is the PHP developer and VSCode user. I'm the heavy lifting with Linux guy, and what little programming I do has been Python/PyCharm, so I got thrown to the wolves on this job.

    I would still like to get Xdebug running remotely, just for my own knowledge of the subject. The results on this are very confusing to me, they all seem to presume knowledge that I, as a back end/CLI kinda guy, do not have.

    Is there a good write up out there that covers how to do this?

    0
  • cPRex Jurassic Moderator

    Since things are working well now, and it required a ticket intervention, it might be best to ask in the ticket since that person would know what specifically went wrong with the system.

    We have details on how you can make this change, but it requires being the root user of the user: https://support.cpanel.net/hc/en-us/articles/18016933276567-How-to-install-Xdebug-using-the-command-line

    0

Please sign in to leave a comment.