Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Results 46 to 58 of 58
  1. #46
    Member
    Join Date
    Mar 2004
    Posts
    40

    Default

    Quote Originally Posted by ricardom
    No sucess!

    Ill downgrade to the 4.3.1 now.
    Everything is ok now in the sites, so i must think that this is a bug or some issue in the 4.4.0 version of the php.

    Ricardo M.

  2. #47
    Member
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    12

    Default php_flag register_globals on

    I run PHP/4.3.11 on FreeBSD and still have this issue which I solved with the following solution:

    added a .htaccess file in the public_html directory of the cpanel3-skel rootdir from the reseller account. In .htaccess I added the following line:

    Code:
    php_flag register_globals on
    Now every new account automatically gets this .htaccess file with the right php settings. I use this for several months now and it works. However, I know it's not the right solution but since php admitted it's a bug in their programming it's a good alternative.
    Last edited by Miquel; 08-07-2005 at 01:16 PM.
    Related OS: FreeBSD 5.1-RELEASE

  3. #48
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2005
    Posts
    8

    Default

    any definitely solution for this problem?

  4. #49
    Member
    Join Date
    Aug 2002
    Posts
    21

    Default

    I had this problem with PHP 4.4.0. After downgrading it to 4.3.11 it went away...

  5. #50
    Member
    Join Date
    Aug 2002
    Posts
    21

    Default

    Unfortunately I was wrong... it worked for a while but now the error appears again...

  6. #51
    Member
    Join Date
    Aug 2002
    Posts
    21

    Default

    For everyone that is experiencing the problem, could you post the result of:

    lsof | wc -l

    and

    sysctl -a | grep fs.file-max

    ?

    I believe it could be connected to the open files in the system.

  7. #52
    Member
    Join Date
    Nov 2003
    Posts
    148

    Default

    Hello,

    same Prob since 4 Days.
    PHP 4.3.11 and the last cPanel Release

  8. #53
    Member
    Join Date
    Feb 2003
    Posts
    191

    Default

    Quote Originally Posted by ezztro
    Hello,

    same Prob since 4 Days.
    PHP 4.3.11 and the last cPanel Release
    I would suggest at least upgrading to PHP 4.4.0, as you're using a very outdated version.

  9. #54
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default

    We have found simple solution that works for us:
    chown nobody.nobody /tmp

    (We have this problem with PHP 4.3.10 and it doesn't look like they (PHP) did anything in 4.4.0, at least according to changelog)
    * http://www.aleksandrov.eu/ - just a simple personal homepage.

  10. #55
    Member
    Join Date
    Nov 2003
    Posts
    148

    Default

    Quote Originally Posted by HostIt
    I would suggest at least upgrading to PHP 4.4.0, as you're using a very outdated version.
    This is not the prob.

    Same Error with 4.4.0

    /tmp is nobody:nobody and 777

  11. #56
    Member
    Join Date
    Mar 2002
    Posts
    135

    Default

    Quote Originally Posted by Miquel
    I run PHP/4.3.11 on FreeBSD and still have this issue which I solved with the following solution:

    added a .htaccess file in the public_html directory of the cpanel3-skel rootdir from the reseller account. In .htaccess I added the following line:

    Code:
    php_flag register_globals on
    Now every new account automatically gets this .htaccess file with the right php settings. I use this for several months now and it works. However, I know it's not the right solution but since php admitted it's a bug in their programming it's a good alternative.

    Why not just put register_globals on i php.ini?

  12. #57
    Member FijianTribe's Avatar
    Join Date
    Jan 2003
    Posts
    70

    Default

    I was having this same issue, do not know why. I've also been having troubles rebuilding Apache from WHM. I had to replace the .htaccess file with an older one that was named .htaccess.11... something.
    Join other cpanel users on IRC.. #cpanel @ EFnet
    DIUINC.com

  13. #58
    Member
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    12

    Default

    Quote Originally Posted by bjarne
    Why not just put register_globals on i php.ini?
    Because setting this on is a wellknown security risk. The safest way to program PHP is to set it off and program without register_globals. I found it somewhere a while ago on www.php.net. If you want to know more about this I suggest to search for it on www.php.net

    In short: With register_globals on it means that variables used in the script can be manipulated from de browsers-adressbar resulting in unwanted output or when someone is really smart or lucky he might find a way to log into members-areas.
    Last edited by Miquel; 11-05-2005 at 07:23 AM.
    Related OS: FreeBSD 5.1-RELEASE

+ Reply to Thread
Page 4 of 4 FirstFirst ... 2 3 4
Similar Threads & Tags
Similar threads

  1. A fatal error has occurred DB Error: connect failed.
    By p-root in forum E-mail Discussions
    Replies: 3
    Last Post: 09-23-2010, 12:41 AM
  2. PHP Fatal error: Out of memory - HELP
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-25-2008, 01:45 PM
  3. CSF error - can't initialize iptables
    By doulos61 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-01-2007, 10:06 AM
  4. Fatal error - php write the output of file
    By Markwaugh in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-02-2003, 05:38 AM
  5. Fatal error - php
    By Markwaugh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-18-2003, 10:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube