LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-19-2004, 05:46 AM   #1
dm0nkz
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/libphp4.so


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/libphp4.so 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
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
libphp

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
dm0nkz
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...

php-4.3.6.tar.bz2

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...

--with-apxs=/opt/IBMHttpServer/bin/apxs
--with-config-file-path=/opt/IBMHttpServer/conf


Appreciate the help! I will try to document the setup and submit it to
IBM, APACHE, and PHP..

Thanks and God Bless!

-Hanz Yoro

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


Reply


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


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

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