Re: PHP causes Apache segmentation fault?

From: Date: Mon, 14 Mar 2005 18:26:02 +0000
Subject: Re: PHP causes Apache segmentation fault?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-210679@lists.php.net to get a copy of this message
> PHP I'm already building from Source. Uninstalling all of MySQL doesn't > seem to be an option because of that dovecot dependency. > > What I'd really like to know (among so many other things) is how > configure is determining which MySQL it should use. Also knowing the > difference between PHP via a browser (via apache) and PHP on the command > line would give me some clues. I don't understand why the client API > version for mysqli is different according to how PHP is accessed. Suppose, just for the sake of argument, that your Apache had mod_auth_mysql compiled into it. Also suppose, for the sake of argument, that it was on version MySQL 3 when you did that. When you try to compile PHP, it *CANNOT* use MySQL 4 in the PHP Module, or Apache's mod_auth_mysql would get all fargled up. The CLI version, however, does not have that constraint. *MAYBE* configure is smart enough to figure this kind of stuff out, and that's why you got what you got. More likely, you've still got MySQL 3 installed somewhere on your system. If you're not willing to un-install that, and configure isn't finding the version you want to use, then start reading/hacking the Makefiles that configure builds. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#210679) next »