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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to