Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP-Scripte werden nicht ausgeführt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
dude75
n00b
n00b


Joined: 09 Jan 2003
Posts: 14

PostPosted: Tue Feb 04, 2003 1:05 pm    Post subject: PHP-Scripte werden nicht ausgeführt Reply with quote

Hallo

Um mySQL zu verwalten, habe ich mir phpmyadmin installiert. Dazu habe ich emerge phpmyadmin ausgeführt. Dabei wurden neben Apache auch einige andere Programme gemerged.
Wenn ich jetzt jedoch die Startseite von phpmyadmin aufrufe, erhalte ich denn Quelltext von phpmyadmin. Was muss ich noch einstellen, damit PHP-Scripte ausgeführt werden.

Bastian
Back to top
View user's profile Send private message
de4d
Apprentice
Apprentice


Joined: 12 Sep 2002
Posts: 181
Location: fr. i. br. (ger)

PostPosted: Tue Feb 04, 2003 1:10 pm    Post subject: Reply with quote

schaumal in httpd.conf
da muss irgendwie sowas wie
Code:

AddType application/x-httpd-php .php

stehen
_________________
void main(){fork();main();}
Back to top
View user's profile Send private message
chaos2
n00b
n00b


Joined: 04 Feb 2003
Posts: 5
Location: Germany Hamburg

PostPosted: Tue Feb 04, 2003 1:20 pm    Post subject: Reply with quote

apache mit -D PHP starten
Back to top
View user's profile Send private message
dude75
n00b
n00b


Joined: 09 Jan 2003
Posts: 14

PostPosted: Tue Feb 04, 2003 1:22 pm    Post subject: Reply with quote

Hm

ich denke mal das die httpd.conf bei Gentoo apache.conf heißt oder?

Was ich nun unter /etc/apache gefunden habe ist ein weiterer Folder (addon-modules) in dem sich eine mod_php.conf befindet mit dem von Dir beschriebenen Inhalt.

Wird diese Datei nicht automatisch in der apache.conf eingebunden, oder was muss ich unternehmen, damit diese mod_php.conf ausgeführt wird?

Bastian
Back to top
View user's profile Send private message
dude75
n00b
n00b


Joined: 09 Jan 2003
Posts: 14

PostPosted: Tue Feb 04, 2003 1:26 pm    Post subject: Reply with quote

Hm -D PHP steht in der /etc/conf.d/apache drin
Back to top
View user's profile Send private message
A.Stranger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 148
Location: Dortmund

PostPosted: Tue Feb 04, 2003 3:44 pm    Post subject: Reply with quote

Hi,

Code:

 * To have Apache run php programs, please do the following:
 * 1. Execute the command:
 *  "ebuild /var/db/pkg/dev-php/mod_php-4.3.0-r2/mod_php-4.3.0-r2.ebuild config"
 * 2. Edit /etc/conf.d/apache and add "-D PHP4"
 *
 * That will include the php mime types in your configuration
 * automagically and setup Apache to load php when it starts.

_________________
Bis denn...
A.Stranger
_________________________
System: findet Ihr hier
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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