Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> apache2 + php5 Linux
RAIH
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 15.07.2006

Ostrzeżenie: (0%)
-----


Witam

Zainstalowałem apache-2.0.58 oraz php-5.1.4-r1 .....
jednak nie moge uruchomic obsługi php .....

httpd.conf
http://www.reih.xorg.pl/httpd.conf

php5.conf
http://www.reih.xorg.pl/smieci/70_mod_php5.conf

Serwer dziala i poprawienie wyswietla kod html
php dziala pod konsola gdy uruchomie skrypt

jednak php na serwerze nie dziala

dostaje blad :

Kod
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, reih@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


mysle ze blad tkwi w tych liniach

Kod
ScriptAlias /php/ "/usr/lib64/php5/bin/"
Action application/x-httpd-php5 "/php/php"


nie dokonca rozumiem na co maja wskazywac ..........
gdy je zahaszuje przegladarka hce pobrac plik typu application/x-httpd-php5 (index.php)

......
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
wrzasq
post
Post #2





Grupa: Zarejestrowani
Postów: 206
Pomógł: 18
Dołączył: 6.03.2006
Skąd: Szczecin

Ostrzeżenie: (0%)
-----


jak nie trudno sie domyslic, ScriptAlias definiuje alias, czyli po:
Kod
ScriptAlias /php/ "/usr/lib64/php5/bin/"

sciezki z /php/ beda zamieniane na /usr/lib64/php5/bin/.

Ten post edytował wrzasq 16.07.2006, 10:42:26
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.12.2025 - 19:49