LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-16-2005, 06:26 PM   #1
Hockeyfan
Member
 
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Rep: Reputation: 30
installation of php 5 problems


I am trying to install php 5 on my system and I am having problems with the ./configure portion of the installation. when I run the configure script as

./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql=/usr/bin/mysql

I get this error:

configure: error: Cannot find MySQL header files under /usr/bin/mysql.
Note that the MySQL client library is not bundled anymore.

Can anyone tell me what's wrong?

By the way I am running suse 9.2 pro. MySQL 4.0.21 and trying to install PHP 5.0.3

Last edited by Hockeyfan; 01-21-2005 at 06:51 PM.
 
Old 01-21-2005, 07:28 PM   #2
Hockeyfan
Member
 
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Original Poster
Rep: Reputation: 30
I compiled the PHP source fine. When I went to install php I get an error that says "apxs:Error: Config file /etc/apache2/httpd2-prefork.conf not found."

This is how I configured my php install

./configure --with-apxs2=/usr/sbin/apxs2 --with-mysql --enable-xml --enable-shared

The last time I installed php5 on fedora I didn't have this problem. Although all I used to configure php was --with-mysql and --with-apxs2

Has anyone else had this problem? If so, how did you fiix the problem? I checked for the httpd2-prefork.conf on my systtem and I don't have that configuration file. I have others, I don't know how to add those in the configuration if they need too be.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I have 2 problems with the instalation wicho_the_one Fedora - Installation 6 01-28-2006 12:45 PM
mozilla instalation problems kostian Debian 3 04-03-2005 06:18 PM
nvidia instalation problems / Sblive driver problems Colonel-1990 Linux - Software 13 02-14-2005 06:48 PM
Newbie Linux/Apache/SSL/MySQL/PHP Instalation Dilema rojow Linux - Software 12 10-24-2003 05:48 AM
RH 7.2 instalation minor problems ... havitush99 Linux - Software 2 02-22-2002 12:34 PM


All times are GMT -5. The time now is 01:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration