php-install Digest 19 Dec 2002 06:21:52 -0000 Issue 1167 Topics (messages 9418 through 9422):
Re: Problem with MySQL-4.0.5-0 & PHP. 9418 by: Adam Voigt 9420 by: Lic. Rodolfo Gonzalez Gonzalez Re: Problem with lex? 9419 by: Jim Thome [solved] Problem with MySQL-4.0.5-0 & PHP. 9421 by: Lic. Rodolfo Gonzalez Gonzalez upgrading mandrake 8, php 4.0.6 to newest php version 9422 by: Dave Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message --- Hmm, if your mysql part looks like: --with-mysql
Try changing it to the full path like: --with-mysql=/usr/local/mysql
(OR whatever the path is)
If it already has the path trying dropping it off and seeing if the default
connection library works.
On Wed, 2002-12-18 at 12:23, Lic. Rodolfo Gonzalez Gonzalez wrote:Hi,
I've just upgraded to MySQL-4.0.5-0 in a RH6.2 (ancient) system, and now I
have this problem with PHP: it compiles --with-mysql but when Apache tries
to start it drops this message:
Starting httpd: Syntax error on line 250 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: mkstemp64
If I compile without MySQL, everything works fine. Anyone with the same
problem?.
Thanks in advance.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message ---On Wed, 18 Dec 2002, Adam Voigt wrote: > Hmm, if your mysql part looks like: --with-mysql > Try changing it to the full path like: --with-mysql=/usr/local/mysql > (OR whatever the path is) It has the path /usr which has worked before (forgot to post it :). Now I think the problem are the RPM's from mysql.com, specially the MySQL-shared and the MySQL-Max RPM's, they look for glibc 2.2, and crash... then mayne the MySQL-devel has broken dependencies too. Now I'm recompiling MySQL from source... let's see... Thanks.--- End Message ---
--- Begin Message ---Install bison, flex, and binutils, and try again. >>> "Interware (Roboz)" <[EMAIL PROTECTED]> 12/17/02 09:43PM >>> Hi All, Please help me. I can't install the PHP. Thanks: Béci ------------------------------------------------------------ nagygep:~/install/php/php-4.1.2 # ./configure --with-mysql --with-apxs=/apacs/bin loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up --------------------------------------------------------------- End Message ---
--- Begin Message ---Ok, the problem was MySQL's RPM's. So, here is the solution: if you upgrade a system with glibc < 2.2 using the RPM's downloaded from MySQL.com, you may run into problems with PHP, *even* if the RPM's didn't complain about broken dependencies when they were rpm -F'ed and *even* if you compiled PHP without errors. The solution is to download the source RPM and rebuild the binaries, the upgrade MySQL from your built binaries and then recompile PHP, and you should be done. Hope this helps someone else.--- End Message ---
--- Begin Message ---hello all, I am by no means a linux guru, so I thought I would ask here for help on upgrading my mandrake linux 8.0, php version 4.0.6 to the latest version. The box is a production box running several sites. If anyone has done this before and can offer solid advice it would be appreciated. thanks. Dave--- End Message ---