Date: Tue, 04 Jan 2005 10:38:58 +0100 From: Olaf Greve <o.greve@axis.nl> To: Toomas Aas <toomas.aas@raad.tartu.ee> Cc: questions@freebsd.org Subject: Properly installing PHP4 extensions under Apache 1.3.x Message-ID: <41DA6432.4050101@axis.nl> In-Reply-To: <41B473B2.4000906@raad.tartu.ee> References: <00f001c4db96$efd138a0$1e01a8c0@sjees> <41B473B2.4000906@raad.tartu.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, A while ago the topic was raised about how to properly install PHP 4.3.8+ versions with their required extensions, under Apache 1.3.x. I'm doing so just now, but I seem to be missing one step, as the extensions do not seem to get picked up. Here's what I did: 1) Update the ports tree using CVSup 2) Build the /usr/ports/lang/php4 port (= 4.3.10 -> make install) 3) Build the /usr/ports/lang/php4-extensions port 4) Build several extensions I need (GD, MySQL, session), again, I did do a make install 5) Restart Apache Double checking the installation shows: pkg_info | grep php php4-4.3.10 PHP Scripting Language (Apache Module and CLI) php4-gd-4.3.10 The gd shared extension for php php4-mysql-4.3.10 The mysql shared extension for php php4-session-4.3.10 The session shared extension for php O.k., so that goes alright. Yet, I do not see any of these extensions getting picked up, and I wonder on the one hand what I am missing exactly, and on the other hand what the easiest (or best) way is to fix this. Can anyone tell me something more about the following: 1) How do I get these extensions to be picked up (using the configure tool in the php4 ports? adding entries to Apache's httpd.conf file? something else?) 2) Is this really the easiest way to go? It seems to be somewhat cumbersome to have to install all extensions this way. When building the php4-extensions port I was prompted for which extensions I wanted to install. I was hoping some form of "master Makefile" would result from that, allowing me to install the previously selected extensions all in one go, rather than having to install each one of them manually. Thanks a lot in advance, and cheers! Olafo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41DA6432.4050101>