Reply to Compiling PHP with external mySQL libraries

Your name:

Reply:


Posted by DAvid on 01/06/05 19:53

1) Does adding 'shared,' as a ./configure option mean the module is compiled
as an external, dynamically loaded module as compared to the module being
statically linked into the 'exe' file? So that adding 'shared,' means I must
add a line in the PHP ini file to load the extension (or load with a funcion
call).

2) When configuring PHP with mysql support by something like
'--with-mysql=/usr' does it automatically create a shared module? i.e do
both these following configs produce the same result '--with-mysql=/usr' and
'--with-mysql=shared,/usr'?

The reason I ask, is I see many PHP info pages that specify
'--with-mysql=[DIR]' without the 'shared,' bit, and they do specify an
external library with the [DIR] part, but in the mysql info section
'MYSQL_MODULE_TYPE' shows as 'external'. I thought 'shared,' would have to
be added to create an external dynamic loaded module?

Thanks for the help!

If I posted this in the wrong group, please excuse me.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация