Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Running /scripts/postupcp...Can't open /var/cpanel/3rdparty/etc/php.ini: No such file

Discussion in 'General Discussion' started by isputra, May 8, 2008.

  1. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    Hi,

    I just upgrade WHM to WHM 11.23.0 cPanel 11.23.0-C24218 and have this message at the end of proccess upcp (using /scripts/upcp) :

    Running /scripts/postupcp...Can't open /var/cpanel/3rdparty/etc/php.ini: No such file or directory.
    ...Done


    Is this normal ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,582
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    This is what in inside /scripts/postupcp :

    Code:
    #!/bin/sh
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /usr/local/cpanel/3rdparty/etc/php.ini
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /var/cpanel/3rdparty/etc/php.ini
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /usr/local/cpanel/3rdparty/etc/php.ini
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /var/cpanel/3rdparty/etc/php.ini
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /usr/local/cpanel/3rdparty/etc/php.ini
    perl -p -i -e 's/^.*register_globals.*=.*$/register_globals = On/g' /var/cpanel/3rdparty/etc/php.ini
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    Anyone can help me ?

    It's look like Fantastico part like Infopro mention and i think it's added when fantastico update every day through cron.

    Fantastico also not works either.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    You will need to contact fantastico as it looks like a bug in their software.
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,582
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Remove just this stuff and see how it goes:

    Worse case you can't get into Fantastico.

    I just removed those lines from mine, too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    Remove from /scripts/postupcp and Fantastico don't works :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,582
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Still working here, cPanel 11.23.3-C25576
    . I do have ioncube ticked in the PHP section of tweak settings though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice