PHP change causes owner change in MultiPHP
Hello, just migrated from EA3 to EA4 to update php versions and switch over to mod_lsapi. For some reason when changing the php version for a domain in WHM->Home "Software "MultiPHP Manager the owner shown is changed to the user currently logged in to WHM (in my case root). This also happens when logging into a specific cpanel account as root (through WHM) and making the changes in cpanel MultiPHP. In the attached both owners were kdub, and after I changed php version, the owner is shown as root.
Oddly enough, WHM->List Accounts still shows the correct owners even though MultiPHP does not. Not sure why this is happening and what the repercussions are.
CENTOS 6.10 kvm v78.0.21 EA4 Apache 2.4, PHP 5.6, PHP 7.1, PHP 7.2, and PHP 7.3 with mod_lsapi, mod_suExec. No suPHP, fcgi, or php-fpm
-
Hi @kdub I'm not able to replicate this on a system with EA4 + mod_lsapi w/no PHP-FPM suexec or fcgi. The only differences in my system are I'm running edge (v80) of cPanel/WHM on CentOS 7 though I don't think those two factors should cause an issue. So far I've changed the PHP version of three domains owned by my reseller with no change in account ownership while logged in as the root user. Is there any other replication steps or information that might be useful? Thanks! 0 -
In WHM 76 I was forced to migrate to EA4. The EA3 profile was grandfathered in by EA4 and included Apache 2.2, PHP5.4, fastcgi, and php-FPM which several hosted sites were using. WHM was then updated to 78. I'm not sure if this issue existed prior to the migration/update. A week later, (yesterday) I implemented this EA4 profile: Current Profile The currently installed packages on the server. Apache 2.4 config config-runtime devel mod_brotli mod_bwlimited mod_cgid mod_cpanel mod_deflate mod_evasive mod_expires mod_headers mod_lsapi mod_mpm_event mod_proxy mod_proxy_http mod_proxy_wstunnel mod_security2 mod_ssl mod_suexec mod_unique_id tools PHP 5.6 libc-client pear php-bcmath php-bz2 php-calendar php-cli php-common php-curl php-devel php-enchant php-exif php-fileinfo php-ftp php-gd php-gettext php-iconv php-imap php-intl php-ioncube10 php-litespeed php-mbstring php-mcrypt php-mysqlnd php-pdo php-posix php-pspell php-sockets php-sourceguardian php-tidy php-xml php-zendguard php-zip runtime PHP 7.1 libc-client pear php-bcmath php-bz2 php-calendar php-cli php-common php-curl php-devel php-enchant php-exif php-fileinfo php-ftp php-gd php-gettext php-iconv php-imap php-intl php-ioncube10 php-litespeed php-mbstring php-mcrypt php-mysqlnd php-pdo php-posix php-pspell php-sockets php-sourceguardian php-tidy php-xml php-zip runtime PHP 7.2 libc-client pear php-bcmath php-bz2 php-calendar php-cli php-common php-curl php-devel php-enchant php-exif php-fileinfo php-ftp php-gd php-gettext php-iconv php-imap php-intl php-ioncube10 php-litespeed php-mbstring php-mysqlnd php-pdo php-posix php-pspell php-sockets php-sourceguardian php-tidy php-xml php-zip runtime PHP 7.3 libc-client pear php-bcmath php-bz2 php-calendar php-cli php-common php-curl php-devel php-enchant php-exif php-fileinfo php-ftp php-gd php-gettext php-iconv php-imap php-intl php-ioncube10 php-litespeed php-mbstring php-mysqlnd php-pdo php-posix php-pspell php-sockets php-tidy php-xml php-zip runtime Additional Packages apr apr-devel apr-util apr-util-devel brotli cpanel-tools documentroot libargon2 libcurl liblsapi libmcrypt libnghttp2 libtidy libxml2 modsec-sdbm-util nghttp2 openssl php-cli php-cli-lsphp profiles-cpanel
While logged in as root: WHM->MultiPHP then showed system version PHP is 7.3 with all domain php version as inherited, and correct account ownership. After configuring php.ini for all PHP versions in WHM->MultiPHP, I went to WHM->List accounts and launched cpanel for a hosted account domain.tld owned by kdub. From cpanel->MultiPHP I set version to PHP 5.6. When I returned to WHM->MultiPHP the owner for domain.tld now shows root instead of kdub. I then used the drop down to change php version for a second account from inherit to PHP5.6 and the owner was immediately changed from kdub to root. Checking WHM->list accounts, the account owners are still showing correctly as kdub Issue is still present after logout and back in. Let me know how else I can help. Thanks.0 -
Hi @kdub Thank you very much for the detailed response, at this point though I think it might be best if we were able to troubleshoot this with access to the system. Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
Unfortunately, WHM is provided by my hosting provider so I'm not able to submit a ticket directly to cPanel. I think submitting a ticket with my host is going to be a waste of time. The issue seems harmless at this point. Maybe someone buying direct with cPanel has this issue and can submit a ticket. 0 -
Hi @kdub We encourage you to open a ticket with your provider first but if they're unable or unwilling to assist then there should be no issue with opening a ticket with us directly. Thanks! 0
Please sign in to leave a comment.
Comments
5 comments