The apxs is created by mysql isn't it? I am trying to avoid that.
Given that, the ncurses installed ok, but trying to run apache with php results as if curses isn't installed.
It's Apache 2 with php4 on a debian linux box. (no mysql although I do have a compressed source for it on the box)
Main Topics
Browse All Topics





by: IgorSoloPosted on 2005-11-03 at 04:19:33ID: 15216167
What apache you are building? 1.xx or 2.xx?
les/php4/l ibphp4.a
3.27rusPL3 0.16 --enable-track-var
in/apxs --prefix=/usr --with-mysql=/usr \
I am building apache like this:
1.xx:
./configure --with-layout=Apache --prefix=/usr/apache
<Build php here>
./configure --with-layout=Apache --prefix=/usr/apache --activate-module=src/modu
make
make install
2.xx:
./configure --prefix=/usr/apache --enable-so
make
make install
And for PHP:
With Apache 1.xx:
./configure --prefix=/usr --with-mysql=/usr --with-apache=../apache_1.
s --with-mod_charset --enable-calendar --with-zlib=/usr --with-zlib-dir=/usr --with-bz2=/usr --with-gd=/
usr --with-ttf=/usr --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-native-ttf --with-gettext --w
ith-iconv --with-mbstring=all --enable-mbregex --enable-shmop --enable-sockets --enable-exif --enable-sy
svmsg --enable-sysvsem --enable-sysvshm --with-jpeg-dir=/usr --with-png-dir=/usr --with-tiff-dir=/usr
make
make INSTALL_ROOT=/tmp install
With Apache 2.xx:
./configure --with-apxs2=/usr/apache/b
--enable-track-vars --with-mod_charset --enable-calendar --with-zlib=/usr \
--with-zlib-dir=/usr --with-bz2=/usr --with-gd=/usr --with-ttf=/usr \
--with-freetype-dir=/usr --enable-gd-native-ttf \
--with-gettext --with-iconv --with-mbstring=all --enable-mbregex --with-jpeg-dir=/usr \
--with-tiff-dir=/usr --enable-exif --with-png-dir=/usr \
--enable-shmop --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm \
--with-dom=/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-expat-dir=/usr --enable-xslt \
--with-xslt-sablot=/usr --with-sablot-js=/usr
make
make INSTALL_ROOT=/tmp install
Path to Apache and unnecessary to you components of course should be changed.