ich bekomm php nich zum laufen

SpecialAgent

BSD Trainee
Hallo Leute,

ich bin am verzweifeln, php will einfach nich funzen!!

aus den ports installiert:
apache 1.3.34
php5-5.1.4
php5-gd-5.1.4
php5-mysql-5.1.4
php5-pcre-5.1.4

obwohl alles sehr einfach is, hab ich alles nochmal mit diesem tutorial überprüft:

http://www.emgarten.com/tutorials/web-server/install-php-5-for-web-hosting.php

httpd.conf: http://esry.homeunix.org/httpd.conf
php.ini is die ( wie im tutorial ) die /usr/local/etc/php.ini-dist

php test is hier: http://esry.homeunix.org/coppermine/
oder hier: http://esry.homeunix.org/test.php

Hier das letzte von der httpd-error log datei ( nachdem apache neugestartet worden is )

[Tue May 30 14:36:16 2006] [notice] SIGHUP received. Attempting to restart
[Tue May 30 14:36:17 2006] [notice] Apache/1.3.34 (Unix) PHP/5.1.4 configured -- resuming normal operations
[Tue May 30 14:36:17 2006] [notice] Accept mutex: flock (Default: flock)

In /var/log/messages steht nix vom httpd.

Wo liegt der Fehler? Es ist doch alles so wie es sein muss?

Vielen Dank im vorraus!

SA.
 
Ich denke das Problem ist, das du php5 installiert hast aber deine httpd.conf php3 bzw. php4 erwartet.
Code:
    <IfModule mod_php3.c>
	AddType application/x-httpd-php3 .php3
	AddType application/x-httpd-php3-source .php3s
    </IfModule>
    <IfModule mod_php4.c>
	AddType application/x-httpd-php .php
	AddType application/x-httpd-php-source .phps
    </IfModule>
Da muesst dann noch ein <IfModule mod_php5.c>...</IfModule> hin.
 
Neeee....

ich glaubs ja gar nich.... es klappt...

super danke.... tutorials enttäuschen doch öfter.... ( obwohl es ja recht neu is )

Es funzt....

supi!

Thx,

SA
 
Hallo, weshalb hast Du nicht die php5-extentions installiert? Damit ist das Handling der Erweiterungen wesentlich einfacher.

Gruß, ww
 
Zurück
Oben