Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MySQL und PHP

Empfohlene Antworten

Veröffentlicht

Hi,

na, eigentlich sollte das kein Thema sein, aber ich bekomms einfach nicht hin...

Ich habe:

Apache 2.0.58

PHP 5.1.4

MySQL 5.0 Community Edition

So,PHP ist im Apache als Modul eingebunden und funktioniert auch Problemlos.

Aber MySQL will einfach nicht. Ich hab die php.ini schon ein paar mal durchgeforstet, sowohl mysql als auch mysqli will nicht funktionieren.

Ich teste das mit:

<?php
$i = mysql_connect('localhost','user','pw');
//bzw.
$i = mysqli_connect('localhost','user','pw');
echo $i;
?>[/php]

Ich bekomm damit die Meldung, das die Funktion nicht gefunden wurde.

Also diese "Function not found" Meldung.

Ich hab in google schon gesucht, natürlich die mysql referenc und auch das php manual, hilft aber alles nicht wirklich weiter...

Die Datenbank läuft, mit dem MySQL Administrator komm ich ohne Probleme drauf und kann mit Arbeiten.

Ich versteh nicht wieso es nicht funktioniert, was mach ich falsch?

danke, aber die mysql erweiterung hab ich bereits aktiviert (auch die mysqli), trozdem kommt die Fehlermeldung...

Beide Bibliotheken sind auch im ext-Ordner von PHP vorhanden.

hast du auch phpinfo() mal durchgeschaut ? hast du das ganze xampp paket installiert oder alles einzeln ?

mysql.allow_persistent "On" PHP_INI_SYSTEM

mysql.max_persistent "-1" PHP_INI_SYSTEM

mysql.max_links "-1" PHP_INI_SYSTEM

mysql.trace_mode "Off" PHP_INI_ALL

mysql.default_port NULL PHP_INI_ALL

mysql.default_socket NULL PHP_INI_ALL

mysql.default_host NULL PHP_INI_ALL

mysql.default_user NULL PHP_INI_ALL

mysql.default_password NULL PHP_INI_ALL

mysql.connect_timeout "0" PHP_INI_SYSTEM

?

Habs einzeln installiert, beim XAMPP ist mir zuviel Zeug das ich nicht brauche...

Also die Konfigurationseinstellungen hab ich so wie sie da stehen, bis auf den Timeout, der is auf 60, denn 0 wäre doch etwas sehr kurz ;)

phpinfo() sagt mir nix von MySQL, das einzigste "sql" was da angezeigt wird ist in "sql.safe_mode"

Wie ist das nun eigentlich mit den / und \

in der install.txt steht das bei windows alle \ durch / zu ersetzen sind

in der php.ini steht aber, das bei windows Pfadangaben doch mit \ sind

Was denn nun eigentlich? *confused*

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.