Date: Tue, 15 Sep 1998 19:07:11 -0400 From: "Yarema" <yds@ingress.com> To: <insane@oneinsane.net>, <freebsd-isp@FreeBSD.ORG> Subject: Re: Need Apache with php3 and SSL Support Message-ID: <018001bde0fd$9268a080$1f40e6cd@ichiban.ingress.com>
next in thread | raw e-mail | index | archive | help
>I have this problem. I have an application that requires >Apache to have SSL and PHP3 witha MYSQL database. I have >tried to both install the modSSL apache and the PHP3 version >and then tried to hack the other one in toapache. Has anyone >done this. Right now I have a working Apache with PHP3 support >Can someone help me to get SSL as well.. I have the SSL port >installed still as a side affect. I just did exactly that. apache-1.3.1+mod_ssl-2.0.9 and php-3.0.3 as an apxs module. One way to do this is to build, install and configure the apache-modssl port. Then build php3 with the following: ./configure \ --with-apxs \ --with-gd=/usr/local \ --with-mysql \ --with-zlib \ --with-config-file-path=/usr/local/etc \ --with-system-regex=yes \ --enable-debug=no \ --enable-debugger \ --enable-safe-mode=yes \ --enable-force-cgi-redirect=yes and copy libphp3.so to /usr/local/libexec/apache by hand. Make sure you have the following lines in the appropriate places in httpd.conf: LoadModule php3_module libexec/apache/libphp3.so AddModule mod_php3.c and these go in srm.conf: AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s .phps and if you like you can also throw thise in: AddIcon /icons/php3.gif .php3 AddIcon /icons/phps.gif .php3s .phps I also have mod_perl built in but I won't go into that. You probably don't want it if you're gonna be using php3. but just for reference my SERVER_SOFTWARE variable reads: Apache/1.3.1 (Unix) mod_perl/1.15 PHP/3.0.3 mod_ssl/2.0.7 SSLeay/0.9.0b hmm.. mod_ssl should be 2.09, perhaps Ralf forgot to change it. Make sure to read all of the mod_ssl documentation to get the ssl side of the server running and possibly change "apachectl start" to "apachectl startssl" in /usr/local/etc/rc.d/apache.sh If you don't it might take you a long time to figure out why SSL is not working when it *seems* to be set up correctly. :) HTH. -- Yarema To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018001bde0fd$9268a080$1f40e6cd>