Announcement

Collapse
No announcement yet.

PHP Extensions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Extensions

    Hi Everyone,
    Is there a way i can install all php extensions and activate the on all versions of PHP? I am constantly getting issues telling me certain extensions are not installed even though it says on my side it is!

    Thanks

    Rockyuk

  • #2
    Dont do this! Never ever! Yes you can, but its complete BS, you make the server slower, you have more attack surfaces, and more work to hold the system updated (and more reboots are more downtimes), in short - you are begging for troubles. Only install the needed modules. Do your lessons, learn which you need.

    Comment


    • #3
      Hello Mark! Thank you for reaching out!
      Johannes is right. Thanks, Johannes. As for the installation, you can install alt-php like this: yum groupinstall alt-php. More details here https://docs.cloudlinux.com/cloudlin...n-and-update-4.
      If you require any further information, let me know.

      Comment


      • #4
        Hi Sergey,
        I seem to always have this issue with CloudLinux it tells me the extensions are enable but when doing upgrades or script installs it tells me certain extensions are missing!

        I am upgrading a script within Softaculous

        Then gives me this error

        The following errors were found :

        Required PHP extension not found : json
        Required PHP extension not found : PDO
        Required PHP extension not found : mbstring

        Which they are all enabled.

        Thanks

        Rockyuk

        Comment


        • #5
          Hi Mark, please specify, are you using alt-php or ea-php?
          If you use alt-php then check rpm -qa|grep alt-phpXX-mbstring and for ea-php respectively.
          Or if you can then post phpinfo and we will check. Thanks.

          Comment


          • #6
            Code:
            [root@server ~]# rpm -qa|grep alt-php71-mbstring
            
            alt-php71-mbstring-7.1.32-3.1.el6.x86_64
            
            [root@server ~]# rpm -qa|grep alt-php72-mbstring
            
            alt-php72-mbstring-7.2.23-2.el6.x86_64
            
            [root@server ~]# rpm -qa|grep alt-php73-mbstring
            
            alt-php73-mbstring-7.3.10-2.el6.x86_64

            Comment


            • #7
              [root@server ~]# cagefsctl --sanity-check
              Check cagefs mount points exists:
              OK: No missing mount points found

              Check cagefs users.enabled is directory:
              OK: /etc/cagefs/users.enabled is fine

              Check cagefs users.disabled is directory:
              OK: /etc/cagefs/users.disabled is fine

              Check cagefs disable.etcfs exists:
              OK: /etc/cagefs/http://etc.safe/disable.etcfs exists

              Check cagefs users can enter cagefs:
              OK: Several tested users really can enter cagefs

              Check cagefs proxy commands configs are parsable:
              OK: Syntax looks fine. Files are parsable

              Check cagefs virt.mp files syntax:
              SKIPPED: No virt.mp files found

              Check MultiPHP system default php version:
              FAILED: MultiPHP system default PHP version is alt-php. PHP Selector does not work and should be disabled!

              Comment


              • #8
                Hello Mark! Thanks for the information provided.
                "FAILED: MultiPHP system default PHP version is alt-php. PHP Selector does not work and should be disabled!". This Error indicates that you have selected alt-php in MultiPHP Manager as System PHP Version and PHP Selector will NOT work in this case.
                Here you can read in more detail: https://docs.cloudlinux.com/cloudlin...#prerequisites
                If you want to select alt-php as default, you can do this in LVE Manger> Selector> Default php version and select alt-php there.
                If you have any other questions, feel free to ask here.
                Thank you for contacting us.

                Comment


                • #9
                  I have the same problem, in my alt-php mbstring is installed, but phpinfo said this is disabled. Wordpress showme message mbstring is not enable. My Cloudlinux installation is new.

                  Comment


                  • #10
                    > I have the same problem, in my alt-php mbstring is installed, but phpinfo said this is disabled. Wordpress showme message mbstring is not enable. My Cloudlinux installation is new.

                    Hello Omar,
                    Thank you for reaching out! Please check your settings according to our documentation here https://docs.cloudlinux.com/command-.../#php-selector
                    If that doesnt help could you please create a ticket here https://cloudlinux.zendesk.com/hc/en-us/requests/new and technical experts will help you asap. Thank you for contacting us.

                    Comment

                    Working...
                    X