[phplib] PHP problem From: Sanlong Irvan (sonicxtirvan <email protected>)
Date: 09/26/00

Hi all,

I have spend all trying to figured out my php 4.0.2 problem

I've already uncomment the line
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

in my apache httpd.conf

I restart the server.. and it's still the same

Another thing strage is when i do apachectl startssl
it ask me enter the password.. because i do make certificate test type.

I entered and it success.. when I do ps -aux I can't see the apache
run in background.

but it works when i just use apachectl start

I open a browser then view it.. it display "Hey, it worked" and some
messages from SSL.

Is that caused my proxy server squid? I installed it but never try to
configure it.

Or it caused by other problem

Below I put how i compile it from start.

Thanks,
Irvan

-----------*********-----------------------

Configure apache:
./configure --prefix=/usr/web/apache

Configure libmycrypt (a library needed for encryption):
./configure --prefix=/usr/web/libmcrypt-2.2.7
make
make check
make install

Configure Mysql:
./configure --prefix=/usr/web/mysql
make
make install

Configure php4:
./configure \
--with-apache=/usr/web/src/apache_1.3.12 \
--with-mysql=/usr/web/mysql \
--with-ldap \
--enable-track-vars \
--prefix=/usr/web/php \
--with-mcrypt=/usr/web/libmcrypt-2.2.7 \
--with-openssl=/usr/web/src/openssl-0.9.5a

cp php.ini-dist /usr/local/lib/php.ini

make
make install

OpenSSL
./config --prefix=/usr/web/openssl
make
make test
make install

Apache
./configure \
--prefix=/usr/web/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \

Configure ModSSL
./configure \
--with-apache=/usr/web/src/apache_1.3.12/ \
--with-ssl=/usr/web/src/openssl-0.9.5a/ \
--prefix=/usr/web/apache \
--enable-shared=ssl \
--enable-module=ssl

Finally
cd /usr/web/src/apache_1.3.12
make
make certificate
make install

---------- end -------------------------

-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>