Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache and PHP problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
draman
n00b
n00b


Joined: 15 Jun 2004
Posts: 19

PostPosted: Tue Jun 15, 2004 4:00 pm    Post subject: Apache and PHP problem Reply with quote

PHP and Apache have been installed on the system and Apache is running, its modules assigned to load automatically but when I browse a PHP page from my browser, its lines will appear,
for example :
http://localhost/test.php
just 3 lines will appear:
<?php
phpinfo();
?>

any idea?
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Tue Jun 15, 2004 4:03 pm    Post subject: Reply with quote

hello,

make sure:
1) you have mod_mono emerged
2) you have mod_php.conf in /etc/apache2/conf/modules
3) you have -D PHP4 in /etc/conf.d/apache2

yes that's it I think, more I don't recognize at the moment...

ciao

PS: please delete your other post
Back to top
View user's profile Send private message
draman
n00b
n00b


Joined: 15 Jun 2004
Posts: 19

PostPosted: Tue Jun 15, 2004 4:25 pm    Post subject: Reply with quote

thank you dear friend,
I tought I emerged apache mod_php, but it seems I did only emerged apache !

Thank you

to moderator: you can lock this post :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum