How to compile PHP modules

From: Date: Mon, 17 Sep 2001 09:09:23 +0000
Subject: How to compile PHP modules
Groups: php.install 
Request: Send a blank email to php-install+get-4319@lists.php.net to get a copy of this message
Hi, I'm using PHP as .so module (libphp4.so) on apache 1.3.14 on Linux. If I use any external library (extension) for PHP (like MySQL, IMAP, GD, etc.), all these libraries are compiled into this .so file. I'm using this configure file: "./configure" \ "--with-apxs=/usr/local/apache/bin/apxs" \ "--with-curl" \ "--with-imap=/usr/local/lib" \ "--with-mcrypt" \ "--with-mysql=/usr/local" \ "--enable-trans-sid" \ "$@" How can I create these extensions to compile as .so modules as well and load them in php.ini with extension=xxx.so? It's pain to recompile the whole PHP when I need to upgrade only one extension. It seems like --enable-shared is not doing what I want? Or I'm wrong? BTW: what is --enable-sysvsem --enable-sysvshm doing? Shall I use it on Linux (Intel Pentium II)? Thanks a lot. Martin -- Martin Pavlas ParsCom IS s.r.o. http://www.parscom.cz

« previous php.install (#4319) next »