Re: Do i have to recompile php?

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

 



* Newbin Shang <wbshang@xxxxxxxxx>:
> I am now using mysql-5.0.0-alpha, recently I have encountered some
> error when I create tables, so I want to degrade to the latest stable
> version of mysql(say 4.1.7)
> I want to know that once I have recompiled mysql, do I have to
> recompile php too(php is compiled as a module of apache)?

Typically, the answer is yes -- you have to compile PHP with the version
of mysql you are using.  (When I say version of mysql, I mean 3.x,
4.0.x, 4.1.x, 5.0.x). In rare cases where the client API did not change,
you can get away without recompiling.

Since you're downgrading from mysql 5.0 to 4.1, however, you may be
okay. My understanding is that 5.0 is a superset of 4.1 when it comes to
the API; as long as you don't try to use mysql 5.0 features, it may
work.

Best way to know is probably to try it out. Are you having issues? If
not, don't recompile. However, if you start having issues at all with
mysql from PHP, recompile.

-- 
Matthew Weier O'Phinney           | mailto:matthew@xxxxxxxxxx
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux