Re: Installation Problem
| From: | Ray Hunter | Date: | Wed, 26 Mar 2003 16:23:40 +0000 |
| Subject: | Re: Installation Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141097@lists.php.net to get a copy of this message | ||
Maybe have this:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
I would load the module first and then add the type...might not make a
bit of difference.
--
Ray
On Wed, 2003-03-26 at 03:24, bob pilly wrote:
> Hi
>
> Im trying to install php-4.3.1 as a dynamic module in
> apache-2.0.44 but are having problems. I install and
> compile both with no problems using the
> --with-apxs=pathto in the ./configure command for php.
> I can see that it has created the libphp4.so in
> pathtoapache/modules/ and i have added
>
> AddType application/x-httpd-php .php
> LoadModule php4_module modules/libphp4.so
>
> Into the httpd.conf file
>
> and copies php.ini-dist to /usr/local/lib/php.ini as
> well.
> I have done a apachectl configtest and restart and now
> when i try and load a php page i get a pop up box on
> my browser saying:
> 'The URL HTTP://pathtoserver/test.php has mime type
> application/x-httpd-php
> What do you want to do with it?'
>
> and i can either save or run it from that location.
>
> Does anyone know what i may be missing or where i have
> gone wrong?
>
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com