[PHP-DEV] propper way to build .so module extensions for php4? From: Alex Vorobiev (sasha <email protected>)
Date: 07/20/99

i know that with php3 there was a hack to use extension-specific files
in the functions directory to compile modules.

the following works

gcc -shared -fPIC -DCOMPILE_DL=1 -I. -I/usr/include/apache
-I/usr/include/mysql -o mysql.so ./ext/mysql/mysql.c -lmysqlclient -lc
-L/usr/lib/mysql -Ilibzend

although i haven't tested the compiled mysql.so module yet.

is there a cleaner way to do this? if i missed any pointers in the php4
distribution, please let me know.

--sasha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>