Hi again group,

In my previous post I sent how I had configured PHP with apache I am
getting a forbidden error in my browser when I test php but it works
fine from the command line. All my HTML stuff is just fine. So instead
of fixing what I have it may just behoove me to recompile the two
programs again.  Enclosed is the configure lines I used for both Apache
and PHP. Perhaps you all could tell me what is critical and what is not.


My Needs:
Customer wants to put their shopping cart up written in PHP, I need
Oracle 8i support, I need encryption capability and I need SSL.  Perhaps
someone can tell me if I am compiling a bunch of unnecessary features
in, for instance since I am compiling SSL into Apache do I really need
to compile it into PHP? Below are my two configure scripts that I used
with the exception of the last compile of PHP I changed "--with_apache="
to "-with-apxs"  as a loadable module. I'm not sure which will be better
but in both cases I have been unsuccessful at getting PHP to work
through a browser.

Some of you replied to my last post and advised me to change the .php
extension to .htm when I did that instead of getting a "Forbidden" error
I just got a blank page. Any assistance would be greatly appreciated.
If I can have the full function ability of PHP without all the stuff I
have configured in it let me know that as well.  Thanks in advance.

System Info:
Sun Sparc running Solaris 8 
Oracle 8i
Libmcrypt-2.5.7
Apache 1.3.29
Openssl 0.9.7c
Php 4.3.8
Libpng 1.2.5
Libtool-1.5.2
Mod_perl 1.29
Perl v5.8.0
Ncurses 5.4
Curl 7.11.0
Mod-ssl 2.8.16-1.3.29
Plus I have 
Bison, make, automake, flex, gcc, m4, autoconf, gzip, tar, sed
installed. 

*********** Begin Configure PHP ************************

./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/lib \
--with-apache=../apache_1.3.29 \
--enable-pcntl \
--enable-ftp \
--with-oci8=/hosting/u01/app/oracle/product \
--with-oracle=/hosting/u01/app/oracle/product \
--with-mcrypt=/usr/local/libmcrypt/lib \
--with-openssl=/usr/local/openssl \
--enable-discard-path \
--enable-fastcgi \
--enable-bcmath \
--enable-calendar \
--with-curl=/usr/local/curl \
--with-curlwrappers \
--enable-ctype \
--enable-exif \
--with-ncurses=/usr/local/include/ncurses \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-shmop \
--enable-sockets \
--enable-sigchild \
--with-jpeg-dir=/opt/sfw/lib/gimp/1.0/plug-ins/jpeg \
--with-zlib-dir=/usr/local/zlib \
--with-gd \
--enable-gd-native-ttf \
--enable-gd-jis-conv \
--with-png-dir=/opt/sfw/lib/gimp/1.0/plug-ins/png 

*************** End Configure PHP *******************

************** Begin Configure Apache *****************

SSL_BASE=SYSTEM CFLAGS1='-DEAPI' \
./configure --prefix=/usr/apache \
--with-layout=Solaris \
--enable-module=ssl \
--enable-shared=ssl \
--disable-rule=SSL_COMPAT \
--enable-rule=SSL_SDBM \
--enable-rule=SSL_EXPERIMENTAL \
--enable-rule=SSL_VENDOR \
--enable-rule=SHARED_CORE \
--enable-suexec \
--suexec-caller=nobody \
--enable-module=so \
--enable-module=rewrite \
--enable-shared=rewrite \
--enable-module=most \
--enable-shared=max \
--with-perl=/usr/bin/perl \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl \
--add-module=../php-4.3.8
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4

**************** End Configure Apache *******************

Charles Ouellette
PH: (407) 297-5898
FX: (407) 299-7514
Email: [EMAIL PROTECTED]

Reply via email to