[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php4 and mime types



hi people, i recently had to upgrade fromphp3 to php4, unfortunately although php3 was workign fine and php4 apears to run fine from the console if i do somethinglike run `php phpinfo.php` which is a very simple php script, it outputs what it should.

however apache doesnt seem to recognise it as something that should be run server side and just sends the php file to the web browser : (

/etc/apache/mime.types

application/x-httpd-php                         php phtml pht
application/x-httpd-php4                        php4
application/x-httpd-php4-source                 phps
application/x-httpd-php4-preprocessed           php4p


/etc/apache/httpd.conf

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so


i was wondering if anyone had any ideas as to what was messed up here ??

thanks for any help or suggestions.

-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-
-=|  Daniel Free                     Griffler Enterprises             |=-
-=|  daniel@novex.net.nz             ICQ#    15707938                 |=-
-=|  Cellular # 021 258 3389         HTTP://www.novex.net.nz/         |=-
-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-=|=-



Reply to: