Re: apache2+php4.3.4+mysql4.0.12-3+pg7.3.4
| From: | h4mm3r` | Date: | Tue, 25 Nov 2003 10:35:10 +0000 |
| Subject: | Re: apache2+php4.3.4+mysql4.0.12-3+pg7.3.4 | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12298@lists.php.net to get a copy of this message | ||
Bertrand PERRINE wrote:
pgsql ... do you want to use posgresql and mysql ? Yes, of course ... I solved that problem by modifying mysql.mak in ./ext/mysql changing get_module variable. Now it works great.Thx anyway for having answered me.
hi everyone, I'm trying to install the packages in subject by source on my woody. Everything was installed from source but mysql: dpkg -l | grep mysqlii libdbd-mysql-p 1.2216-2 mySQL database interface for Perl ii libmysqlclient 3.23.49-8.5 mysql database client library ii libmysqlclient 3.23.49-8.5 mysql database development filesii libmysqlclient 4.0.12-3.nobse mysql database client libraryii libpam-mysql 0.4.7-1 PAM module allowing authentication from a Myii mysql-client 4.0.12-3.nobse mysql database client binaries ii mysql-common 4.0.12-3.nobse mysql database common files (e.g. /etc/mysqlii mysql-server 3.23.49-8.5 mysql database server binariesii postfix-mysql 1.1.11.0-3sher MYSQL map support for Postfix ii webmin-mysql 0.94-7woody1 mysql-server control module for webmin Anyway, now i'm trying to configure php to support either mysql or postgresql but it doesn't work. Actually I configure php as follows: ./configure --prefix=/usr --with-apxs2=/usr/sbin/apxs --enable-discard-path --with-config-file-path=/etc/apache2 --enable-safe-mode --enable-roxen-zts --enable-fastcgi --with-openssl --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype --with-imap-ssl --enable-ftp --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-t1lib=/usr --with-gmp=shared --with-pgsql=/usr/local/pgsql --with-mysql --with-xml=/usr --enable-trans-sid --enable-shmop --enable-sockets --with-regexp=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit --with-tsrm-pthreads --enable-shared --disable-debug --with-zlib=/usr --with-pspell=shared,/usr --with-unixODBC=shared,/usr --with-gettext=shared,/usr --enable-inline-optimization --disable-static --with-dom=/usr --with-java=/usr/local/j2sdk1.4.1_02 --with-curl=/usr Configure process is ok, but when i do the command make it gives me this error: ext/pgsql/pgsql.lo: In function `get_module': ext/pgsql/pgsql.lo(.text+0x0): multiple definition of `get_module' ext/mysql/php_mysql.lo(.text+0x0): first defined here collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 I can understand the error, of course, but I don't know how to solve it. Any ideas? best regards, Francesco Biacca aka h4mm3r`