Compiling PHP5 - Can't write module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TheClair

    #1

    Compiling PHP5 - Can't write module

    Hi,

    I'm trying to install php5 as a shared module for Apache 2 (on SuSe 10.0). When I compile I don't get libphp5.so. I don't know why, I'm not getting any errors, there are a few warnings, but they all deal with the Zend engine (they are mostly arguments differ in signedness).

    My configure is:
    ./configure --with-apx2=/usr/local/apache2/bin/apxs
    --with-mysql=/usr/local/mysql
    --prefix=/usr/local/apache2/php
    --exec-prefix=/usr/local/apache2/php
    --with-config-file-path=/usr/local/apache2/php
    --disable-cgi


    I compiled Apache 2.0.55 with the following configure:
    ./configure --prefix=/usr/local/apache2
    --enable-so


    Did I screw something up or miss something? I read somewhere online (wish I had bookmarked it) that it won't write libphp5.so without libintl.so. I checked /lib and /usr/lib for it and it doesn't appear I have it. Is it needed? If so, where can I find it (or how can I install it)? I tried apt-get, but it didn't work. I couldn't find anything relevant in the PHP FAQ either. :(

    Any help would be greatly appreciated.

    Thanks.
Working...