Compiling a PHP extension

I have two versions of PHP installed on the system, one in `/opt/local` (API=20090626) and another in `/opt/php54` (API=20100525). I'm trying to compile an extension for the `/opt/php54` version, so I run `/opt/php54/bin/phpize` in the extension directory, then `./configure --enable- && make && sudo make install`. The problem though is that the compiled extension is not for API=20100525, but rather for API=20090626 (the one in `/opt/local`). Even when running `make install`, it tries to install it in `/opt/local` instead of `/opt/php54`. What am I doing wrong?

以上就是Compiling a PHP extension的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准