Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 13 of 13 FirstFirst ... 3 11 12 13
Results 181 to 191 of 191
  1. #181
    Member
    Join Date
    Sep 2007
    Posts
    29

    Default

    i have problem when access to phpinfo it crash the apache

    when i ps -aux its show load many

    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!
    /bin/bash /usr/local/cpanel/cgi-sys/php5 path!

    until crash...

    please helpp......

  2. #182
    Registered User
    Join Date
    Dec 2007
    Posts
    2

    Default POST Method doesn't work on php5

    I'm Using the latest cpanel version on my new server it's working good on PHP4 but when using PHP5 with post method it doesn't work... then i'm trying using get method it's work... why when i'm using post method on my server with php5 it's won't work! any solution... ????

  3. #183
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by adamsatriabudi View Post
    I'm Using the latest cpanel version on my new server it's working good on PHP4 but when using PHP5 with post method it doesn't work... then i'm trying using get method it's work... why when i'm using post method on my server with php5 it's won't work! any solution... ????
    That's very weird. All of that should still work.

    You aren't relying on register_globals by chance, are you? In PHP 5, register_globals is off by default.

  4. #184
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    Still using PHP4 over here... Is PHPsuexec compatible with PHP 5? Is this setup viable?

    Apache 1.33
    PHP 4 (CGI + PHPsuexec) - Primary
    PHP 5 (CGI + suPHP) - Secondary

  5. #185
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by moronhead View Post
    Still using PHP4 over here... Is PHPsuexec compatible with PHP 5? Is this setup viable?

    Apache 1.33
    PHP 4 (CGI + PHPsuexec) - Primary
    PHP 5 (CGI + suPHP) - Secondary
    If you are running EA3, PhpSuExec is no longer available having been replaced with SuPHP. SuPHP will work with both PHP 4 and 5 as well as any supported version of Apache.

    If you are running the latest version of cPanel/WHM 11 then you are using EA3.
    Last edited by cPanelDavidG; 01-14-2008 at 10:01 AM. Reason: Clarified how to know if using EA3.

  6. #186
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    Thanks, David. Would you say it's safe to upgrade from:

    Apache 1.33 / PHP 4 CGI with Phpsuexec

    to:

    Apache 1.33 / PHP 4 CGI + PHP 5 CGI + Suphp ?

  7. #187
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    323

    Default

    Yes it is - we've done it on almost all of our servers with minor issues (which have been solved in the latest releases by cPanel)

    twitter: oderland_david

  8. #188
    Member
    Join Date
    Nov 2003
    Posts
    35

    Default

    Quote Originally Posted by manokiss View Post
    Hi,

    I have installed php4 as default and php5 following the ispro instructions, wondering now as EA· do the same thing but with suphp, i should have to remove the ispro´s php5 before go with EA3 and both php versions as suphp?

    Thanx!
    I am wondering the same thing...I have two servers that I have used this thread to run dual PHPs over a year ago. I now want to upgrade to Apache2.2 and just run one version PHP5 SUPHP and do away with PHP4 altogether.

    Do I need to uninstall PHP 5 before going ahead with the upgrades in easyapache? Also is there anything else I should remove before upgrading? I was just going to go in reverse of the directions to put things back the way they were but wanted to check and see if I even had to all of the steps or if it is just a metter of deleting one thing then run easy apache.

    I appreciate any help on this...thanks!

  9. #189
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Apr 2004
    Posts
    620

    Default

    As secondary PHP installed in /usr/local/phpVERSION and cPanel also install secondary CLI (Apache) PHP to /usr/local/phpVERSION so you may just run Easyapache to overwrite PHP. After you run rebuild_phpconf you set suphp directives and old setup won't be used.

    To make sure you have cleaned it all remove these files:
    /usr/local/cpanel/cgi-sys/php*

    You are done

    P.S. There are few changes in behavior of PHP run via suPHP, for example, .htaccess override directives works from /home/USER/.htaccess file only. E.g. you no longer may set PHP versions on per-directory basis... Sad thing, but it may be fixed if cPanel re-patch suPHP set of patches.
    Reliable web-hosting, good resellers plans, web-design.
    ISProHosting.com

  10. #190
    Member
    Join Date
    Nov 2003
    Posts
    35

    Default

    Quote Originally Posted by ispro View Post
    As secondary PHP installed in /usr/local/phpVERSION and cPanel also install secondary CLI (Apache) PHP to /usr/local/phpVERSION so you may just run Easyapache to overwrite PHP. After you run rebuild_phpconf you set suphp directives and old setup won't be used.

    To make sure you have cleaned it all remove these files:
    /usr/local/cpanel/cgi-sys/php*

    You are done
    Do i run /usr/local/cpanel/cgi-sys/php* after I have upgraded to apache 2.2 and just the one php5 (doing away with php4 which was default and the older php5 based off your configs here) or do I run /usr/local/cpanel/cgi-sys/php* then do the update via easyapache? Just want to make sure before I proceed...

    Thanks ispro!

  11. #191
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    779

    Default

    For newer installs use

    ln -s /usr/lib/php.ini /usr/local/php5/lib/php.ini

    instead of

    ln -s /usr/local/Zend/etc/php.ini /usr/local/php5/lib/php.ini
    ULTRA Website Hosting - 8 Years Hosting
    Shared | Reseller | Dedicated | Colocation

Similar Threads & Tags
Similar threads

  1. php4+php5(cgi)+htaccess(rewrite) problem
    By euroxsw in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-10-2006, 04:35 AM
  2. PHP4 & PHP5 together on one server under phpsuexec
    By WMS in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-23-2005, 11:05 AM
  3. Replies: 0
    Last Post: 02-14-2005, 10:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube