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)
phpMyAdminn geht nicht, help please [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
ebiz-webhosting
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
phpMyAdminn geht nicht, help please


 
vux
13-01-2002, 19:30 
 
Hallo, also ich hab gerade auf XP, die index.php wird angezeigt und WinMysqladmin ist auch ok, allerdings wird die index.php3 (zum testen von phpMyadmin) nicht geparst, warum?

hier mein System und welche änderungen ich vorgenommen habe, hoffe es ist genügend genau aufgeschlüsselt, herzlichen dank schonmal!

Apache 1.3
PHP 4.1.1 (Windowsinstaller)
MYSQL for Windows (WinMySQLAdmin 1.1)(Windowsinstaller)
phpMyadmin 2.2.3

installiert, und zwar so (Meine Festplatte ist i:)

Apache auf i:\apache
PHP auf i:\php
MySQL auf i:\MySQL
phpmyAdmin auf i:\webserver\phpmyadmin2.2.3

vorgenommene Änderungen in Systemdateien

1. localhost eingerichtet:

i:\webserver erstellt
Änderung in i:\apache\conf\httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "I:/webserver"

2. php in apache eigerichtet als CGI

Änderung in i:\apache\conf\httpd.conf

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

3. mySQL angepasst

#NOTE: If you install MySQL in a folder other than
#C:\MYSQL or you intend to start MySQL on NT/Win2000
#as a service, you must create a file named C:\MY.CNF
#or \Windows\my.ini or \winnt\my.ini with the following
#information::

[mysqld]
basedir=i:/mySQL/
datadir=i:/mySQL/data

beide dateien angelegt, allerdings heissen enden sie immer mit *.bak, warum? obwohl ich sie als *.cnf abspeichere

4. phpMyAdmin anpassen

/**
* Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*/
$cfgPmaAbsoluteUri = '';

als was soll ich die variable setzten, 'http://localhost/myadmin-2.2.3/, hab ich schon probiert

 
Berni
13-01-2002, 19:49 
 
AddType application/x-httpd-php4 .php .php3

fehlt!! Dein PHP kann keine .PHP3 Files parsen.

 
vux
13-01-2002, 20:09 
 
Hi, danke für deine antwort

ich dache, wenn man php4 hinschreibt, heist das, dass auch php3 usw abwärtskompatibel...geparst werden

so sieht es jetzt bei mir aus(klappt noch immer nicht, muss action, geändert werden, wie...)
ScriptAlias /php4/ "i:/php/"
Action application/x-httpd-php4"/php4/php.exe"
#AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .php .php3

das steht weiter oben standardmässig im code:

AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

danke nochmal

 
dakilla
29-01-2002, 12:18 
 
Ich hatte auch das Problem habe mir dann einfach phpmyadmin für php und nicht für php3 runtergeladen, dann ging es.

- -

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