1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php problem - install

Discussion in 'General Discussion' started by czytelnik, Dec 7, 2005.

  1. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    root@serv1 [/usr/local/apache/conf]# /sbin/service httpd configtest
    Syntax error on line 208 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: cannot open shared object file: No such file or directory

    hmm? :rolleyes:

    /scripts/easyapache

    root@serv1 [/usr/local/apache/conf]# /sbin/service httpd configtest
    Syntax error on line 208 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: cannot open shared object file: No such file or directory
     
    #1 czytelnik, Dec 7, 2005
    Last edited: Dec 7, 2005
  2. dalem

    dalem Active Member

    Joined:
    Oct 24, 2003
    Messages:
    2,231
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    SLC
    did you install phpsuexec ??
     
  3. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    yes ......
     
  4. dalem

    dalem Active Member

    Joined:
    Oct 24, 2003
    Messages:
    2,231
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    SLC
    do you have these lines in your httpd.conf

    LoadModule php4_module libexec/libphp4.so
    AddModule mod_php4.c


    if so comment them out and restart apache
     
  5. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    root@serv1 [/usr/local/apache/conf]# /sbin/service httpd configtest
    Syntax error on line 212 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: cannot open shared object file: No such file or directory
    root@serv1 [/usr/local/apache/conf]#
     
  6. dalem

    dalem Active Member

    Joined:
    Oct 24, 2003
    Messages:
    2,231
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    SLC
    and that tell me what :confused:

    I would look at line 212 and see what the error is
     
  7. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    LoadModule php4_module libexec/libphp4.so
     
  8. dalem

    dalem Active Member

    Joined:
    Oct 24, 2003
    Messages:
    2,231
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    SLC
    post #4 I sugested you comment that line out

    you dont need it for phpsuexec
     
  9. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    hm. /scripts/easyapache & phpsuxec ?
     
    #9 czytelnik, Dec 8, 2005
    Last edited: Dec 8, 2005
  10. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    php is dead :mad:
     
  11. chirpy

    chirpy Super Moderator

    Joined:
    Jun 15, 2002
    Messages:
    13,499
    Likes Received:
    14
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You have been told what you need to do. Comment out the mod_php load lines in httpd.conf. If you don't know how to do that you need to either learn a bit more about how to work at the bash prompt or ask help of a server admin.
     
  12. czytelnik

    czytelnik New Member

    Joined:
    Dec 4, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Already OK

    Thanks
     

Share This Page