Quote:
Originally Posted by dk_netsvil
I've got a standard FreeBSD 7.0-STABLE installation that I'm going to be setting up to run Apache 2.2.9. I have installed php 5.2.5 from ports, as well as MySQL 5.0, and things are going pretty good until I attempt to compile Apache manually using the --enable-so flag. For some reason this my configure returns "command not found."
|
The problem is that you are trying to combine ports and manually installed apps. Don't do that.
The simple method for getting PHP, MySQL, and Apache installed is to:
edit
/etc/make.conf, by adding:
APACHE_VERSION=22
WITH_MYSQL_VER=50
That will set the dependencies for everything in the ports tree to use Apache 2.2.x and MySQL 5.0.x (the fastest version of MySQL on FreeBSD).
Then, it's a simple matter of:
cd /usr/ports/lang/php5
make install clean (be sure to select Apache module option)
cd /usr/ports/databases/php5-mysql
make install clean
Everything else will be done for you, including pulling in the MySQL server and Apache ports, as dependencies.
Quote:
When I installed php from ports I checked the box to create a module for apache and libphp5.so exists. I've enabled verbose debugging but nothing is showing up in /var/log/messages.
Has anyone run into this and can perhaps offer a solution?
|
Check the output of
pkg_info, then use
pkg_delete -ix <port> to delete everything related to mysql, php, and apache.
After that, try the install using the notes above.