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.

problem php

Discussion in 'General Discussion' started by olivier222333, Jan 5, 2005.

  1. olivier222333

    olivier222333 Well-Known Member
    PartnerNOC

    Joined:
    Jul 12, 2004
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    hi
    I just compiled Apache with php 4.3.10 but my customers complain about it...

    the mail() function seems not working now...

    anyone has had this experience?

    thanks
     
  2. webhostfreak1

    webhostfreak1 Member
    PartnerNOC

    Joined:
    Oct 13, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
  3. webhostfreak1

    webhostfreak1 Member
    PartnerNOC

    Joined:
    Oct 13, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Here's what fixed our problem. /bin/sh was not executable.

    Look:

    root@freak5 [~]# ls -alh /bin/
    -rwx------ 1 root root 572K Aug 18 12:23 bash*
    lrwxrwxrwx 1 root root 4 Dec 10 04:50 sh -> bash*

    Notice the permissions on bash ? It needs to be executable by nobody as well. This fixed the problem.
     
  4. russellr

    russellr Registered

    Joined:
    Apr 26, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    If you have Zend Optimizer insalled, you must upgrade to the latest version.
     
Loading...

Share This Page