configuring php4 and apache2

Thomas Foster tbonius at comcast.net
Sun Mar 13 10:52:50 PST 2005


I also had this issue with a couple o f Mozilla browsers until I deleted all 
the cache, closed and reopened the browser.  I am not sure if this will work 
for you, but I found it to be a minor inconvenience with Mozilla that 
affected me.

T

----- Original Message ----- 
From: "Aaron Siegel" <bulk_mail at siegel-tech.net>
To: <freebsd-questions at freebsd.org>
Sent: Sunday, March 13, 2005 10:48 AM
Subject: configuring php4 and apache2


> Hello
>
> I am have problems getting php4 to work with apache2. I have these working 
> on
> another FreeBSD 4.10 server but I can not get it working on my 5.3 server.
> When I try to load a php page with my web browser it just ask me if I want 
> to
> download the php file.
>
> Here is what I have done to configure and install:
> installed
> apache-2.0.53
> php4-4.3.10_2
> php4-extensions-1.0
>
> edited /etc/rc.conf
> apache2_enable="YES"
>
> /usr/local/etc/apache2/httpd.conf
> LoadModule php4_module        libexec/apache2/libphp4.so
>
> AddType application/x-http-php .php
> AddType application/x-http-php-source .phps
>
> copied php.ini-recommended to php.ini
>
> edited php.ini
> include_path = ".:/php/includes"
> include_path ="/usr/local/share/pear"
>
> I have reloaded all the application and rebooted the computer. I have read 
> the
> php manual, I believe I have followed all the steps in the pkg-message 
> files
> and tried google but I can not find the answer. I am sorry for asking such 
> a
> basic question which is probably documented somewhere.
>
> Thank you
> Aaron
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 




More information about the freebsd-questions mailing list