---
title: "warum kann ich die index.php nicht editieren?"
url: "https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren"
source: "typo3.net"
tags: ["Hosting","Server","Frage"]
created: "2006-04-12"
last_reply: "2006-04-12"
replies: 8
solved: false
page: 1
pages: 1
lang: "de"
---

# warum kann ich die index.php nicht editieren?

Hosting › Server · 8 Antworten · gestartet 2006-04-12

## Eröffnungsbeitrag

**ole220170** · 2006-04-12 · [Beitrag #1](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/1)

Moin @ all!

Ich habe gestern auf einem webserver typo3 installiert. Soweit so gut. Jetzt müsste ich ja, um es endgültig installieren zu können ja die /.../.../typo3/index.php modifizieren. Wenn ich da aber nun öffnen will, dann geht das hier bei mir nur mit "gedit" und logischerweise werden Änderungen nicht auf dem Server gespeichert.
Wie aber mache ich es nun ambesten? Die Datei runtersaugen, hier lokal verändern und dann wieder uploaden? Oder habe ich schon einen Bock vorher bei der Grundinstallation geschossen? Und dann habe ich mir die Frage gestellt wo im Script diese 'die ()' Funktion ist? Und welche index.php ist denn die richtige? Hier mal meine Pfade, da ich zwei index.php finde:

public_html/cms/typo3_src-4.0/index.php
public_html/cms/typo3_src-4.0/typo3/index.php

Besten Dank für Eure Hilfe im voraus
Niels

## Antworten

### [#2](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/2) · Frescha · 2006-04-12

die richtige liegt im verzeichnis deinweb/typo3/install/index.php

```php
<?php
/***************************************************************
*  Copyright notice
*
*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*  A copy is found in the textfile GPL.txt and important notices to the license
*  from the author is found in LICENSE.txt distributed with these scripts.
*
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
 * Starter-script for install screen
 *
 * $Id: index.php,v 1.15 2005/11/23 16:11:37 kurfuerst Exp $
 *
 * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
 * @package TYPO3
 * @subpackage core
 */



// **************************************************************************
// Insert some security here, if you don't trust the Install Tool Password:
// **************************************************************************

	// This checks for my own IP at home. You can just remove the if-statement.
if (1==0 || (substr($_SERVER['REMOTE_ADDR'],0,7)!='192.168' && $_SERVER['REMOTE_ADDR']!='127.0.0.1'))	{
	die("In the source distribution of TYPO3, the install script is disabled by a die() function call.<br/><b>Fix:</b> Open the file typo3/install/index.php and remove/out-comment the line that outputs this message!");
}



// *****************************************************************************
// Defining constants necessary for the install-script to invoke the installer
// *****************************************************************************
define('TYPO3_MOD_PATH', 'install/');
$BACK_PATH='../';

	// Defining this variable and setting it non-false will invoke the install-screen called from init.php
define('TYPO3_enterInstallScript', '1');
require ('../init.php');
?>
```

### [#3](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/3) · ole220170 · 2006-04-12

Okay! Das File habe ich auch. Aber wie soll ich die Funktion auskommentieren, wenn ich das so auf dem Webserver nicht direkt öffnen und bearbeiten kann? Und zum anderen frage ich mich gerade hinsichtlich des vorangehenden Kommantres (...you can just remove the if statement...), ob ich die ganzen 5 Zeilen löschen soll/kann?
Soll ich die nun lokal bearbeiten und dann uploaden?

In der Hoffnung auf Hile, sage ich Tschüss
Niels

### [#4](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/4) · just2b · 2006-04-12

ja runter laden, editieren, uplaoad... alternativ gibts FTP-Programme die das onthefly können oder webftp, wo man das auch teilw kann... 100te wege ;)

lg georg

### [#5](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/5) · ole220170 · 2006-04-12

:D jupp, jetzt bin ich drin, drin, drin!

#paralyzed# gibt es eine vorgegebenes Passwort, weil wenn ich jetzt auf das Backend will, mag es meinen Usernamen und auch mein Passwort nicht!

Niels

### [#6](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/6) · just2b · 2006-04-12

du meinst fürs install tool (domain.tld/typo3/install/)? da ist es joh316, da musst du die einzelnen schritte durchmachen, und da wird dir auch ein user angelegt, mit dem kannst du dich dann einloggen domain.tld/typo3 mit admin/password

georg

### [#7](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/7) · ole220170 · 2006-04-12

> **just2b schrieb:**
>
> du meinst fürs install tool (domain.tld/typo3/install/)? da ist es joh316, da musst du die einzelnen schritte durchmachen, und da wird dir auch ein user angelegt, mit dem kannst du dich dann einloggen domain.tld/typo3 mit admin/password
>
> georg

joh 316 ist das PW, richtig? Und Username = ???

Danke Dir für deine Hilfe
Niels

### [#8](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/8) · just2b · 2006-04-12

install-tool gibts nur 1 feld => joh316
BE-login: user:admin, pw:password

### [#9](https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren/9) · ole220170 · 2006-04-12

> **just2b schrieb:**
>
> install-tool gibts nur 1 feld => joh316
> BE-login: user:admin, pw:password

:D  :D  :D  jupp, da ist es und strahlt mich fromm und fröhlich an!
Allen helfenden sei Dank gesagt!

Gruß
Niels

---

Quelle: „warum kann ich die index.php nicht editieren?“, typo3.net, https://www.typo3.net/d/41260-warum-kann-ich-die-indexphp-nicht-editieren
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
