Want more timely Centmin Mod News Updates?
Become a Member

Parse error

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jon Snow, Dec 23, 2025.

  1. Jon Snow

    Jon Snow Active Member

    919
    191
    43
    Jun 30, 2017
    Ratings:
    +296
    Local Time:
    3:00 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I'm upgrading from PHP 8.3.28 and saw this:

    Code (Text):
    PHP Upgrade/Downgrade - Would you like to continue? [y/n] y
    parse error: Invalid numeric literal at line 1, column 10


    It hanged for maybe 1 minute and then I saw this but I was able to upgrade PHP after.


    Should I be concerned?
     
  2. eva2000

    eva2000 Administrator Staff Member

    59,274
    12,508
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,140
    Local Time:
    4:00 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    when you hit enter after typing y, did it take a long time until parse error occured

    seems could be a Github end issue as I have script that checks for latest PHP versions at this point
    Code (Text):
    PHP Upgrade/Downgrade - Would you like to continue? [y/n] y
    parse error: Invalid numeric literal at line 1, column 10
    parse error: Invalid numeric literal at line 1, column 10
    parse error: Invalid numeric literal at line 1, column 10
    parse error: Invalid numeric literal at line 1, column 10
    
    ----------------------------------------------------------------
    Install which version of PHP? (i.e. 7.3.33, 7.4.4, 8.0.30, 8.1.34, , 8.3.29, 8.4.16, 8.5.1, NGDEBUG)
    PHP 7.x/7.1.x/7.2.x/7.3.x is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 8.5 dev builds minus incompatible PHP extensions
    ----------------------------------------------------------------
    
    Current PHP Version: 8.4.16
    Latest PHP Version Installable: 8.5.1, 8.4.16, 8.3.29, 8.1.34, 8.0.30
    
    Enter PHP Version number you want to upgrade/downgrade to:
    

    It (getphpver) only checks PHP versions so doesn't impact the upgrade process. So will need to check it out

    seems also bugged output for php 7.4 as latest is 7.4.33 eol release there
    Code (Text):
    getphpver
    8.5.1
    8.4.16
    8.3.29
    8.1.34
    8.0.30
    7.4.4
    7.3.33
    7.2.34
    7.1.14
    7.0.33
    5.6.40
    5.5.38
    

    Code (Text):
    getphpver 81
    8.1.34
    
    getphpver 82
    8.2.30
    
    getphpver 83
    8.3.29
    
    getphpver 84
    8.4.16
    
    getphpver 85
    8.5.1
    
     
  3. Jon Snow

    Jon Snow Active Member

    919
    191
    43
    Jun 30, 2017
    Ratings:
    +296
    Local Time:
    3:00 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    I think so.

    It was either that or the long time before the PHP Upgrade/Downgrade text showed itself.