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 warning

Discussion in 'General Discussion' started by casey, Jun 8, 2003.

  1. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    After upgrading PHP, I get the following error:
    How do I fix this?

    cPanel.net Support Ticket Number:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    No PHP experts out there? I commented out the ldap module in php.ini, and the error stopped, but is that the true solution?

    cPanel.net Support Ticket Number:
     
    #2 casey, Jun 9, 2003
    Last edited: Jun 9, 2003
  3. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Have you checked your running a compatible module?

    cPanel.net Support Ticket Number:
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Well, I didn't actually check, but the error message implies that I am running an older version. I looked for the version that it was asking for, and I found it. However, when I checked the rpm, it said that it required php4.2.1 so it had a failed dependency. What can I do about this? I don't want to mess up php! I even tried downgrading php to 4.3.1, but I still get that message, which wasn't there before. Dangit, that's what I get for being so impatient!

    So to sum up:
    I was running php 4.3.1 and upgraded to 4.3.2
    After upgrading, I get a message about ldap not matching.
    I downgraded back to 4.3.1, but the message is still there. I do not want to downgrade to 4.2.1

    Finally, do I really need ldap?

    cPanel.net Support Ticket Number:
     
  5. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Well, if you have something that needs it, yes. If not, no I don't think you do.

    By the way, make sure your system is up to date.

    /scripts/rhlupdate
    /scripts/sysup

    cPanel.net Support Ticket Number:
     
  6. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Interesting. When I ran /scripts/rhlupdate this time I noticed that it is saying "ignoring php-ldap"
    Can anyone confirm that theirs does this, too? How do I keep it from skipping php-ldap?

    cPanel.net Support Ticket Number:
     
  7. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Okay, do this.

    /scripts/updatenow

    then:
    /scripts/sysup
    /scripts/rhlupdate

    then finally try rebuilding again:
    /scripts/buildapache

    cPanel.net Support Ticket Number:
     
  8. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Thanks for your replies. I did it, but to no avail. I am still getting the same errors.

    cPanel.net Support Ticket Number: 15626
     
  9. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Which version of cpanel are you using?

    cPanel.net Support Ticket Number:
     
  10. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    6.4.2E-85

    Would that be an issue? Should I change to a different build?
    When you run /scripts/rhlupdate does it say "php-ldap ingoring"?

    cPanel.net Support Ticket Number: 15626
     
  11. carlgm

    carlgm Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Yeah, buildapache includes php and the modules. Have you reported this issue to cpanel?

    cPanel.net Support Ticket Number:
     
  12. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Yeah, I reported it, and the response was "give me an example of a php script that is not working, you may need to recompile php/apache...."
    Is no one else experiencing this?

    cPanel.net Support Ticket Number: 15626
     
  13. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    carlgm,

    Thank you for all your help. I have figured out what was causing the problems. Last week I had run the script /scripts/installzendopt
    That installed an additional php.ini in /usr/local/lib and that was causing the errors with the ldap module. Once I deleted the php.ini inside that directory, everything went back to normal.

    cPanel.net Support Ticket Number:
     
    #13 casey, Jun 14, 2003
    Last edited: Jun 14, 2003
Loading...

Share This Page