Re: PHP causes Apache segmentation fault?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux