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.

php auf iis läuft nicht an

Empfohlene Antworten

Hi,

folgendes Programm funktioniert nicht:

<HTML>

<HEAD><TITLE>My First PHP Script</TITLE></HEAD>

<BODY>

<? echo("Hello World!<P>"); ?>

</BODY>

</html>

folgender Fehler wird ausgegeben:

Security Alert! The PHP CGI cannot be accessed directly.

This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

PHP: Error parsing C:\WINNT\php.ini on line 215

Hat da jemand Ahnung warum das nicht geht? (Das ist mein erster Versuch php zu installieren)

zum Vorgang:

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

-ich habe mir den php installer von php.net runtergeladen

-hab ihn lokal auf dem webserver ausgeführt und installiert , danach neustart

-dann habe ich den iis auf index.php und auf .php file extensions hin eingerichtet und

berechtigungen auf script (im home directory) gegeben.

Hilfe!

Danke!

danke, haut leider aber nicht hin.

(Muss der String an eine bestimmte Stelle der php.ini ? Ich habe sie ganz oben

eingetragen unter

 .

er bemängelt extra noch einen parse error an folgendem eintrag:

E_NOTICE - run-time notices (these are warnings which often result

Ist diese Einstellung falsch ? Wenn ich sie deaktiviere kommt ein anderer Fehler:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Vielleicht noch eine Idee ??

Vielen Dank!!!!!!:)

Ahh, Vielen Dank, jetzt gehts.

Es lag daran, das ich den Server mal neu gestartet habe, dann ging es.

Vielen Dank!!

Hmm, hier ist doch noch was merkwürdig. Es geht immer nur einmal. Wenn ich dann "Hello World" Fenster verlasse und auf eine andere Seite gehe und danach wieder auf die php - datei klicke kommt wieder der o.g. Fehler mit cgi-error. Wenn ich dann den IE schließe und wieder öffne geht es wieder aber eben wieder nur einmal ?!?!? Muss da noch pragma no cache rein oder was könnte da schief laufen ?

Danke!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.