php4 + mysql Einstellungen?

Apache, Lighttpd, nginx, Cherokee
Post Reply
andre丨
Posts: 125
Joined: 2003-09-28 13:34
Contact:
 

php4 + mysql Einstellungen?

Post by andre丨 »

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!
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: php4 + mysql Einstellungen?

Post by Joe User »

./configure
php.ini
my.cnf
...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
andre丨
Posts: 125
Joined: 2003-09-28 13:34
Contact:
 

Re: php4 + mysql Einstellungen?

Post by andre丨 »

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
 

Re: php4 + mysql Einstellungen?

Post by st3fan »

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:
 

Re: php4 + mysql Einstellungen?

Post by andre丨 »

ne, keine da..

aber selbst wenn - kann ich dort den MYSQL-SOCKET ändern?

Ich glaube nicht!!

Wie ändere ich diesen Eintrag?

Code: Select all

MYSQL_SOCKET  /tmp/mysql.sock  
Danke!
st3fan
Posts: 10
Joined: 2005-07-11 10:34
 

Re: php4 + mysql Einstellungen?

Post by st3fan »

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:
 

Re: php4 + mysql Einstellungen?

Post by andre丨 »

das stimmt alles.

Habe das Problem gelöst, indem ich eine andere PHP Version genommen habe!

mfg
Andre
Post Reply