MySQL, PHP, Apache On FC5
Tue, 2006-04-04 23:44
Hey all, Its me again.
I am not very goot at sql or php just yet, and i have gained an error from it.
I hope somebody can help
Basically I have narrowed it down to php can not connect to mysql as it is configured with the flag --without mysql
as seen on this php info file
I have tryed to remove sql php and httpd, with yum and install them but nothing changes...
Any help?










I'm definitely not a pro with this stuff, but one thing seems obvious to me. If php was compiled without mysql support which the "--without mysql" implies then you just can't use php with mysql. You have to recompile or install a precompiled binary that has this option enabled. If such binary is not in default FC repos a RPM or alternate repo might be available elsewhere.. I'm not sure. I never used Fedora.
It is rather strange to have php compiled without mysql support considering how common it is to use it with mysql..
I have just got it working, I remembered back.
You need to
yum install php-mysqlItts stupid and should come with either as a dep but hey, least it works now!
Thanks Libervisco for the help!
Itts stupid and should come with either as a dep but hey, least it works now!
Indeed. I don't see a reason why there must be an sql disabled version of php package. Maybe someone can enlighten me on that.
Thanks Libervisco for the help!
Seems like you helped yourself so..