Linux下安装Apache和PHP
1.首先,在cygwin下安装了好几天也没有把php安装上,总是出现如下错误:
错误信息:
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache/libexec/libphp5.so
cp: cannot stat `libs/libphp5.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
安装cygwin的时候需要选择如下软件包:
安装软件包如下:
autoconf
automake
cygrunsrv
gcc-core
gcc-g++
make
perl
python
vim
libxml2
libxml2-devel
flex
libtool
gdbm
libgdbm
libgdbm-dev
bison
flex
2.后来只有采用linux虚拟机上安装了。
错误信息:
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache/libexec/libphp5.so
cp: cannot stat `libs/libphp5.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1
安装cygwin的时候需要选择如下软件包:
安装软件包如下:
autoconf
automake
cygrunsrv
gcc-core
gcc-g++
make
perl
python
vim
libxml2
libxml2-devel
flex
libtool
gdbm
libgdbm
libgdbm-dev
bison
flex
2.后来只有采用linux虚拟机上安装了。
相关推荐
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
Noneyes 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23