|
Posted by Mateusz Markowski on 10/23/06 15:55
Eric West napisal(a):
> First, thanks for taking the time to read this message.
>
> I am trying to build a LAMP stack for the first time, and have
> encountered the following problem:
>
> CentOS 4.3
> mysql 4.1.20
> apache 2.2.3
> php 5.1.6
>
> I've compiled and installed apache as follows:
>
> ==apache===
>
> ./configure --prefix=/usr/local/apache2 --enable-module=so
>
> make
>
> make install
>
> =====
>
> That appears to work perfectly. The problem comes when I try and
> compile and install PHP.
>
> ==php==
>
> ./configure --prefix=/usr/local/php
> --with-mysqli=/usr/bin/mysql_config
> --with-apx2=/usr/local/apache2/bin/apxs
>
I think you've misspelled this line. It should be:
--with-apxs2=/usr/local/apache2/bin/apxs
(you have apx2 there should be apxs2)
> make
>
> make install
>
> ====
>
> According to my reading, a "libphp5.so" is supposed to be generated
> during this process, but there is no such file on the system after the
> fact, which is certainly a problem.
>
> Can anybody perhaps provide guidance as to why this file would NOT be
> generated?
>
> Please let me know if I can provide further details to help track down
> the problem.
>
Navigation:
[Reply to this message]
|