Nicola Urbinati

Well-Known Member
Feb 1, 2017
76
10
8
Italy
cPanel Access Level
Root Administrator
Hi,

Trying to enable the preview of some site I'm transfering from another server, but they aren't working: "Not enabled" error is showing.

I'm working with suPHP + FPM, and I think I properly set mod_userdir and open_basedir.

What else can I check?
How can I access a php_info file, while all of my server's IPs and domains (also the server's domain) are still to be activated through DNS?

Thank you,
 

Nicola Urbinati

Well-Known Member
Feb 1, 2017
76
10
8
Italy
cPanel Access Level
Root Administrator
Well, i think it's working now (probably a PHP misconfiguration, I had my way to properly set suPH and things...), as it now throws a 500 error and I find php errors logged (Could not execute script "/home/dreamlordpress/public_html/index.php"). This is on http://ip/~user/
Could it be that I use .htaccess? The error is misleading?

By the way, what if I have multiple domains/subdomains for the same user? It throws a 404 if I try subdirectories like http://ip/~user/domain or http://ip/~user/subdomain
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463