php

  1. T

    php 8.2 on Centos7

    Hello. Currently running Centos7 on my VPS with 5 accounts (all currently on php 7.2 version), I need to install php 8.2 on one account. Php 8.2 is not available when I try to change the php version. Is it possible ? Thanks Arthur
  2. G

    Having problems with PHP selector

    Hi folks, Sorry if this is in the wrong section. Im trying to install php extensions for a domain I am hosting. I have Cloudlinux installed and its using PHP selector. Now normally you would go into PHP selector, and click extensions and do it that way. However, when I goto PHP selector, the...
  3. K

    WHM stuck on PHP 7.4

    I've been trying to load a newer version of PHP with EasyApache for the a while with no luck I can't get us beyond 7.4 which has been loaded for ages. The server has been working functionally except for the inability to get 8.X installed, I've been able to add and remove PHP versions in the past...
  4. K

    Trying to make PHP 5.6 available using an EasyApache 4 custom profile, but it says it will not install unsupported packages?

    I know that PHP 5.6 is a security risk, but I have some very old sites that use mysql_connect(), so I would like to install it on an Ubuntu machine. I'm trying to install it with an EasyApache 4 custom profile, but it says it will not install unsupported packages. What else do I need to do to...
  5. M

    Email pipe to PHP script not getting whole string if email exceeds 1MB

    Hello, I am using cPanel Pipe to function to my PHP script using the modified following code to insert email to mysqli: https://forums.cpanel.net/threads/piping-mail-to-php-scripts-howto-and-checklist.50985/ It's working fine. But the problem is if the email attachments crosses 1MB then PHP is...
  6. C

    Sysvsem in php 8.1

    Good day, I'm running WHM 110.0.2 on AlmaLinux v8.7.0 STANDARD vzcontainer. The PHP version is 8.1. NextCloud Hub was just updated to the latest version, 26.0.1. It gives a warning: This instance is missing some recommended PHP modules. For improved performance and better compatibility it is...
  7. H

    Php Error

    PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/abcd/public_html/index.php on line 15 How to fix this error
  8. C

    SOLVED cPanel version 110 internal cPanel PHP from PHP 7.4 to PHP 8.1 question

    Non Cloudunix platform; VPS Currently on 108.0.15 Notification in WHM that version 110.0.1 is available. Googling cPanel version 110 says internal cPanel PHP upgraded from PHP 7.4 to PHP 8.1. Does this affect any accounts that may be running apps such as phpbb on php 7.4 or is the upgrade...
  9. F

    After changing PHP to 8.1 for a domain it still shows as 8.0

    The server has PHP 8.0 and 8.1 installed, but using MultiPHP Manager to set the PHP version to 8.1 does not seem to work. Subsequently running php --version in a shell for that domain gives "8.0.28". From the WHM terminal I get "8.1.17". The domain needs 8.1 for a Laravel 10 app, so how can I...
  10. B

    Remove unnecessary versions of PHP from EasyApache

    Did a lot googling but couldnt find a way to remove - in this case - 7.2 and 7.3 from the list
  11. R

    Recommendations for “ea-php80-php”: PHP DSO *

    Getting this recommendation all the sudden, however when looking into the compatibility for litespeed server, both recommendations are not recommended, and noted as incompatible. Thought I'd double check what ya'll thought, and bring attention to the bad recommendation if indeed these are not...
  12. P

    Databases Missing from phpMyAdmin Navigation

    I have some databases that were created by Wordpress Toolkit in cPanel which I cannot find in phpMyAdmin no matter what I do. I've tried logging into WHM as the root user and accessing phpMyAdmin that way which shows most databases, but not all of them. In the past I have had problems with...
  13. K

    AlmaLinux 8, MySQL 5.7 and PHP 7.4 (or earlier)

    Howdy! I understand that cPanel & WHM version 110 will be the last version that supports CentOS 7, and support for version 110 will end June 30, 2024. I am presently running CentOS v7.9.2009 STANDARD virtuozzo . I also understand that as of this time the Elevate to AlmaLinux 8 script does not...
  14. B

    phpmyadmin loads in PHP 7.4 environment instead of PHP 8.2?

    I'm under WHM 108.0.14 with PHP 8.2 set as the default PHP release under MultiPHP. Whenever I launch phpmyadmin from any cPanel account, it reports running under PHP 7.4 (which is really outdated by now). Why is that and how can I fix that? I have tried to reboot the whole server just in case...
  15. S

    Default PHP change - CentOS 7

    Anybody else running CentOS 7 with their default PHP version set to 8.0 noticing that some mysterious task is resetting the default PHP version to 8.1? This has happened on more than one occasion. The file /etc/cpanel/ea4/php.conf gets changed from default: ea-php80 to default: ea-php81...
  16. P

    php version change wont reflect

    Hi I have an old app that requires php 7.3 which i have still installed I added a subdomain under a main domain that runs v8.1 I changed the subdomain to 7.3 SHELL : php -v shows 7 ( in the folder of the subdomain) phpinfo(), now shows 7 if i run it as subdomain/info.php if i run it like...
  17. M

    Tell Composer to use a different php version

    I am trying to get Composer to run on a client's machine using php 8.0. I installed Composer using the following commands: curl -sS https://getcomposer.org/installer | /opt/cpanel/ea-php80/root/usr/bin/php mv composer.phar /usr/local/bin/composer chmod +x /usr/local/bin/composer But when I...
  18. B

    PHP 8.1 start_session() hangs/freezes indefinitely (script "loads" forever, no error/output)

    I've begun slowly migrating websites on this WHM 106.0.14 server from PHP 7.4 to PHP 8.1 since PHP 7 has now fully reached end of life. PHP 8.1 was installed via EasyApache 4. I'm running into a weird issue that I've never had to deal with in over 20 years of using PHP on various servers and I...
  19. Tarak Nath

    SOLVED PHP file not execute except index.php

    Hello, cPanel account1: We can able to execute any php file along with index.php like http://domain1.com/index.php or http://domain1.com/test.php cPanel account2: But not able to do the same through domain like http://domain2.com/test.php. Please note that index.php is working like...
  20. R

    PHP can't write files

    I have an issue where PHP should generate a PDF in a folder called 'invoices' when a customer completes a purchase. This was working fine and then stopped without any changes to the PHP scripts. After a bit of investigation (see this stack overflow thread for the details) it seems that the...