Apache, Lighttpd, nginx, Cherokee
andre丨
Posts: 125 Joined: 2003-09-28 13:34
Contact:
Post
by andre丨 » 2005-09-08 13:04
Hallo,
ich habe php4 als source und php4mysql installiert. In meiner phpinfo datei finde ich dazu folgendes:
Code: Select all
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Wo kann ich die Optionen wie MYSQL_SOCKET und ähnliches konfigurieren ??
Vielen Dank für die Hilfe!
Joe User
Project Manager
Posts: 11191 Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
Post
by Joe User » 2005-09-08 13:10
./configure
php.ini
my.cnf
...
andre丨
Posts: 125 Joined: 2003-09-28 13:34
Contact:
Post
by andre丨 » 2005-09-08 13:36
php.ini dachte ich auch:
Problem:
In meinem Verzeichnis wo die php.ini sein soll befindet sich nichts zu meinem php4. phpinfo sagt dazu:
Code: Select all
Configuration File (php.ini) Path: /home/andre/php4/lib
Dort befindet sich keine php.ini!
Was nun?
my.cnf ist alles i.O.
configure sollte auch i.O. sein:
Code: Select all
Configure Command './configure' '--enable-memory-limit' '--enable-force-cgi-redirect' '--enable-track-vars' '--with-pcre-regex' '--with-mysql' '--without-sqlite' '--without-mm' '--enable-fastcgi' '--with-gd' '--with-jpeg-dir=shared' '--prefix=/home/andre/php4' '--with-zlib'
mfg
Andre
st3fan
Posts: 10 Joined: 2005-07-11 10:34
Post
by st3fan » 2005-09-08 13:52
hast du nach der php.ini schon mal gesucht? vielleicht liegt sie ja wo anders!
andre丨
Posts: 125 Joined: 2003-09-28 13:34
Contact:
Post
by andre丨 » 2005-09-08 14:17
ne, keine da..
aber selbst wenn - kann ich dort den MYSQL-SOCKET ändern?
Ich glaube nicht!!
Wie ändere ich diesen Eintrag?
Danke!
st3fan
Posts: 10 Joined: 2005-07-11 10:34
Post
by st3fan » 2005-09-08 14:35
in der my.cnf!
Code: Select all
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
andre丨
Posts: 125 Joined: 2003-09-28 13:34
Contact:
Post
by andre丨 » 2005-09-08 14:45
das stimmt alles.
Habe das Problem gelöst, indem ich eine andere PHP Version genommen habe!
mfg
Andre