Webserver... php probz

Pagina: 1
Acties:
  • 40 views sinds 30-01-2008

  • flexje
  • Registratie: September 2001
  • Laatst online: 12:10

flexje

got-father

Topicstarter
Hey peeps , ik heb net php + mysql + apache op mn pc geinstalleerd, als ik naar [url="http://localhost"]http://localhost[/url] ga doet ie het wel maar als ik dan een .php pagina wil openen wilt ie em downloaden ipv weergeven! what tha hell is wrong?

"Try not to become a man of success but rather to become a man of value..."


  • CyberSnooP
  • Registratie: Augustus 2000
  • Laatst online: 08-09 20:35

CyberSnooP

^^^^ schrijft --->

:'( (slecht topic)

Maar toch een kort antwoordje: Je apache heeft niet door dat ie .php bestanden moet laten verwerken door de php executable. Dat moet je hem leren in z'n configuratie bestand, en hoe dat gaat staat uitgelegd in de PHP Manual

|_____vakje______|


  • Limhes
  • Registratie: Oktober 2001
  • Laatst online: 19-08 19:06
in je httpd.conf:
LoadModule php4_module F:/php/sapi/php4apache.dll
Action application/x-httpd-php "F:/php/php.exe"
AddType application/x-httpd-php .php

(hier issie dus geinstalleerd in F:/php)

  • flexje
  • Registratie: September 2001
  • Laatst online: 12:10

flexje

got-father

Topicstarter
hij doet het nog steeds niet hoor.
hij wil em nog steeds downloaden!

"Try not to become a man of success but rather to become a man of value..."


  • elnino
  • Registratie: Augustus 2001
  • Laatst online: 03-09 05:13
Geef eens wat meer informatie, dat hij het niet doet weten we inmiddels wel...

(tip: httpd.conf, .htaccess)

  • LuCarD
  • Registratie: Januari 2000
  • Niet online

LuCarD

Certified BUFH

heb je de server opnieuw gestart?

Programmer - an organism that turns coffee into software.


  • CyberSnooP
  • Registratie: Augustus 2000
  • Laatst online: 08-09 20:35

CyberSnooP

^^^^ schrijft --->

Gebruik de search goed, de PHP-manual goed en Google goed.
Vertel ons verder wat je allemaal ingesteld hebt, welke versies je draait, en eigenlijk is dit geen echt P&W topic.

|_____vakje______|


  • flexje
  • Registratie: September 2001
  • Laatst online: 12:10

flexje

got-father

Topicstarter
ik heb echt alles goed gechecked en gezocht , ik heb nu wat veranderd in de httpd en nu krijg ik een HTTP 400 - Bad request error!

"Try not to become a man of success but rather to become a man of value..."


Verwijderd

Wat je vooral niet moet doen is Bestand > Openen gebruiken. Typ gewoon de URL in je browser in.

Verwijderd

Niet onbelangrijk om te weten, is het een Windows of een Unix/Linux install ?

  • blackd
  • Registratie: Februari 2001
  • Niet online
Dit is toch helemaal niet voor P&W?

Tevens is dit crosspost met:
[topic=437515]

Al gemeld in SU: [topic=437694]

9000Wp o/w SolarEdge SE6K - Panasonic 5kW bi-bloc - gasloos sinds 17-7-2023


  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

k, hoort iig niet in P&W, trouwens ook niet in ANS.
Pagina: 1

Dit topic is gesloten.