Click to See Complete Forum and Search --> : General Help needed. Thanks!


Anon
05-17-2002, 03:29 PM
Ok I untared PHP then did ./configure and I get:

configure: warning: You will need bison if you want to regenerate the PHP parse.
checking for flex... lex
checking for yywrap in -ll... yes
checking lex output file root... ./configure: lex: execute permission denied
configure: error: cannot find output from lex; giving up

Any ideas?

Also do you need MySQL installed before installing PHP. When you compile PHP into Unix it has nothing to do with Apache right? It simply compiles then if you select Apache can use it but it has nothing to do with it until you configure Apache to work with it.

Anon
05-17-2002, 08:32 PM
seems like permissions problems you have to be "root" to compile and build stuff under linux (any distribution) just type
whoami [enter]
the shell tells you wo you are now if necessary switch to root by typing

su
[root password] [enter]

whoami [enter]

root


voila permission problems are gone be carefull with "root" ..........

Anon
05-20-2002, 11:40 AM
Is there a way to install PHP without being root? Am I doing something wrong or do I just not have permissions?

Anon
05-20-2002, 12:42 PM
I now get this what does it mean??

./configure: config_vars.mk: cannot create
./configure: config_vars.mk: cannot create
./configure: config_vars.mk: cannot create
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating Zend/Makefile
creating main/build-defs.h
creating pear/scripts/pear
creating pear/scripts/phpize
creating pear/scripts/php-config
creating pear/scripts/pearize
creating pear/scripts/phptar
creating TSRM/Makefile
creating main/php_config.h
./config.status: main/stamp-h1: cannot create