Raq2w/cobalt RedHatSecureWebServer3.0 package. OK.missing on thing here my fellow mod_ssl php3 people..I can't get php3 installed as a DSO module on my httpsd (SSL serv)for my life (see error below)..it seems like a no brainer.. (i currently have php3 static compiled on httpd server so I wont have 2 DSO's floating around) I've got my apache1.3.6 and mod_ssl installed already..(was done via a .pkg file (autoinstaller)so i don't want to do static compile and redo all ssl conf settings, etc so DSO definitely is looking attractive. . The secure server runs from /home/httpd/html/ and the conf file for the secure webserver is: /etc/httpd/conf/httpsd.conf). Now i just need to install php3 as DSO..but getting errors. i run ./setup to get my switches and choose: ./configure --with-apxs=/usr/sbin/apxs --with-shared-apache=/etc/httpd --with-apache=/home/httpd/html/ --with-mod_charset=yes --with-gd=no --with-iodbc --with-openlink --with-mysql --with-ldap --with-imap --with-dbase=/no --with-pdflib --with-fdftk --with- zlib --enable-sysvshm=yes --enable-track-vars=yes --enable-magic-quotes=yes --enable-debugger=yes --enable-bcmath=yes --enable-force-cgi-redirect=yes --enable-discard-path=yes --enable-memory-limit=yes ok..looks good..just for ref: here's the last 8 lines at the end of the make. lib/pcre.o ranlib libmodphp3-so.a /usr/sbin/apxs -c -o libphp3.so -I. -I. ./mod_php3.c libmodphp3-so.a -L/usr/loc al/lib -ldb pcrelib/libpcre.a -lpam -lm -ldl -lcry pt -lnsl -lresolv -Lpcrelib -lpcre gcc -O2 -fomit-frame-pointer -DCOBALT_RAQ_LED -DLINUX=2 -fpic -DSHARED_MODUL E -I /usr/include/apache -I. -I. -c ./mod_php3.c ld -Bshareable -o libphp3.so ./mod_php3.o libmodphp3-so.a -L/usr/local/lib -ldb pcrelib/libpcre.a -lpam -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre [root php-3.0.12]# now on to make install: [root php-3.0.12]# make install /usr/sbin/apxs -i -a -n php3 libphp3.so cp libphp3.so /usr/lib/apache/libphp3.so chmod 755 /usr/lib/apache/libphp3.so [activating module `php3' in /etc/httpd/conf/httpd.conf] [root php-3.0.12]# (concern at this point is it says it's activating the module in the httpd dir NOT the httpsd which i need it in....this is where i'm missing the boat i think.. Now..final step: restart httpsd [root conf]# /etc/rc.d/init.d/httpsd restart Shutting down httpsd: httpsd Starting httpsd: httpsd Syntax error on line 241 of /etc/httpd/conf/httpsd.conf: API module structure `php3_module' in file /usr/libexec/apache/mod_php3.so is ga rbled - perhaps this is not an Apache module DSO? and VOILA..my best friend the error on line 241..argggggggggggggggggggggghhhh.. any ideas out there in list land? Robert Grant mailto:robert@xxxxxxxxxxxx
Zeffie's Sun Cobalt User Forums
Zeffie's Sun Cobalt Restore CD's
Zeffie's Sun Cobalt Updates
Sun Cobalt Users List
Sun Cobalt Security List
Sun Cobalt Developers List
Copyright 2007 by Electronic Consultants Inc.