• detlyfindia

    (@detlyfindia)


    Hi ,

    Please help me with this issue ,

    I have updated PHP version to 7.4 in Cpanel by asking the host provider . Updated every theme and plugins . Tried all steps like creating phpinfo file etc to get the info but still wordpress is throwing error as “PHP updation required ” because of which i am not able to install woocommerce plugin . WordPress is showing version as 5.6.40 .

Viewing 5 replies - 1 through 5 (of 5 total)
  • javid99

    (@javid99)

    HI
    If you use Cpanel, Do this.

    Cpanel – SOFTWARE – MultiPHP INI Editor – Basic Mode – Configure PHP INI basic settings – Your domain (- – Select a location – -) – At the end (Apply)
    If you do not take this route Server 5.6 reads.
    After that test, the problem will be fixed.
    Good luck

    Thread Starter detlyfindia

    (@detlyfindia)

    Cannt find php.ini file

    Any other way to edit that file ???

    javid99

    (@javid99)

    Hi
    This item is available in the server panel.
    If not, contact server support.
    This file php.ini is automatically generated Cpanel and placed in the file .htaccess wordpress .
    If you do not save up the path on the server does not apply.

    Good luck

    Thread Starter detlyfindia

    (@detlyfindia)

    Thanks for helping me .

    I have access to .htaccess , can’t I make the changes from there ??

    javid99

    (@javid99)

    If you access the same sample it is possible.
    Also create a file php.ini & .user.ini for it on the root server.
    Something like this:htaccess

    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php7_module>
    php_flag display_errors Off
    php_value max_execution_time 90
    php_value max_input_time 60
    php_value max_input_vars 10000
    php_value memory_limit 1024M
    php_value post_max_size 80M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path “/var/cpanel/php/sessions/ea-php73”
    php_value upload_max_filesize 200M
    php_flag zlib.output_compression Off
    </IfModule>
    <IfModule lsapi_module>
    php_flag display_errors Off
    php_value max_execution_time 90
    php_value max_input_time 60
    php_value max_input_vars 10000
    php_value memory_limit 1024M
    php_value post_max_size 80M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path “/var/cpanel/php/sessions/ea-php73”
    php_value upload_max_filesize 200M
    php_flag zlib.output_compression Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit

    Something like this: php.ini
    Something like this: .user.ini

    allow_url_fopen = On
    allow_url_include = Off
    display_errors = Off
    enable_dl = Off
    file_uploads = On
    max_execution_time = 90
    max_input_time = 60
    max_input_vars = 10000
    memory_limit = 1024M
    post_max_size = 80M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php73”
    upload_max_filesize = 200M
    zlib.output_compression = Off

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress Not Recognising PHP updation done in Cpanel’ is closed to new replies.