Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Posts
    2

    Unanswered: Unable 2 run Apache Deamon with PHP 4.3.4

    Dear all,
    I am using a Sun E450 machine running solaris 2.8
    tried install php 4.3.4 with apache 2.0.45.
    The apache got installed okay...without any errors.
    But on installing php-4.3.4 ..... & makeing appropriate changes to my httpd.conf file. The apache damon is not running.

    getting Error

    Syntax error on line 231 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/modules/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/modules/libphp4.so: symbol ap_loaded_modules: referenced symbol not found


    ----httpd.conf--CONFIG FILE---
    >line 231
    LoadModule php4_module /usr/local/apache/modules/libphp4.so
    <
    ------------------------------------
    Please try telling me where does the problem lie.
    Last edited by bugjos; 01-06-04 at 10:40.

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: Unable 2 run Apache Deamon with PHP 4.3.4

    Originally posted by bugjos
    Dear all,
    I am using a Sun E450 machine running solaris 2.8
    tried install php 4.3.4 with apache 2.0.45.
    The apache got installed okay...without any errors.
    But on installing php-4.3.4 ..... & makeing appropriate changes to my httpd.conf file. The apache damon is not running.

    getting Error

    Syntax error on line 231 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/modules/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/modules/libphp4.so: symbol ap_loaded_modules: referenced symbol not found


    ----httpd.conf--CONFIG FILE---
    >line 231
    LoadModule php4_module /usr/local/apache/modules/libphp4.so
    <
    ------------------------------------
    Please try telling me where does the problem lie.
    Did you compiled apache with so?
    if the file libphp4.so is existing in /usr/local/apache/modules/ then try this: LoadModule php4_module modules/libphp4.so

  3. #3
    Join Date
    Jan 2004
    Posts
    2
    done the same but is of no use.
    Same error.


    Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:
    Cannot load modules/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file modules/libphp4.so: symbol ap_loaded_modules: referenced symbol not found
    Last edited by bugjos; 01-12-04 at 01:39.

  4. #4
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482
    Originally posted by bugjos
    done the same but is of no use.
    Same error.


    Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:
    Cannot load modules/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file modules/libphp4.so: symbol ap_loaded_modules: referenced symbol not found
    It's very strange i did install it succesfully.
    Could you past the instalation procedure to the forum?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •