Really?cPanel should update PHP Version 7.4.5 immediately because 7.4.2 do not have GD JPEG Support?
Seems to be configured ok (see below) can you give further details on what is not working, perhaps a code example?1) Pear addon APCu can be installed but it is not being even detected by php applications. It does works perfectly on PHP 7.3. So, some misconfiguration may be happenning on PHP 7.4 because the module is being installed, yet it's undetected. May it be an incompatibility issue perhaps? You tell me.
# /opt/cpanel/ea-php74/root/usr/bin/pecl install APCu … Extension apcu enabled in php.ini # grep -i apcu /opt/cpanel/ea-php74/root/etc/php.d/* /opt/cpanel/ea-php74/root/etc/php.d/zzzzzzz-pecl.ini:extension="apcu.so"
How to enable memcached daemon? Also how to automatically start memcache and memcached with Server Reboot?Item 2 is because the memcached daemon is not running and for security reasons we don’t want to enable it by default.
To make the memcache[d] extension usable you will need to install `memcached` and start the daemon (the package does not start it by default for the same reasons we don’t).
We're planning to update Wednesday which will include the fix for JPEG support. There is an open case for this as well ZC-6605 - I'll update this thread Wednesday confirmation.Just to get ahead of things as well I want to note that there will be an update from PHP for 7.4 tomorrow which we should be pushing next week on Wednesday
This is noted in the Add New Cron Job interfacePHP command examples:
General example:/usr/local/bin/php /home/$USER/public_html/path/to/cron/script
Domain-specific example:/usr/local/bin/ea-php99 /home/$USER/domain_path/path/to/cron/scriptIn the above example, replace “ea-php99” with the PHP version assigned to the domain you wish to use. Look in the MultiPHP Manager for the actual PHP version assigned to a domain.
[[email protected] bin]$ php -v PHP 7.4.2 (cgi-fcgi) (built: Apr 14 2020 23:35:11) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies
[[email protected] public_html]# cat test.php <?php echo 'Current PHP version: ' . phpversion(); ?>
* * * * * php /home/myuser/public_html/test.php
Interesting. Now I wonder why it didn't worked on my test server. I tested it with WordPress cronjobs, WHMCS cronjobs, and with another php script which also requires cronjobs. None of them were executed...So cron jobs for the user should be entered as one of the following:
No other modifications were necessary.
Quick update on that: this will be fixed in 88.3) When you try to uninstall memcache and memcached fron EA4, it will automatically force to entirely uninstall the parent PHP versions to which the selected memcache/memcached items belong. That force you to reinstall PHP and all its modules again, only if you figure out your PHP vanished. Facepalm!
I'm not sure I can give you an answer as to why without further investigation. Can you provide the answers/output of the following for me?Interesting. Now I wonder why it didn't worked on my test server. I tested it with WordPress cronjobs, WHMCS cronjobs, and with another php script which also requires cronjobs. None of them were executed...
[[email protected] bin]$ which phpalias php='/opt/cpanel/ea-php55/root/usr/bin/php'
rpm -qa |grep php-cli
The fix isn't in the changelog yet. It will be when it's added to the build.
There's no date that can be provided for that as of right now but I believe we're looking at a few weeksAlso when v88 will be CURRENT release Tier?
Correction, it is a `Requires` related problem. We’ll post details here once the corrected URLs are publishedQuick update on that: this will be fixed in 88.
The good news is that it isn’t a `Requires` related problem and thus doesn’t happen via CLI if both are erased. It also does not happen when removing memcache or memcached (just both of them).
Appreciate the report!
|Thread starter||Similar threads||Forum||Replies||Date|
|B||Exif issues with php 7.2-7.4||Web Servers and Applications||4|
|J||Upgrading to PHP 7 - What Are Potential Issues?||Web Servers and Applications||5|
|K||EA4 php7.3 install causing session issues||Web Servers and Applications||3|
|M||PHP-FPM Database Connecting Issues||Web Servers and Applications||2|
|C||Issues After Switch to PHP-FPM||Web Servers and Applications||6|