You are not logged in.

JACKDAN3LS

Beginner

  • "JACKDAN3LS" started this thread

Posts: 4

  • Send private message

1

Tuesday, July 27th 2010, 11:57pm

Problem bei Installation mit PHP

Hallo,
und zwar ist es das erstemal, dass ich den mod installiere, nur jetzt bin ich auf ein Problem gestoßen.

Source code

1
2
./startscript debug
./startscript: line 91: php: command not found

und das startscript sieht so aus:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Name of process
# Unique for each mod installation
#=================================
NAME=delta_mam
#Default: NAME=ManuAdminMod_1
#
# Basedir to adminmod installation:
#==================================
DIR=/etc/php5/apache2/php.ini
#Example: DIR=/var/games/cod4/adminmod
#
# Path to config directory
#=========================
CFGDIR=config
#Default: CFGDIR=config
#
# Path to log directory
#======================
LOGDIR=log
#Default: LOGDIR=log
#
# Additional parameters for the mod (e.g. -force)
#================================================
PARAMS="-splitlog 50"
#Default: PARAMS=""
#
# Path to php-binary
# Normally only 'php'
#===================
PHP=php
#Example: PHP=/usr/local/bin/php
#
# Parameters for PHP (only for versed user)
#==========================================
PHPPARAMS="-f"
#Default: PARAMS="-f"


Ich weiß nicht mehr weiter... brauche ect hilfe!
mfg

This post has been edited 1 times, last edit by "Dennis" (Jul 29th 2010, 9:20am)


Hool

Cheff von der ganzen sache hier

Posts: 905

Location: Versmold

Occupation: IT Techniker

Thanks: 4

  • Send private message

2

Wednesday, July 28th 2010, 12:23am

du musst php auf deinem linux server installieren
ansonsten bei xampp einfach den pfad angeben:
"
PHP=php
#Example: PHP=/usr/local/bin/php
"


Luk

Professional

Posts: 580

Location: Essen

Thanks: 4

  • Send private message

3

Wednesday, July 28th 2010, 2:15am

Um das Ganze mal zu erweitern...... (wieso hast du nicht mehr angegeben Daniel?!?)

Seine Geschichte:

apt-get install php5

php5 is already installed.

-> Wo is php?

Es gibt einen Ordner namens /etc/php5, wo aber kein "php" drin ist.

Was tun?

----
Hoffentlich hilft die Problembeschreibung weiter......

JACKDAN3LS

Beginner

  • "JACKDAN3LS" started this thread

Posts: 4

  • Send private message

4

Wednesday, July 28th 2010, 9:55am

Weiß nicht, aber danke, für die erweiterungxD

Also php muss installiert sein, denn ich kann info.php im browser aufrufen. Aber iwie weiß ich net den Pfad:-(
mfg
ps xamp habe ich ncht drauf...

manu

Entwickler

Posts: 1,374

Location: Hösbach

Occupation: Schüler

Thanks: 8

  • Send private message

5

Wednesday, July 28th 2010, 11:58am

php5-cli auch installiert?
War mein Post für dich hilfreich? Dann bedanke dich bitte mithilfe des Buttons "Bedanken". Danke ;)



CoD 4 Mapcycle-Generator
Meine Website

Luk

Professional

Posts: 580

Location: Essen

Thanks: 4

  • Send private message

6

Wednesday, July 28th 2010, 12:32pm

Nachdem ich ihm gesagt hab, dass

Source code

1
2
3
# Basedir to adminmod installation:
#==================================
DIR=/etc/php5/apache2/php.ini


nicht der Installationspfad zum Adminmod ist und er

Source code

1
apt-get install php5-cli


gemacht hat, funktioniert es, danke Manu.

Dennis

ManuAdminMod.de Staff

Posts: 3,502

Location: Augsburg

Occupation: Schüler

Thanks: 13

  • Send private message

7

Thursday, July 29th 2010, 9:20am

Ich hab den Titel noch ein wenig sinnvoller angepasst.

Similar threads