php, MySQL and Debian
Kareem Shehata
kareem-d+8TeBu5bOew5LPnMra/2Q at public.gmane.org
Mon Jul 5 14:29:25 UTC 2004
On Mon, 2004-07-05 at 00:38, William O'Higgins wrote:
> I'm at my wit's end with this problem. What I want, is for php4 and
> MySQL and apache 1.3 to interact. What I've got is this:
>
> Fatal error: Call to undefined function: mysql_connect() in ...
>
> I know that this is probably because php4 was installed before
> php4-mysql, but I can't seem to fix it. If I try to remove php4 and
> php4-mysql and install them in a different order, apt tries to give me
> apache2, which I don't want. There *must* be a way to alter a
> configuration file to get php to acknowledge mysql, but I can't see
> what's missing. php.ini looks completely in order.
>
> Any suggestions?
I remember just doing a number of apt-get's and everything working, and
I think I installed mySQL after PHP too. You could try apt-get install
--reinstall on php4 and/or php4-mysql, though dpkg-reconfigure is
probably a better bet. I'd also check Fraser's suggestion first.
Good luck!
Kareem
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list