Compiling php with curl, where is curl installed?

后端 未结 5 1018
忘掉有多难
忘掉有多难 2020-12-24 00:42

I need to specify a directory when compiling php with --with-curl=

The curl binary is located at /usr/bin/curl

curl -V

5条回答
  •  感情败类
    2020-12-24 01:29

    If you're going to compile a 64bit version(x86_64) of php use: /usr/lib64/

    For architectures (i386 ... i686) use /usr/lib/

    I recommend compiling php to the same architecture as apache. As you're using a 64bit linux i asume your apache is also compiled for x86_64.

提交回复
热议问题