在安装php的时候,出现如下错误:
Sorry, I cannot run apxs.  Possible reasons follow:1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)The output of /path/to/apxs follows:
./configure: line 6731: /path/to/apxs: No such file or directory
configure: error: Aborting怎么办阿?google了还是没办法!还想问下,linux查看安装文件的安装目录是什么命令????谢谢大家!!

解决方案 »

  1.   

    这个目录一般是apache的bin,看你apache装哪的
    locate httpd
    你要是不要带apache模块编译就没这个了
      

  2.   

    谢谢!我已经解决了!现在mysql头文件的安装目录找不到!咋看了???
      

  3.   

    locate mysql
    如果没有
    印象中也可以用yum install libmysqlclient-devel(具体名字不确定,可以搜索一下)