php.de

Zurück   php.de > Webentwicklung > Server, Hosting und Workstations

Server, Hosting und Workstations Server-Konfigurationsdateien (.htaccess/httpd.conf) und Arbeiten auf Serverebene

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 15.08.2007, 10:58  
Neuer Benutzer
 
Registriert seit: 15.08.2007
Beiträge: 4
Chmeee
Standard PHP5 kompillieren mit mysql-Unterstüzung ohne lokale Install

Hallo,

ich habe folgendes Problem.
Ich muss php5 kompillieren mit mysql Unterstützung, aber es ist kein mysql auf dem Server installiert.

Hier ein paar Daten:

uname -a
Linux host1 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

./configure --prefix=/opt/apache/php-5.1.6 \
--with-config-file-path=/opt/apache/php-5.1.6 \
--with-apxs2=/opt/apache/apache/bin/apxs \
--with-exec-dir=/opt/apache/php-5.1.6/bin \
--with-regex=php \
--with-xml \
--with-mysql=/usr/ \
--enable-memory-limit \
--enable-calendar \
--enable-sysvshm \
--enable-sysvsem \
--enable-gd-native-ttf \
--enable-shmop \
--enable-shared=yes \

Ich habe von einem Parallelsystem folgende Dateien rüberkopieren lassen nach /usr/lib64/mysql:
libmysqlclient_r.so.14.0.0
libmysqlclient.so.14.0.0

Trotzdem bekomme ich folgende Fehlermeldung:
configure: error: Cannot find MySQL header files under /usr/.
Note that the MySQL client library is not bundled anymore!

Welches Paket(e) muss ich installieren, dass wenn ich PHP übersetze er die Header- und Lib-Dateien von mysql findet, ohne dass ich komplett mysql auf dem Server installieren muss.

Gruß Chmeee
Chmeee ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 15.08.2007, 11:33  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 9.937
Zergling-new wird schon bald berühmt werden
Standard

Ich hab keine Ahnung von so Linux Zeug, aber setz den Pfad für die Extensions doch statt auf /usr/ auf eben /usr/lib64/mysql/
Zergling-new ist offline   Mit Zitat antworten
Alt 15.08.2007, 12:05  
Neuer Benutzer
 
Registriert seit: 15.08.2007
Beiträge: 4
Chmeee
Standard

Hallo Zergling,

das habe ich auch schon probiert. Geht nicht. Selbe Fehlermeldung
Chmeee ist offline   Mit Zitat antworten
Alt 15.08.2007, 12:16  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 9.937
Zergling-new wird schon bald berühmt werden
Standard

http://www.tutorials.de/forum/linux-...stalliert.html
Zergling-new ist offline   Mit Zitat antworten
Alt 15.08.2007, 14:07  
Neuer Benutzer
 
Registriert seit: 15.08.2007
Beiträge: 4
Chmeee
Standard

Danke für den Link.
Den Link hatte ich auch gefunden und deshalb die beiden Dateien kopiert.
Hat aber bei mir nicht funktioniert.
Chmeee ist offline   Mit Zitat antworten
Alt 15.08.2007, 21:56  
Moderator und Wett-König
 
Benutzerbild von dr.e.
 
Registriert seit: 21.05.2008
Beiträge: 3.633
PHP-Kenntnisse:
Fortgeschritten
dr.e. ist ein Lichtblickdr.e. ist ein Lichtblickdr.e. ist ein Lichtblickdr.e. ist ein Lichtblickdr.e. ist ein Lichtblickdr.e. ist ein Lichtblick
dr.e. eine Nachricht über Skype™ schicken
Standard

Du musst die MySQL-devel-Pakete installieren, dort sind die Header-Files drin. Mit yum kannst du ganz einfach danach suchen.
__________________
Viele Grüße,
Dr.E.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Think about software design before you start to write code!
2. Discuss and review it together with experts!
3. Choose good tools (-> Adventure PHP Framework (APF))!
4. Write clean and reusable software only!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dr.e. ist offline   Mit Zitat antworten
Alt 17.08.2007, 10:27  
Neuer Benutzer
 
Registriert seit: 15.08.2007
Beiträge: 4
Chmeee
Standard

Danke für die Hilfe.
Gruß Chmeee
Chmeee ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
PHP5 und MySQL installiert - Doch php kennt keine mysql Fkts Monty77 Server, Hosting und Workstations 3 22.06.2006 12:54
Update auf php5 -->Problem mit mysql PHP Tipps 2006 6 15.03.2006 12:43
[Erledigt] MySQL Server startet nicht mehr richtig... Datenbanken 16 03.03.2006 19:40
Minimales Paket aus Apache, PHP(5), MySQL Schaelle Server, Hosting und Workstations 9 01.11.2005 16:07
Frage bzgl. Apache2 mit PHP5 und MySQL?!? PHP Tipps 2005-2 3 07.10.2005 08:39
Suche Tipps für Persormance-Steigerung (Geld für Nützliches) Beitragsarchiv 18 16.08.2005 10:57
[Erledigt] mysql und PHP5 Datenbanken 9 17.07.2005 19:20
Problem beim Einbinden von MySql in PHP5 PHP Tipps 2005-2 3 08.06.2005 10:37
mysql probleme nach update auf php5 PHP-Fortgeschrittene 2 20.02.2005 17:09
Probleme mit mysql nach Update auf PHP5 PHP Tipps 2005 2 09.02.2005 11:53
[Erledigt] MySQL Performance mit PHP5 miserabel Datenbanken 17 10.01.2005 17:24
PHP5 & MySQL Datenbanken 5 01.08.2004 05:47

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
configure: error: cannot find mysql header files under yes.note that the mysql client library is not bundled anymore!, mysql client library redhat php configure, \configure: error: cannot find mysql header files under /usr/lib64/mysql\, php5 mysql installieren, imagemagick make[1]: *** [magick/libmagickcore.la] error 1, php redhat mysqlclient, php ohne lokalen server, linux php5 cannot find libmysqlclient, configure: error: cannot find mysql header files under yes, php5 lltdl, php5 mysql linux lib, mysql ohne setup installieren, php kompillieren mysql, mysql client library php \5.1.\, php5 mysql install, configure: error: cannot find mysql header files under, php5 local installation, mysql library redhat paket, php5 install cannot find -lltdl, #1 smp wed jul 12 23:32:02 edt 2006

Alle Zeitangaben in WEZ +1. Es ist jetzt 23:08 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.