Install the flex rpm
./configure --with-mysql=/usr,shared
make
cp modules/mysql.so /your/extension/path
restart Apache

-Rasmus

On Tue, 26 Feb 2002, [iso-8859-1] Brett Cavé wrote:

> Hi
>
> I currently have PHP 4.0.6 installed on Redhat 7.2, which came with the
> installation. The installed version was not compiled with MySQL support,
> which i need.
>
> Is it possible to add MySQL support without recompiling php?
>
>
>
> I have been trying to install the latest version (4.1.1)
>
> When i configure php, i get the following error:
>
>       checking for flex... lex
>       checking for yywrap in -ll... no
>       checking lex output file root... ./configure: lex: command not found
>       configure: error: cannot find output from lex; giving up
>
> What is the problem?
>
> Thanks
> Brett
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to