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 im cgi-bin Verzeichnis läuft nicht:( [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
brauche Webseite ideal für Vereine und Firmen
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
.php im cgi-bin Verzeichnis läuft nicht:(


 
JoelH
21-03-2002, 10:06 
 
Bin ich zu doof ?
Was muss in die httpd.conf damit auch im cgi-bin Verzeichnis die php Seiten laufen ? Irgendwie bin ich eute nicht gar so gut drauf :(

 
hand
21-03-2002, 17:26 
 
Lnux oder Windoz (Du wirst doch wohl nicht .... )
install.txt

Web server configuration
========================

Installing PHP on Windows with Apache 1.3.x

... you need to insert these lines to your Apache conf
file to set up the CGI binary:

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

Remember to restart the server, for example,
NET STOP APACHE
followed by
NET START APACHE

...

 
JoelH
22-03-2002, 07:02 
 
das geht ja auch alles, aber im CGI-BIN verzeichnis geht es nicht, aber ich hab mittlerweile irgendwo gehört dass das garnicht geht, aus Sicherheitsgründen kann man beim Apachen nichts in das cgi-bin Verzeichnis legen und ich dachte ich hätte das Apachekonfigurieren verlernt.

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 18:55 Uhr.