Forum Moderators: coopster

Message Too Old, No Replies

PHP and SSL problem on Apache

php is not working on apache with ssleay

         

waqas

7:01 am on Dec 7, 2003 (gmt 0)

10+ Year Member



I have apache 2, php 4.2.3 and SSLeay, FreeBSD installed on my server. Now i have installed ssl certficate on my website which is running fine the only problem is with php pages. i am unable to see run php scrits on secure page i.e. on trying to execute php sctipts on https:// it will give message to download the file or either run from current location.
I have also added following lines in srm.conf file located in https.conf directory

AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3-source .phps

but still i m unable to run php scripts via ssl. Can any one please help me!

coopster

10:38 pm on Dec 7, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, waqas!

Is it a Windows installation or otherwise? Have you checked the Installation notes on the PHP OpenSSL functions [php.net] page?

waqas

4:26 am on Dec 9, 2003 (gmt 0)

10+ Year Member



My problem is solved, just to add following lines in httpsd.conf file

LoadModule php4_module /www/libexec/apache1.3.6/libphp4.so
AddModule mod_php4.c