Problems with the Linux version of XAMPP, questions, comments, and anything related.
by greglp » 04. January 2007 20:10
I am unable to view .php files from server. I get the code of the file. If I change the file to an .htm it loads fine. Even phpinfo.php shows me the php code. I downloaded the latest lampp from apachefriends and running on fedora 6 box.
Thanks for some help
-
greglp
-
- Posts: 2
- Joined: 04. January 2007 19:42
by pawill79 » 05. January 2007 03:16
Do you have a copy of the php file that is not working?
-
pawill79
-
- Posts: 12
- Joined: 25. October 2005 03:32
by greglp » 05. January 2007 20:44
I added
AddType text/html php
and AddHandler php5-script php
to the httpd.conf
this appears to solve the problem.
Thanks
-
greglp
-
- Posts: 2
- Joined: 04. January 2007 19:42
by benk » 07. January 2007 01:52
greglp wrote:I added
AddType text/html php
and AddHandler php5-script php
to the httpd.conf
this appears to solve the problem.
Thanks
I have the same problem..
PHP files arn't parssed..
where did you put that?
-
benk
-
- Posts: 3
- Joined: 06. January 2007 23:59
Return to XAMPP for Linux
Who is online
Users browsing this forum: No registered users and 66 guests