LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-29-2002, 02:21 PM   #1
PatC
LQ Newbie
 
Registered: Jun 2002
Location: Washington state
Distribution: Debian and RedHat so far
Posts: 18

Rep: Reputation: 0
MySql-Php install


Working as an intern for a DSHS office. I was installing MySql, only got to the ./configure stage, it stopped at a line which looks like it states the date-time and mysqld ended. This was very shortly after conf started, looks like just after a test of the daemon. It stopped at a blank prompt and just hung until I hit enter and then returned to the root prompt. Definitely no makefile made. I'm new to linux, installed Debian in class, along with MySql and Php. Using RH 6 now because of a Token Ring nic and no other available(funds). Php installed fine, however when I did the configuring on php.ini I could not find the DirectoryIndex line mentioned on the instruction page(SitePoint's).
I'm installing MySql 3.23.51 and Php 4.2.1.
I'm wondering if the older RedHat could be causing some problems. Apache came from the old disc set, rpm.
Any and all help is appreciated greatly.
Thanks Pat
 
Old 06-30-2002, 08:15 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Try running ./configure in debug mode so you can see the test that fails. 'sh -x ./configure'. This will be very verbose any you will need some scripting knowedge to understand the output.
I remember I had a similar problem when I built it as well. I think one file had a newer date than another that it didn't expect. I don't remember the specifics, but if you can debug the script you figure the problem out.
 
Old 06-30-2002, 11:09 PM   #3
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
http://www.rocketry.org/~tim/geek_stuff/mysql.php

not sure if this will help at all but its still a great tutorial
 
Old 07-02-2002, 11:29 AM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
mysqld is the deamon to startd Mysql?
Please post the actuall errror messages.

Your can also use ./configure |tee config.log
and
make |tee make.log

to log the output

or ./configure 2> config.errors

to only log errors.

Also post messages re: mysql to mysql mailing list.
http://www.mysql.com
 
Old 07-02-2002, 11:36 AM   #5
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Directory Index is located in httpd.conf RH installs
it under /etc/httpd/conf.

It should read sonething like this:

index.html index.php

There should also be a AddType line
for php stuff
 
  


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
What to type in apt-get install to install mysql PHP libraries sarajevo Debian 1 09-29-2005 05:40 AM
confused on php and Mysql install spedsta Linux - Software 3 11-05-2004 01:36 PM
MySQL 4 on Fedora can't install php-mysql kennyg Linux - Software 8 09-21-2004 06:54 PM
PHP install --with-mysql zaichik Linux - Newbie 18 05-26-2004 04:53 PM
How to install php and mysql supersunny Linux - Software 1 09-04-2001 10:28 AM


All times are GMT -5. The time now is 03:19 PM.

Main Menu
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