Hi, I am trying to install php5 on my Fedora system.
I have install Apache 2 successfully. And I can see the success page through http://localhost.
I downloaded the source code for php5. But, when I do the configuration task:
./configure --prefix=/opt/php5 --with-apxs2=/opt/Apache2/bin/apxs --with-mysql=/opt/mysql-5.0
I encountered such message:
checking for flex... lex
checking for yywrap in -11... no
checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex: giving up
what's wrong with? How can I solve it? Please help me. Thank you!