Symptoms
PHP versions sometimes change unexpectedly after cPanel nightly maintenance runs
Cause
If domains or subdomains share a document root, and they are set to different versions of PHP in the MultiPHP Manager, it is possible for the actual version of PHP used by both domains to change during nightly maintenance.
Resolution
We opened an internal case for our development team who have addressed this behavior through case CPANEL-31475, At this time it is no longer possible to configure Alias domains to have a different PHP version then the domain it's parked on.
If you see this behavior continue you should review addon domains and subdomains that share document roots with other addon or subdomains and ensure they have the same PHP version set within the MultiPHP manager.
- Log in to WHM as
root - Navigate to Home / Software / MultiPHP Manager
- Use the MultiPHP Manager to ensure that any domains that share a document root have the same version of PHP
- Log in to cPanel as the cPanel user
- Click on the MultiPHP Manager icon
- Ensure that any domains that share a document root are using the same version of PHP
Comments
1 comment
Update: We would like to thank you for your interest in this article/case and encourage your submissions as they are valuable to the ever-expanding development of cPanel & WHM. At this time, this particular issue has not been selected for action from our Development Team, as it may require more development resources than we can allot, or alters the direction cPanel envisions for the product. Submissions persist in our Issue Tracking System in the event the impact of the related issue grows or product direction changes. If you feel that this defect requires direct action, we strongly encourage you to submit a Feature Request to allow the cPanel Community to vote and support your cause.
Thank you again for helping us make cPanel & WHM the hosting platform of choice.
Article is closed for comments.