PHP socket module appears to not load and no error logs
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and DirectAdmin
  1. Luis Lara
  2. 07.08.2019
  3.  Subscribe via email
Hi
Yesterday I had few issues with php that was solved succesfull, thanks to CLN and DA team.
Well, since activated cagefs and php selector I am unable to use the following script to connect DA's api https://github.com/directadmin/httpsocket/blob/master/httpsocket.php

I have sockets php module enabled.

I am unable to find php logs. I enable display_error on php selector settings and codeigniter but nothing happens. Can you tell me where I can find individual error logs to review if I am missing something?

Regards
Rate this post:
  1. 08.08.2019 09:08:39
  2. # 1
Kate Grechishkina Accepted Answer
Posts: 40
Joined: 13.04.2019
0
Votes
Undo
Hello,
You may want to check /var/log/httpd/domains/DOMAINerror.log file on DirectAdmin.
Also, try to run the same script from inside user's CageFS manually to troubleshoot:
# su - USER -s /bin/bash
# cd DOCROOT
# php index.php
If the script fails from CLI as well, try checking the process with strace.
# strace -s 5000 -f -o strace.log -t php index.php

You can also submit a ticket with CloudLinux support team at https://cloudlinux.zendesk.com/
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Luis Lara
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.