propper way to build .so module extensions for php4?

From: Date: Tue, 20 Jul 1999 16:32:04 +0000
Subject: propper way to build .so module extensions for php4?
Groups: php.dev 
Request: Send a blank email to php-dev+get-8777@lists.php.net to get a copy of this message
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

« previous php.dev (#8777) next »