[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: [Debian]: Probleme mit Apache/Mysql/PHP3]



Moins,

Martin Samesch schrieb am 07. September 1998:

> http://wwwcip.rus.uni-stuttgart.de/~mas13159/mysqlphp.htm
> bekomme ich kein PopUp-Fenster, das nach Username und Passwort fragt.
> Ein anderes Skript von PX (von Jeff Buck) bringt die Meldung 
> 
> "Fatal error: Call to unsupported or undefined function mysql_connect()
> in /var/www/phpadmin.phtml on line 435"

Der gleiche Fehler, den ich machte. In der Doku steht aber:

----
Take a look at the additional php3 modules available as debian packages
(e.g. postgresql, mysql, msql and gd, some of them in non-free or
contrib). You can use them in your scripts after a dl() command, like
dl("/usr/lib/php3/<version>/module.so") where <version> is either cgi or
apache depending on which version of php you use (the modules are
unfortunatelly not compatible) for them. 

If you set your extension_dir in /etc/php.ini to /usr/lib/php3/apache or
/usr/lib/php3/cgi (depending on which version of php3 you use) then you might 
just use dl("module.so"), or even you might even set up these modules
in the LoadExtensions section of the conffile to be always
loaded.
----

Also installier php3-mysql*deb und schreib an den Anfang
Deiner php3-Schnipsel
dl("mysql.so");

und dann wird auch der mysql-connect klappen :-)

Ciao, Hanno
-- 
|  Hanno Wagner  | Member of the HTML Writers Guild  | Rince@IRC      |
| Eine gewerbliche Nutzung meiner Email-Adressen ist nicht gestattet! |
| 74 a3 53 cc 0b 19 - we did it!          |    Generation @           |
#Treffen sich zwei Planeten, fragt der eine: "Na, wie gehts?"
#Darauf der andere: "Nich so gut, hab' Homo Sapiens"
#	-- Michael Weber <bytewurm@pool.informatik.rwth-aachen.de>
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <your_email_address>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     577


Reply to: