LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2005, 03:33 PM   #1
q.sa
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Rep: Reputation: 0
Installing PHP 5 on Apache_v2 MySQL


Hi,
I´m running FC3 with Apache2 web server and Mysql database. While trying to install PHP v5 with:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql

configures without problem however when trying to run ¨make¨ getting:

bison -y /php-5.0.4/ext/sqlite/libsqlite/src/parse.y
/php-5.0.4/ext/sqlite/libsqlite/src/parse.y:19.1-13: invalid directive: `%token_prefix'
/php-5.0.4/ext/sqlite/libsqlite/src/parse.y:19.15-17: syntax error, unexpected "identifier"
make: *** [/php-5.0.4/ext/sqlite/libsqlite/src/parse.c] Error 1


anyideas where am i wrong?
 
Old 06-20-2005, 01:14 AM   #2
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
If you don't need sqlite support (which if you are using MySQL, you probably don't) you can disable it and possibly avoid that error. See configure --help from the php 5 source, for exactly how to disable it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems in installing php with mysql krunal Linux - Newbie 3 08-18-2005 08:38 AM
Installing php with mysql support Elguapo Linux - Software 3 07-21-2005 09:58 PM
Installing Apache, MySQL and PHP foo_mulan Linux - Newbie 1 07-16-2004 06:28 AM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM
Installing Apache/MySQL/PHP triki Linux - Software 3 09-24-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration