Cannot Apply PHP Version to an Account
Hello,
we have an account "diydoo" and i cannot apply another php version on it:
-09-_2019_11-01-58.jpg">61305
Further information:
groups diydoo gives:
diydoo : diydoo nobody
ls -lah /home/diydoo/public_html/.htaccess gives:
-rw-rw-r-- 1 diydoo nobody 13K Sep 27 19:15 /home/diydoo/public_html/.htaccess
lsattr /home/diydoo/public_html/.htaccess gives:
-------------e-- /home/diydoo/public_html/.htaccess
Some lines our of the group file:
diydoo:x:1003:
nobody:x:99:diydoo
cpanelsuspended:x:1001:
/etc/redhat-release:CentOS Linux release 7.7.1908 (Core)
/usr/local/cpanel/version:11.82.0.16
/var/cpanel/envtype:standard
CPANEL=release
There seems to be a problem with an old suspended account.
I don't know how to proceed...
hub
-
What's the permissions on the users homedir diydoo
as well aspublic_html
? It might be that the permissions on those directories are preventing from changing the permissions on the.htaccess
file.0 -
Hello, its drwxr-x--- 26 diydoo nobody 4096 Oct 3 09:10 public_html drwx--x--x 25 diydoo diydoo 4096 Oct 2 18:30 diydoo We did a transfer of the whole account to a new server, its the same behaviour as on the source server. Interesting: If i add a new subdomain to diydoo, then i can successfully switch php version for this subdomain. hub 0 -
Ok, its solved: The .htaccess file (as specified in public_html or in public_html/addondomain/ folder) MUST have permission ACCOUNT/ACCOUNT and not ACCOUNT/NOBODY. We need for running of the software ACCOUNT/NOBODY but when switching php version we have temporarely switch to ACCOUNT/ACCOUNT. hub 0 -
Glad to see you were able to identify the issue and thank you for disclosing how you resolved it. 0
Please sign in to leave a comment.
Comments
4 comments