Toon posts:

[win2003]PHP wil niet draaien onder Apache

Pagina: 1
Acties:

Verwijderd

Topicstarter
Zit nu met een raar probleem.
Of ik zie iets enorm over het hoofd :'(

Eerst even de versie nummers

* Apache -> 1.3.31
* PHP -> 4.3.9

Het probleem is als volgt:
Na Apache te instaleren draait het gewoon als een service en alles doet het verder.
Ga ik hierna PHP als een module instaleren wil de Apache service niet meer starten.

en krijg ik dus de volgende foutmelding
Afbeeldingslocatie: http://home.planet.nl/~knoop070/Pics/probleem.GIF
* Klikbaar *

Addmodule regel staat er ook bij. (AddModule php4_module)
En de Addtype ik ook aanwezig. ( AddType application/x-httpd-php .php)

Ziet iemand hier een fout of bekend probleem

  • Glashelder
  • Registratie: September 2002
  • Niet online

Glashelder

Anti Android

PV 4915wp op oost, 2680 wp op west, 1900 wp op zuid. pvoutput - AUX 8 kW bi bloc


  • RAJH
  • Registratie: Augustus 2001
  • Niet online
Installing php4 on windows 2000 (and other NT based) with apache2 - the minimum:

1. Go into the apache2 main/root directory (e.g. C:/Program Files/Apache Group/Apache2) and put here the php.ini file.
2. Go into the modules directory and create here new folder named 'php'.
3. Copy into .../modules/php/ directory all dll's needed by php:
php4apache2.dll, php4ts.dll and all extensions you need, for example php_pgsql.dll.
4. Modify httpd.conf - add lines
LoadModule php4_module modules/php/php4apache2.dll
AddType application/x-httpd-php .php
5. Modify php.ini
extension_dir = "./modules/php/"
6. Start apache server !
As you can see - everything is placed in the apache
directory, no dll's go to the windows system directories (brrr !), no absolute paths in the php.ini configuration file !
Now you can move all the apache directory in some other place and at most you have to change httpd.conf file, nothing
else !
bron: [rml]IorGie in "[ PHP] httpd.conf - apache service restar..."[/rml]

Verwijderd

Topicstarter
Oke ik heb niet goed gezocht.
Dankjewel