For php4 you should use " AddType application/x-httpd-php .php ", but if
you've checked that allready then you should check if apache loads the php4
module correctly. 

If you are using the DSO-Module then you should check the loadmodule
directives within the httpd.conf and if that's present check the
error-logfile if apache complains about anything related to module loading.
If there's no problem then you could use the apache server-info handler
(http://localhost/server-info, check your httpd.conf for that) to see if
apache loads that module.

If you've installed/compiled a static apache-php-version you could start the
httpd binary directly with the parameter -l to get a list of the installed
modules.

Hope anything of this helps to track the problem.

Robert

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. April 2001 14:41
An: Robert Boehrs
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: [PHP-INST] When I try to open index.php the browser
prompts a download box to download index.php! 



Hi and thanks for your support!

I'm using those lines and it doesn't work ! It's really strange !

Remember that I'm using PHP4 and not 3 .... is this any problem?!?!?!?

Do I have to modify any other parameter in httpd.conf?!

Thanks, regards,

HS




 

                    Robert Boehrs

                    <RBoehrs@music-u        To:
[EMAIL PROTECTED]                 
                    nited.com>              cc:

                                            bcc:

                    04/11/01 12:36          Subject:     AW: [PHP-INST] When
I try to open    
                    PM                      index.php the browser prompts a
download box to 
                                            download index.php!

 





Hi,
seems to me like you'll need to modify your http.conf file. Look for
something like
" AddType application/x-httpd-php3 .php3 " or " AddType
application/x-httpd-php .php ".

If these lines are not within your http.conf or are commented out just
uncoment or insert these.
After that you need to restart your apache-server and you should get your
php-files correctly processed.

Best Robert

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. April 2001 12:33
An: [EMAIL PROTECTED]
Betreff: [PHP-INST] When I try to open index.php the browser prompts a
download box to download index.php!


When I try to open index.php the browser prompts a download box to download
index.php!

I've just installed apache & php in a redhat 7.0

Do you have any hint about this ?



Best regards,

HS
**** This message is from Arthur D. Little, Inc., and/or one of
Arthur D. Little's subsidiaries or affiliates and may contain
confidential business information. It is intended for the addressee
only and may not be copied without our permission. If you are not
the intended recipient please contact the sender as soon as possible.****


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



**** This message is from Arthur D. Little, Inc., and/or one of
Arthur D. Little's subsidiaries or affiliates and may contain
confidential business information. It is intended for the addressee
only and may not be copied without our permission. If you are not
the intended recipient please contact the sender as soon as possible.****

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to