Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-19-2004, 05:46 AM   #1
LQ Newbie
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
problem configure IBM HTTP Server with PHP support in slackware 9.1

Has anyone successfully installed configure IBM HTTP Server on slackware 9.1?
I am having problems/errors when restarting IBM HTTP Server...

I edited the
/opt/IBMHttpServer/conf/httpd.conf # file and added the

LoadModule php4_module libexec/

then i tried to restart the IBM HTTP server with ...
/opt/IBMHttpServer/bin/apachectl restart

Syntax error on line 231 of /opt/IBMHttpServer/conf/httpd.conf:
API module structure `php4_module' in file /opt/IBMHttpServer/libexec/ is garbled - perhaps this is not an Apache module DSO?
/opt/IBMHttpServer/bin/apachectl restart: httpd could not be started

I would appreciate any help!

Thanks and God Bless!
Old 05-19-2004, 06:57 AM   #2
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31

Where did you get LibPHP? Did it come in the IBM Web server distribution (I'm doubting this).

Anyway, the libPHP was not compiled with the same options as Apache. You may have to rebuild PHP from source either making sure that Dynamic Shared Object support is enabled -- or using the IBM compile as a reference.

I don't have a php install in front of me, but check the output of

% ./configure --help |more

This output should show you the different DSO object support options.

Good luck
Old 05-19-2004, 08:49 PM   #3
LQ Newbie
Registered: Feb 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks GAVollink! You pointed me to the right direction!

I downloaded the latest PHP source...


and recompiled it with the following options..

./configure --prefix=/usr --enable-force-cgi-redirect --enable-fastcgi --sysconfdir=/etc --enable-discard-path --with-config-file-path=/opt/IBMHttpServer/conf --enable-safe-mode --with-openssl --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype --with-gdbm --with-db3 --enable-dbase --enable-ftp --with-iconv --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --with-gmp --with-mysql=shared,/usr --with-xml=shared,/usr --with-gettext=shared,/usr --with-mm=/usr --enable-trans-sid --enable-shmop --enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit --with-tsrm-pthreads --enable-shared --disable-debug --with-zlib=/usr --with-apxs=/opt/IBMHttpServer/bin/apxs

$ make
# make install

I think the crucial options are...


Appreciate the help! I will try to document the setup and submit it to

Thanks and God Bless!

-Hanz Yoro

Last edited by dm0nkz; 05-19-2004 at 08:51 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install slackware into IBM Netfinity 7100 server wangcity Linux - Hardware 2 01-10-2006 03:54 PM
IBM Http server with ldap authentication Rinish Linux - Networking 1 06-16-2005 08:11 AM
trying to configure sound on ibm thinkpad 600 with slackware 10.0 salviadud Linux - Laptop and Netbook 1 02-08-2005 02:30 AM
Slackware 10, PHP doesn't support MySQL whoie99 Slackware 7 07-26-2004 04:59 AM
IBM Server / Slackware Question Streams Slackware 1 09-15-2003 03:09 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration