【资料图】
今天小红来为大家带来的是php环境下载,php环境一键安装包,让我们一起往下看看吧!
1、进入php源程序目录中的ext目录中,这里存放着各个扩展模块的源代码,选择你需要的模块。
2、比如curl模块:cd curl 执行phpize生成编译文件,phpize在PHP安装目录的bin目录下 /usr/local/php5/bin/phpize 运行时,可能会报错:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.。
3、需要安装autoconf: yum install autoconf(RedHat或者CentOS)、apt-get install autoconf(Ubuntu Linux) /usr/local/php5/bin/php -v 执行这个命令时,php会去检查配置文件是否正确,如果有配置错误。
4、这里会报错,可以根据错误信息去排查!。
本文到此分享完毕,希望对大家有所帮助。
标签:
2022-08-08 11:04:18
2022-03-18 15:03:32
2022-03-18 15:01:59
2022-03-18 15:00:36
2022-02-07 16:16:27
2022-02-07 16:16:27
2022-02-07 16:16:27
2022-02-07 16:16:27
2022-02-07 16:16:25