hi,
I am trying to install PHP and Apache2, however when i execute make install
for php, the required libphp.so file does not appear to be compiled/created.
After extracting the PHP 5.3.8 (tar.gz)
# export CFLAGS=-O2
# ./configure --prefix /usr/local/php --with-my-sql -
-with-apxs2=/usr/local/ap
在 2011-09-14三的 19:27 +0100,Smith, Mitchell写道:
> hi,
>
>
> I am trying to install PHP and Apache2, however when i execute make
> install for php, the required libphp.so file does not appear to be
> compiled/created.
>
>
> After extracting the PHP 5.3.8 (tar.gz)
>
>
> # export CFLAGS=-O2
> # ./
Hi,
that returns no files, i have tried in the src folder, the installed dir,
and for the full system directory structure.
[root@CWICISRH014 php]# find . -name "libphp*.so"
[root@CWICISRH014 php]# cd /usr/local/src/php-5.3.8/
[root@CWICISRH014 php-5.3.8]# find . -name "libphp*.so"
[root@CWICISRH01
在 2011-09-15四的 10:23 +0100,Smith, Mitchell写道:
> Hi,
>
>
> that returns no files, i have tried in the src folder, the installed
> dir, and for the full system directory structure.
> [root@CWICISRH014 php]# find . -name "libphp*.so"
> [root@CWICISRH014 php]# cd /usr/local/src/php-5.3.8/
> [root@CWI
在 2011-09-15四的 11:53 +0100,Smith, Mitchell写道:
> H,
>
>
> yes, apxs does exist in this location.
>
>
> below is the output of ./configure --prefix /usr/local/php
> --with-my-sql --with-apxs2=/usr/local/apache2/bin/apxs
>
>
>
>
> loading cache ./config.cache
>
>>>configure: error: Cannot find MySQL header files under yes.
>>>Note that the MySQL client library is not bundled anymore!
>
> you should fix it at first,and then compile it right.
I'm surprised that it even tries to build mysql when --with-my-sql is
passed to configure instead of --with-mysql
hi,
the with-my-sql was a typo in the email.
I have corrected the path to mysql then saw an error relating to mysql
needing the zlib library so my ./configure now is:
./configure --with-mysql=/usr/bin/mysql
> --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/php
> --with-zlib-
the relevant part is: /usr/bin/ld: cannot find -lmysqlclient_r
you could try with --with-mysql=mysqlnd
or install the libmysql development files from your distributor
(libmysqlclient-dev package on debian/ubuntu)
On Thu, Sep 15, 2011 at 2:53 PM, Smith, Mitchell wrote:
> hi,
> the with-my-sql wa
CCing the list
-- Forwarded message --
From: Ferenc Kovacs
Date: Thu, Sep 15, 2011 at 3:56 PM
Subject: Re: [PHP-INSTALL] libphp5.so missing after compile php5.3.8
To: "Smith, Mitchell"
http://www.php.net/manual/en/mysqlnd.overview.php
mysqlnd is a replacement for libmysql.
for
On 09/15/2011 05:53 AM, Smith, Mitchell wrote:
> hi,
>
> the with-my-sql was a typo in the email.
>
> I have corrected the path to mysql then saw an error relating to
> mysql needing the zlib library so my ./configure now is:
>
> ./configure --with-mysql=/usr/bin/mysql
> --with-a
10 matches
Mail list logo