Install issue: undefined symbol: php_escape_html_entities

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sean.blaes@hifiit.com

    #1

    Install issue: undefined symbol: php_escape_html_entities

    I compiled php5 from source with the following configure options:

    ../configure --with-mysql --disable-xml --disable-libxml
    --disable-xmlreader --disable-xmlwriter --disable-dom
    --disable-simplexml --without-pear
    --with-config-file-path=/etc/php5.ini --with-apxs2

    However, I can't get apache to start afterwards, as I get the following
    error:

    Cannot load /usr/lib/httpd/modules/libphp5.so into server:
    /usr/lib/httpd/modules/libphp5.so: undefined symbol:
    php_escape_html _entities

    I've googled for this and searched the mailing lists and documentation,
    but short of tearing into the source code, I can't find any info on
    php_escape_html _entities, much less why the symbol would be missing...

    Any ideas would be much appreciated.

  • Janwillem Borleffs

    #2
    Re: Install issue: undefined symbol: php_escape_html _entities

    sean.blaes@hifi it.com wrote:[color=blue]
    > I compiled php5 from source with the following configure options:
    >
    > ./configure --with-mysql --disable-xml --disable-libxml
    > --disable-xmlreader --disable-xmlwriter --disable-dom
    > --disable-simplexml --without-pear
    > --with-config-file-path=/etc/php5.ini --with-apxs2
    >
    > However, I can't get apache to start afterwards, as I get the
    > following error:
    >
    > Cannot load /usr/lib/httpd/modules/libphp5.so into server:
    > /usr/lib/httpd/modules/libphp5.so: undefined symbol:
    > php_escape_html _entities
    >[/color]

    I believe apxs2 has some dependencies in the xml extenstions; try to run
    configure with xml/libxml support enabled.


    JW


    Comment

    • jambe

      #3
      Re: Install issue: undefined symbol: php_escape_html _entities

      I am having the same problem on Ubuntu with the following config
      options:
      ./configure --with-gd --with-ldap --with-tidy --with-mysql --with-curl
      --with-zlib --with-apxs --with-xml --with-libxml --enable-xml
      --with-dom


      I get the same error message...

      Comment

      • simon.cusack@gmail.com

        #4
        Re: Install issue: undefined symbol: php_escape_html _entities


        jambe wrote:[color=blue]
        > I am having the same problem on Ubuntu with the following config
        > options:
        > ./configure --with-gd --with-ldap --with-tidy --with-mysql --with-curl
        > --with-zlib --with-apxs --with-xml --with-libxml --enable-xml
        > --with-dom
        >
        >
        > I get the same error message...[/color]

        I was having the same problem on rhel4 so then I did a;

        ../configure --disable-all --prefix=/www --with-apxs2=/www/bin/apxs
        --disable-cgi --enable-so

        which worked.

        So then I followed up with

        ../configure --with-curl [etc, etc, etc] --prefix=/www
        --with-apxs2=/www/bin/apxs --disable-cgi --enable-so

        just for the modules that I needed and it worked. I don't know if it
        is a make file problem or something else.

        Comment

        • jambe

          #5
          Re: Install issue: undefined symbol: php_escape_html _entities

          I have it working now (i think).

          php-5.1.4 # make clean

          php-5.1.4 # ./configure --with-gd --with-ldap --with-tidy --with-mysql
          --with-curl --with-zlib --with-apxs --with-xml --with-libxml
          --enable-xml --with-dom

          php-5.1.4 # make

          php-5.1.4 # make install

          Thanks for your help...

          James

          Comment

          • Arnefar
            New Member
            • Jul 2006
            • 1

            #6
            --enable-so fixed it for me :)

            I had the same problem with almost the same configuration as sean.blaes@hifi it.com

            ./configure --disable-libxml --disable-xml --disable-xmlreader --disable-xmlwriter --disable-dom --disable-simplexml --without-pear --with-gd --with-zlib-dir --with-jpeg-dir --disable-cgi --with-apxs2=/usr/local/apache2/bin/apxs --enable-so

            Thanks

            Comment

            Working...