Looking at the SPEC file for php-3.0.18-1.6.x it suggests that all I need to do to build a mysql PHP module is to change the define at the top. This is not the case as there is other missing information to be able to build the mysql module. Here is the missing info as a patch file: --- php.spec Fri Jan 19 11:01:28 2001 +++ php.spec-rwm Tue Mar 27 22:31:49 2001 @@ -48,6 +48,21 @@ The php-manual package provides comprehensive documentation for the PHP3 HTML-embedded scripting language, in HTML format. +# MySQL module +%if %{mysql} +%package mysql +Obsoletes: mod_php3-mysql +Group: System Environment/Daemons +Summary: A MySQL database module for PHP3 +Prereq: php = %{version} + +%description mysql +The php-mysql package includes a dynamic shared object (DSO) that can +be compiled in to the Apache Web server to add mysql database +support to PHP3. +%endif + + %package pgsql Group: System Environment/Daemons Prereq: php = %{version} @@ -114,6 +129,8 @@ --with-system-regex \ --disable-debug \ --with-zlib \ + --with-dbase \ + --with-filepro \ --with-gdbm \ --with-db2 \ --enable-debugger \ @@ -121,7 +138,6 @@ --enable-track-vars \ --enable-sysvsem \ --enable-sysvshm \ - --enable-track-vars \ --with-xml \ --with-ftp Note: While not a bug, I also note that --enable-track-vars was included twice in the configure line.
This is not something that would be backported to a future 6.x package, most likely.