Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
PHP Installieren [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr

- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
PHP Installieren


 
giwanovski
21-04-2002, 18:15 
 
Hi Php-Freunde...
hab mich vor einigen Tagen entschlossen PHP zu lernen und hänge nun schon an den einfachsten Dingen, dem einrichten von PHP.

Verstehe ich das richtig, das auf jeden Fall ein Server installiert sein muss, um sich seine PHP Dateien anzeigen zu lassen?

Der Server ist nun nicht so das Problem...hab einen Webserver auf meinem Computer...ist ein Sambar Server. Wenn ich nun aber PHP installiere, kann mein Computer immer noch keine PHP Dateien anzeigen...was muss ich machen?

Bitte antwortet schnell, ich möchte möglichst noch heute meine ersten Erfolge sehen:D

 
JoelH
22-04-2002, 11:28 
 
mit sambar kenne ich mich leider nicht aus, aber du musst wohl in der Konfiguration eintragen wo er den php Interpreter findet, das ist die php.exe ! Dann kannst du es als cgi laufen lassen. Ich benutze noch immer www.vogelgesang-berlin.de/server/apache .

Schau aber auch mal hier rein :
http://www.php.net/manual/de/installation.php

 
Aroree
22-04-2002, 12:07 
 
das habe ich bei PHP.net gefunden:

http://www.php.net/manual/en/installation.php

This is how I easily set up PHP 4.1.2 with Sambar Server 5.0:

1.) I downloaded the smaller (920k?) CGI-only distribution and installed
it.

2.) I then opened the Sambar System Administration page, (the default
index.htm when Sambar is installed) went to System Configuration, and
scrolled down to CGI Extensions.

3.) In the box, I added *.php, and updated the configuration.

4.) Then I opened c:\windows\php.ini, and turned off the
cgi.force_redirect variable, since my PHP executable would not be
accessable to the general public.

5.) Now all that needs to be done is add a "#!c:\PHP\php.exe"
(change "c:\PHP" to whatever directory you installed the
executable in) line to the beginning of each of your .php files.

The Sambar server will recognize .php files as CGI files and execute them
automatically due to the actions in steps 2 and 3. This is probably not
the most optimized way to run PHP, but it works fine for me.


hoffe es hilft dir

 
giwanovski
22-04-2002, 17:06 
 
danke, aber das bekomme ich einfach nicht hin :(

Hab wirklich alles so gemach wie es da steht, aber es haut einfach nicht hin...ich glaube ich nehm ab jetzt Apache...

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 19:15 Uhr.