mac上的yaf安装了好久安装不上,php7.0.13版本,yaf是3.0.5版本
来源:2-1 准备工作-快速搭建基于Yaf框架的项目环境

小网学习python
2017-10-20
sudo ./configure --with-php-config=/Applications/XAMPP/bin/php-config
到这步时报如下:
checking PHP version... Unknown option: n
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways
-v Show program version
-h Print this message
-x Extra debugging output
然后加上版本号
sudo ./configure --with-php-config=/Applications/XAMPP/bin/php-config -V 7.0.13
又报如下:
configure: WARNING: you should use --build, --host, --target
configure
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
并且没有生成makefile文件,反而生成了
Makefile.fragments
Makefile.global
Makefile.objects
这三个文件。
请问怎么回事??
2回答
-
小乔小乔
2018-04-05
用的mamp 成功安装
10 -
Pangee
2017-10-21
同学,mac是类linux系统。用用docker装个centos吧!
00
相似问题