[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Problem with PHP4 mysql support



At 05:48 PM 8/20/00 +0200, you wrote:
Hi there,

I have installed php4 from the sources, but now I am
running into a problem with the mysql support. Currently
I am using the built in mysql support PHP4 has. But
obviously that doesn't work since I am also using
mod_perl. Trying to configure PHP4 --with-mysql=/usr/share/mysql
or --with-mysql=/usr/lib/mysql or --with-mysql=/usr/include/mysql
doesn't work. All I am getting is an error message saying
"configure: error: Cannot find header files under ..."

If you extract the mysql source version you are using currently you can set it to something like --with-mysql=../mysql-3.22.32 (I have a src dir where all source resides.
Thus making this easier to cope with.
And it should find the headers without any problems :-)

It is important that the headers for mod_perl and php4 are the same.
If you configured php4.01pl2 you should have seen the neon sign ;-)

If anybody has any idea how to solve this, I'd really
appreciate to hear from you.

But I don't really need mod_perl. And all still works. I can live without fast cgi's

Bye
--
Seth
"Have you gone mad?"
"Well, yes, but that's beyond the scope of this email."