This is a discussion on pb with conf/apache-mime.types? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, When i test my new install (Apache+php) with the famous script hello.html, i have a blank screen. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
When i test my new install (Apache+php) with the famous script hello.html, i have a blank screen. I edit tne httpd.conf file and verify the presence of this line : <IfDefine HAVE_PHP4> LoadModule php4_module extramodules/libphp4.so </IfDefine> <IfDefine HAVE_PHP4> AddModule mod_php4.c </IfDefine> #AddType application/x-httpd-php .phpInclude conf/addon-modules/php.conf AddType application/x-httpd-php .php .html .htm Include conf/addon-modules/php.conf So, i think the dynamic PHP module was enabled, and i start apache with the option -D HAVE_PHP4. But i have always a blank screen. I don't understand. In my conf/apache-mime.types file, i don't have the line : application/x-httpd-php php html htm But the line : application/x-php php php3 php4 It is just for interpreted php script with the mozilla browser?? My installation : Mandrake 9.1, apache-1.3.27-8mdk, apache-conf-2.0.44-11mdk, apache-modules-1.3.27-8mdk, apache2-common-2.0.45-4.3mdk, apache-suexec-1.3.27-4mdk, libphp_common430-430-11mdk, mod_php-4.3.1-1mdk, php-ini-4.3.0-1mdk. Thank for your help. Benoit. |
| Thread Tools | |
| Display Modes | |
|
|