Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2006
    Posts
    22

    Default error running /scripts/upcp

    Hi,

    When I run /scrips/upcp I receive this message:

    Running /scripts/postupcp...[/scripts/updatephpconf]: Improper PHP installation prefix /usr/local/php4. Not a directory, check your installation.

    any idea?

    thanks

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by nocbr.com View Post
    Hi,

    When I run /scrips/upcp I receive this message:

    Running /scripts/postupcp...[/scripts/updatephpconf]: Improper PHP installation prefix /usr/local/php4. Not a directory, check your installation.

    any idea?

    thanks
    /scripts/postupcp is a custom script triggered upon the completion of upcp. You may wish to take a look at the contents of postupcp. If you created postupcp yourself, you may want to ensure its contents are still working as intended.

  3. #3
    Member ravindradhainwa's Avatar
    Join Date
    Jan 2008
    Posts
    42

    Default

    Hello,

    Before running /scrips/upcp you need to create a directory php4.

    mkdir /usr/local/php4
    /scrips/upcp

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by ravindradhainwa View Post
    Hello,

    Before running /scrips/upcp you need to create a directory php4.

    mkdir /usr/local/php4
    /scrips/upcp
    Not true. The problem is what DavidG identified, an incorrect check in /scripts/postupcp.

Similar Threads & Tags
Similar threads

  1. system locks up when running /scripts/upcp
    By sushi3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-16-2007, 02:53 AM
  2. Always get this error when running upcp
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-15-2005, 10:11 AM
  3. Running /scripts/upcp and PathTools-3.00 gives error
    By brainx in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 07-18-2005, 11:24 AM
  4. ./scripts/upcp not running anymore
    By vwiley1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-04-2004, 12:20 PM
  5. Error when running /scripts/upcp
    By WildWayz in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 12-18-2001, 05:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube