PHP 5.2.4/5.2.5 on Leopard… (–with-mysql problem)
November 26, 2007 § 5 Comments
is pretty much neutered. It doesn’t have a lot of extensions that I need such as: curl, mysql (this is the big one), pdo, etc, etc…
Update: It seems like I did not went through a clean-wiped-out install when installing Leopard. Many of my old development tool directories stayed the same, but some are different. PHP happens to be one of the few that’s different.
That sucks… O well, all I have to do is rebuild PHP 5.2.4/5.2.5 from source (+ all the extensions that I want) right?
WRONG!!! Big Fat Wrong!
I cannot even do:
After that I got this console message:
configure: error: -–with-mysql=/usr/local/mysql: invalid option; use –help to show usage
Huh? Why? WTF?
There are plenty of people complaining about the exact same problem, but no one seemed to have the answers.
Can anyone help me? Can anyone points me to the working PHP 5.2.4/5.2.5 source?