1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP CLI version

Discussion in 'Plesk for Linux - 8.x and Older' started by Inarus, Sep 14, 2007.

  1. Inarus

    Inarus Guest

    0
     
    Hallo
    I have plesk panel server which have installed CGI PHP version. Now I need to change PHP to CLI version.

    PHP 4.3.9 (cgi) (built: Nov 10 2005 20:38:14)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with the ionCube PHP Loader v3.0.10, Copyright (c) 2002-2005, by
    ionCube Ltd., and
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by
    Zend Technologies
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend
    Technologies

    I have talked with my server support and they`re told me that they don`t recompile this things because it might break some stuffs on the server. There is any possibility to change PHP to CLI version ?
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Assuming youre on CentOS4/RHEL4, the PHP CLI is /usr/bin/php, and the cgi version is /usr/bin/php-cgi
     
  3. Inarus

    Inarus Guest

    0
     
    Version psa v8.0.0_build80060425.18 os_CentOS 4.2 OS Linux 2.6.9-55.0.2.EL

    In /usr/bin/php i have CGI version and don`t have /usr/bin/php-cgi file :(. What should i do now ? I will be grateful for every single piece of advice :)
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Im using 5.2.3 on my system, which has php-cgi as s separate rpm.

    [root@www ~]# rpm -qf /usr/bin/php-cgi
    php-cli-5.2.3-4.el4.art
     
Loading...