cvs commit: ports/www/mod_php3 Makefile ports/www/mod_php3/files patch-functions::mysql.c ports/www/mod_php3/scripts configure.php

Peter Pentchev roam at FreeBSD.org
Thu Jun 3 15:49:13 GMT 2004


roam        2004/06/03 08:49:13 PDT

  FreeBSD ports repository

  Modified files:
    www/mod_php3         Makefile 
    www/mod_php3/scripts configure.php 
  Added files:
    www/mod_php3/files   patch-functions::mysql.c 
  Log:
  Commit something that I've been sitting on for just about months now:
  make the PHP3 ports work with any version of MySQL, not just 3.23.x.
  The main (actually, the only) problem was that MySQL 4.x no longer has
  mysql_drop_db() and mysql_create_db() as separate functions, and just as
  mentioned in the manual, the solution is to use mysql_query() (or
  rather, mysql_real_query()) and emulate them.
  
  Revision  Changes    Path
  1.141     +2 -2      ports/www/mod_php3/Makefile
  1.1       +52 -0     ports/www/mod_php3/files/patch-functions::mysql.c (new)
  1.126     +2 -2      ports/www/mod_php3/scripts/configure.php


More information about the cvs-all mailing list