Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

apache / php

Empfohlene Antworten

HAllo,

ich will mein Webserver Apache 1.3.27 unter os w2k laufen lassen und

zwar mit php als modul. Hab auch alles gemacht wie es unter

http://www.php.net/manual/de/install.apache.php beschreiben ist

mit folgender eintragung in die httpd.conf

LoadModule php4_module d:/programme/php/sapi/php4apache.dll

AddType application/x-httpd-php .php .phtml

AddModule mod_php4.c

Der httpd.conf test ist erfolgreich. Jedoch stürzt mein Apache mit der Fehlermeldung 1067 ab bevor er überhaupt gestartet ist.

Weiss jemand Rat ?

thx

alligator

Hallo!

Hast du die php4ts.dll und die php.ini, so wie in der Installationsanleitung beschrieben, kopiert?

php4ts.dll in z.B. %systemroot%\system32; bei mir also c:\winnt\system32

php.ini-dist in php.ini umbenennen und in %systemroot% kopieren; mir also c:\winnt\

Gruß Jaraz

Welche anderen?

Was steht in der Windows Ereignisanzeige?

Gruß Jaraz

  • Autor

Hi,

die unter php/dll hab ich ebenfalls in den system32-Ordner reinkopiert.

Das hab ich irgendwie so verstanden ...

###

Die zu kopierenden Dateien sind:

Die Dateien in dem Verzeichnis 'dlls' Ihrer Distribution. Sollten diese Dateien bereits auf Ihrem System installiert sein, überschreiben Sie diese nur, wenn etwas nicht korrekt läuft (Vor dem Überschreiben empfehlen wir ein Backup, oder verschieben diese Dateien in ein anderes Verzeichnis - nur für den Fall dass etwas schiefgeht).

###

In der Ereignisanzeige find ich irgendwie nix passendes zu der jetztigen Uhrzeit (21:XX), obwohl laut dem Programmfehler "ein Fehlerprotokoll erzeugt" wird. ??

cya

alligator

Ich halte mich immer genau an folgendes und habe noch nie Probleme gehabt. (bei duzenden Installationen)

----------------------------------------

Installing PHP for Apache as module

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now that version 4.1 introduces a safer sapi module, we recommend

that you configure PHP as a module in Apache.

To accomplish this, you have to load the php4apache.dll in your

Apache httpd.conf.

!! NOTE !!

Whereever you load php4apache.dll from, php4apache.dll also

needs the php4ts.dll also included in the PHP4 distribution.

php4apache.dll depends on php4ts.dll which is loaded as soon as

Apache loads php4apache.dll. If php4ts.dll can't be found, you

usually get an error like (also see the "Problems?" section at

the end of the file):

Cannot load c:/php/sapi/php4apache.dll into server

So where does php4ts.dll has to be to be properly loaded ?

php4ts.dll is searched in the following order:

1) in the directory where apache.exe is start from

2) in the directory where php4apache.dll is loaded from

3) in your %SYSTEMROOT%\System32, %SYSTEMROOT%\system and

%SYSTEMROOT% directory.

Note: %SYSTEMROOT%\System32 only applies to Windows NT/2000/XP)

4) in your whole %PATH%

Note: What is %SYSTEMROOT% ? Depending on your Windows

installation this may be for example c:\winnt or C:\windows

Usually you would just copy it over to %SYSTEMROOT%\System32.

But if you want to have multiple PHP installations (for

whatever reason) this is a bad idea. For this circumstance the

safest thing is to let php4ts.dll reside in the same directory

where php4apache.dll is loaded from (see point 2 above).

After you've set up the file layout properly, you're ready to

finally configure Apache to load the PHP4 module. Just add the

following lines to your httpd.conf:

LoadModule php4_module c:/php/sapi/php4apache.dll

AddModule mod_php4.c

AddType application/x-httpd-php .php

Note: Especially newer versions of Apache do not need the

AddModule directive anymore, your milage may vary.

Where do I have to put the php.ini ?

The php.ini files is only searched in two places:

1) in your Apache installation directory (e.g. c:\apache\apache)

2) in your %SYSTEMROOT% directory.

--------------------------------

Gruß Jaraz

Da sind nur diese beiden Zeilen neu, Rest ist Standard.

LoadModule php4_module c:/php/sapi/php4apache.dll

AddType application/x-httpd-php .php

Gruß Jaraz

PS: muss jetzt weg.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.