ID:276755
 
Im trying to install php and heres what i get

admin@Server:/usr/local/src/webserver$ ./php_install
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... re2c
checking for re2c version... 0.9.11 (ok)
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 1.75 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex; giving up
admin@Server:/usr/local/src/webserver$

i downloaded flex and bison i look around for mingw and couldn't find it google isn't my friend

im following the tutorial from apache freaks

php_install file contains

cd php
./configure \
--with-apache=/usr/local/src/webserver/apache \
--with-openssl-dir=/usr/local/src/webserver/openssl \
--enable-trans-sid
if you just want to beep around and test php scripts (and maybe a sql database) then try easyphp
http://www.easyphp.org/

it acts (and is) an apache webserver that can be setup in about 30 secs.
In response to Zmadpeter
Ive sloved my installation by getting xampp comes with php -acpahce-mysql-phpmyadmin-phpsqlbackup etc etc all installed once you un tar
In response to Zmadpeter
He is running linux there bub.