You are not logged in.

#1 2005-10-03 12:01:52

cmp
Member
Registered: 2005-01-03
Posts: 350

mysql problem with php

Hi, everybody I followed the lamp wiki, but for some reason I can't get mysql working with php.
Before the maior-update everything worked fine, but now I get from all my scripts a could not connect to mysql warning.
The mysql server is running and even an external mysql server could not be reached from my scripts.
In my php.ini the line extension=mysql.so is uncommented.
I hope, that you may have an idea what's wrong with my setup.

Offline

#2 2005-10-03 14:44:23

topito
Member
From: Catalonia
Registered: 2004-03-25
Posts: 118
Website

Re: mysql problem with php

Same here :cry:

Offline

#3 2005-10-03 15:20:37

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: mysql problem with php

Check your httpd error logs. See if anything shows up there.

My guess is that it might be due to the change in php module directory.

Check and see what your extension_dir is set to in your php.ini file, and then check to see where your php modules are actually located.

ie. are they at /usr/lib/php/ or /usr/lib/php/extensions/blah-blah-blah


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB