The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP.INI Lost

Discussion in 'General Discussion' started by psychodreams, Jan 22, 2005.

  1. psychodreams

    psychodreams Well-Known Member

    Joined:
    Apr 14, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Something has messed up my php.ini could someone paste cpanel php.ini or email it to me at admin@psychodreams.com ASAP
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you tried running:

    /scripts/phpini
     
  3. bullethost696

    bullethost696 Well-Known Member

    Joined:
    Nov 23, 2003
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    What on earth, that file cant just go missing like that
     
  4. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ayr, North Queensland, Australia
    if youve got zend installed theres a backup in /usr/local/Zend/etc or something. I think its called php.ini-zendopt-bak or something similar.

    Regards,
    Brent
     
  5. psychodreams

    psychodreams Well-Known Member

    Joined:
    Apr 14, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Hmm

    OK I seem to have found the problem can someone give me the include path for the php.ini
    This is not using zend
    I know there are several location for php ini's could i get all of them so i can compare that seems to be the only problem im haveing now
    i beleive the one in /usr/local/lib is the one giving me the problem

    This is the error im getting right now
    For installing phpnuke and they worked before on new installs


    Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/satell/public_html/mainfile.php on line 187

    Warning: main(): Failed opening 'language/lang-.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/satell/public_html/mainfile.php on line 187

    Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/satell/public_html/header.php on line 31

    Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/satell/public_html/header.php on line 31

    Fatal error: Call to undefined function: themeheader() in /home/satell/public_html/header.php on line 51
     
    #5 psychodreams, Jan 23, 2005
    Last edited: Jan 24, 2005
  6. LiquidAtoR

    LiquidAtoR Member

    Joined:
    Nov 28, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    In shell type at prompt : slocate php.ini* and it will give you all the copies and backup copies around on your system.
    If you get an error about database do an : updatedb first en then execute the command mentioned before.

    Hope this will help you on your quest.
     
Loading...

Share This Page