04-19-2009, 11:36 PM
|
#9 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by allworknoplay
ohhhh, gotchya.
So that's the same thing with mysql too right?
If you don't compile PHP with mysql, the mysql functions won't work so you have to point it to a mysql directory during compilation right?
--with-mysql=/usr/local/mysql/
Also, I've always wanted to know this, is there any different between these two?
--with-mysql=/usr/local/mysql
and
--with-mysql=/usr/local/mysql/
BTW: check your PM....
|
Yep, you have to configure php with directives thats not enabled by default, for example in PHP4 MySQL was built staticlly by default, meaning that doing a "configure" (or on non-Windows: ./configure) would result in MySQL was enabled and set staticlly by default.
Enabled by default in the php work means, that doing a "configure" will result in it being enabled and compiled when running "make" (or nmake on Windows).
As for the last one, there shouldn't be any difference, since they both point to a directory. but there might be some weird issue since Unix would handle it "poorly". But I can't tell for sure, I only do PHP compilations on Windows ;)
__________________
|
|
|