[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Compiling php4 on Mips (Qube/Raq 1/2)



Hi,

After some testing I have to note that it is currently not possible to compile a functioning php4 modules because of compiler or coding issues. Either way. Compiling will work but the resulting httpd will FAIL with a segmentation fault.

What does work however is compiling a httpd with php4 statically.
This httpd will function and functional php.

The following config can be used for apache_1.3.12

./configure --prefix=/etc/httpd --bindir=/usr/bin --sbindir=/usr/sbin \
--libexecdir=/usr/lib/apache --mandir=/usr/man --sysconfdir=/etc/httpd/conf \
--datadir=/home/httpd --iconsdir=/home/httpd/icons \
--htdocsdir=/home/httpd/html --cgidir=/home/httpd/cgi-bin \
--includedir=/usr/include/apache --localstatedir=/etc/httpd \
--runtimedir=/var/run/ --logfiledir=/var/log/httpd \
--proxycachedir=/var/log/httpd/proxy --enable-module=cern_meta \
--enable-module=expires --enable-module=log_agent \
--enable-module=vhost_alias --enable-module=log_referer \
--enable-module=log_agent --enable-module=headers \
--enable-module=speling --enable-module=rewrite \
--enable-module=mmap_static --enable-module=mime_magic \
--enable-module=usertrack --enable-module=proxy \
--enable-suexec --suexec-caller=httpd --with-perl=/usr/bin/perl \
--activate-module=src/modules/php4/libphp4.a

And these for php 4.0.1pl2

./configure  --with-mysql --with-apache=../apache_1.3.12 \
--enable-track-vars --enable-magic-qoutes --with-gd \
--with-zlib --with-imap

Best of luck :-)

signed
--
Seth
"Have you gone mad?"
"Well, yes, but that's beyond the scope of this email."