建议你到网上有关PHP的站点看看,一般有安装说明!
比如:
http://www.phpx.com等

解决方案 »

  1.   

    lex=Lexical Analyzar,是一种生成扫描器的工具,扫描器是一种识别文本中的词汇模式的程序。
    yacc=Yet Another Compiler Compiler,将任何一种编程语言的所有语法翻译成针对此种语言的 yacc 语法解析器。 yacc 的BSD版本叫berkeley yacc(byacc)。 yacc 的 GNU 版叫做 bison。
    问题的解决方法,需要安装lex和bison.
    lex: http://beijing.linux.tucows.com/files/console/dev/flex-2.5.4a.tar.gz
    bision: http://beijing.linux.tucows.com/files/bison-1.28.tar.gz
      

  2.   

    checking lex output file root... ./configure: lex: command not found !!!
    注意了,
    所以嘛,
    man lex 很快就会解决了