multiphp

  1. F

    Prevent EA4 MultiPHP from editing .htaccess ?

    Hi, I'm wondering if there is an alternative way for MultiPHP to set PHP version instead of altering the .htaccess file? Each time the PHP version is changed it adds the following code: # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php71” package as the default “PHP”...
  2. Mangoose

    confusion about which php version website is being served by

    Hi I am using EA4 on my Cpanel server and I work with MultiPHP Manager. One account is being totally served by PHP 5.6 while others should be served by PHP 7.0 according to the settings by the MultiPHP Manager in those hosting accounts which need PHP 7.0 However when I check if indeed this is...
  3. F

    php-cli in different PHP version than MultiPHP selection in EA4

    HI. I am using CloudLinux and EA4 and have noticed a problem with MultiPHP. On one account it is set to inherit the system native PHP version which is 5.6. An addon domain on the account is set to use PHP 7.0, however when this addon domain runs shell commands it is running them in PHP 5.6...
  4. bejbi

    MultiPHP additional custom .ini files

    Hi, I try to add my additional .ini files to php (open_basedir.ini in my case with open_basedir paths) I created file: open_basedir.ini in directory: /opt/cpanel/ea-php71/root/etc/php.d/ And this is something strange: After I copy this file, it will not show in phpinfo() After some times (I...
  5. bejbi

    adding another php directive to MultiPHP ?

    Hi, Is it possible to add another php directive to MultiPHP editor, ie. users could click and select "expose php" options (default yes). Is it possible to add such option (additional php directive) globally ? I mean not manually in php.ini, but in cPanel in MultiPHP editor. W.
  6. M

    SOLVED MultiPHP for Users, PHP Selector for Others

    I apologize if there is some magical thread out there that defines this, I did indeed search but nothing specific so again if there is a thread out there, please link and close this one. I have been slowly migrating things to EasyApache4 and hitting the issue that some customers want the...
  7. G

    Enable PHP Version Switching

    Hello, Is there a simple method for allowing cPanel accounts to switch between various PHP versions? I'm sure in the past I have seen this when using cPanel as a client, but I can't seem to find any option for this aside from using CloudLinux (which I don't want to do currently). On a related...
  8. P

    Domains not listing in Multi PHP manager

    php manager is saying no account listed while there are 40 50 domains on the server this is on latest easyapache 4 server
  9. bejbi

    SOLVED Problem with lsapi_mod and MultiPHP

    I installed mod_lsapi from CloudLinux. But it is not visible in Handlers in MultiPHP (I have only defult: suphp, cgi and none). Should it be there ? How to diagnose what is wrong ? W.
  10. C

    Help adding php version

    I have php 5.6 and 7.0 setup within EasyApache 4. There is one site that needs to run php 5.4 for compatability reasons. I am not sure what all I need to select in EA4 because when I select php54-php is says its going to remove php56-php. I thought the whole point of EA4 was to run multiple...
  11. T

    PHP Cli not running after migrate to EasyApache 4

    Hello, I running VPS Server on GoDaddy. After migrate to EasyApache 4 due to requirments for Magento 2.1 php commands are not acceptable. php bin/magento saying: php bin/magento cache:flush Content-type: text/html; charset=UTF-8 bin/magento must be run as a CLI application[root@xxx-xx...
  12. J

    MultiPHP ini edits selectively applying

    Hi cPanellers! We have been troubleshooting a few MultiPHP quirks this week when applying custom ini configurations. Basically, the built-in customizer interface seems to be ignoring some directives, while applying others. I could go into details, but here's some data that I hope explains where...
  13. Y

    Installing PHP7 Error

    I try install PHP 7, now my apache is offline, when access Apache Status show this: Failed to receive status information from Apache. Unable to connect to local httpd server. I try use /etc/init.d/httpd restart and return this: Stopping httpd...
  14. galbaras

    Quick change of PHP version without losing settings

    Hello cPanel experts, Whenever a new PHP version becomes stable and I want to change a whole range of accounts to using it, I need to reconfigure my choice of extensions and options, and that's just not my idea of fun. Is there a way to change the PHP version while retaining extensions and...
  15. vikelidiskostas

    PHP handlers in EasyApache4

    Hello everyone, This is my first post here so i would like to thank everyone for sharing knowledge and helping others. Now let's get to the point. I am a little bit confused regarding PHP Handlers in EasyApache4. I have a newly installation of cpanel WHM 62.0 (build 10) and as stated here PHP...
  16. A

    SOLVED Move Accounts to PHP7 Questions

    I have newly upgraded to EasyApache4 and have the same desire - I want to slowly shift to PHP7, one domain at a time. Can someone share the best way to do this? Currently PHP 7.1 is not installed -- can I customize my existing package to add PHP 7.1 without having it activated or overriding...
  17. D

    php 7 and php 7.1 running with php 5.6

    I am running WHM 60.35 with cloud linux and easy apache 4. when running easy apache 4 I have php 5.5 and 5.6 running but I see 7.0 and 7.1 available to install but not currently installed. I would like to start testing php7 for certain sites by selectively enabling but I do not want to break...
  18. AndyX

    SOLVED cgi:error when I switch from php56 to php70

    Currently I have ea_php56 selected and my XenForo forum runs perfectly. But when I switch to ea_php70 there is a problem, image attachments are broken. The error_log shows cgi:error message: [Wed Jan 18 01:47:11.242038 2017] [cgi:error] [pid 6275] [client 50.156.102.222:50093] AH01215...
  19. K

    Easyapache4 - PHP handlers

    I've the same probem. How i can display in WHM available all handlers current i have /usr/local/cpanel/bin/rebuild_phpconf --available ea-php56: cgi none suphp ea-php70: cgi none suphp How to add the others? for somewhere say i need to add in apache modules but i can't find such options.
  20. A

    SOLVED Easyapache4 can't change php handler

    Hi running Easyapache4 CENTOS 7.3 WHM 60.0 (build 28). I would like to run php7 and opcache and my current php handler is cgi with php-fpm The cpanel opcache docs say "We strongly recommend that you use the DSO or fcgi PHP handlers if you install OPCache. " But when I click on WHM > MultiPHP...