Re: Red Hat 7 and Apache. PHP4 won't work!

From: Date: Fri, 09 Feb 2001 18:12:17 +0000
Subject: Re: Red Hat 7 and Apache. PHP4 won't work!
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-2006@lists.php.net to get a copy of this message
I've appended this here since I'm not the one that had the problem and Scott sent me a response directly. Scott Mebberson wrote: > What is flex. > I believe Flex the GNU version of lex. It is a lexical scanner and some form of one must be installed on your system before you can build PHP. Failing to find Flex the PHP configure will look for the lex command but if you have niether you won't be able to proceed with the build. > When I installed in I untared the stuf in a directory. Cd'd there and type > > # ./configure --with_any_driective_you_want_here > # make > # make install > > And this worked fine.Maybe try that? > If you're configure worked, it means that you have some form of lex (or more likely flex) already installed. The person who had the problem (h3rb) apparently wasn't as fortunate. > Also, the root might be /var/www/html/ - I found this out. It is really > weird. In the httpd.conf the server root is set to /url/local/public_html/ > but when typing http://localhost it actually pulls the pages > from > /var/www/html/ > > "Alex Akilov" wrote in message > news:<3A80889A.69A8494B@us.ibm.com>... > > h3rb wrote: > > > > > At first I tried compiling PHP4 myself. And as it turned out I didn't > have > > > lex. So then I searched for lex and couldn't really find a spot to > download > > > it. > > > > What you needed was actually flex. It's available from GNU. > > > > Alex >

« previous php.install (#2006) next »