LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-16-2003, 09:24 PM   #1
vinicius
LQ Newbie
 
Registered: Sep 2003
Location: Brazil
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
Installing PHP


Hi all.

I'm newbie on linux, php etc. I downloaded some tar.gz files extract the original ones and tried to follow the steps on the INSTALL of PHP. I used the following command syntax: ./configure --with-mysql=/usr/bin/ --with-xml --with-apache/usr/src/apache_1.3.28/ --with-curl=/usr/src/curl-7.10.7/
MySQL was installed by the use of RPM.
After a lot of lines and time the following warning appeared on the screen:
configure: error: There is something wrong. Please check config.log for more information.
I checked out config.log and there was a lot of errors. The line and error are:
configure:1618: checking host system type
configure:1706: checking for gcc
configure:1819: checking whether the C compiler (gcc ) works
configure:1835: gcc -o conftest conftest.c 1>&5
configure:1861: checking whether the C compiler (gcc ) is a cross-compiler
configure:1866: checking whether we are using GNU C
configure:1875: gcc -E conftest.c
configure:1894: checking whether gcc accepts -g
configure:1927: checking whether gcc and cc understand -c and -o together
configure:1942: gcc -c conftest.c -o conftest.o 1>&5
configure:1943: gcc -c conftest.c -o conftest.o 1>&5
configure:1948: cc -c conftest.c 1>&5
configure:1950: cc -c conftest.c -o conftest.o 1>&5
configure:1951: cc -c conftest.c -o conftest.o 1>&5
configure:1978: checking how to run the C preprocessor
configure:1999: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2059: checking for AIX
configure:2086: checking if compiler supports -R
configure:2101: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2094 "configure"
#include "confdefs.h"

int main() {

; return 0; }

Could anyone, please, help me and say what i'm doing wrong?
Thanks.

Vinicius
 
Old 09-17-2003, 03:05 AM   #2
djcomplex
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 9.x
Posts: 18

Rep: Reputation: 0
as a new user i would seriously recommend using rpm's to install applications just until you feel a bit more confident with playing with config installs
 
Old 09-17-2003, 07:19 PM   #3
vinicius
LQ Newbie
 
Registered: Sep 2003
Location: Brazil
Distribution: RedHat
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply and recommendation. I was just trying to follow the steps of a book.
In reality all I need is having apache (http and https), PHP and MySQL working together. What you mean is that installing the packages will make things easier for me?
 
Old 09-18-2003, 09:43 AM   #4
djcomplex
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 9.x
Posts: 18

Rep: Reputation: 0
well the packages will do all the installation and the majority of the standard installation for u all in one go nice and simple!
 
Old 09-18-2003, 12:25 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
installing binaries instead of compliling source code can make things A LOT easier.

you can make your LAMP server (linux, apache, mysql, and php) by simply installing the RPMs... they are on your linux cds or you can get them from a red hat 9.0 mirror.

http://www.linux.org/docs/ldp/howto/RPM-HOWTO/

http://www.redhat.com/docs/books/max-rpm/

here's amirror with the 9.0 rpms:

ftp://mirrors.secsup.org/pub/linux/r...86/RedHat/RPMS

if you want a super-friendly way of administrating the apache and mysql servers i suggest webmin... yes, they have an rpm.

http://webmin.com/

http://prdownloads.sourceforge.net/w...0-1.noarch.rpm
 
Old 09-18-2003, 12:36 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
rpms that aren't on the cds or mirrors can usually be found here:

http://rpmfind.net/
 
  


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
Installing PHP tntcoder Linux - Newbie 4 12-17-2005 03:53 AM
installing php 5.0.5 da_cat Linux - Software 1 11-19-2005 07:16 AM
installing php-5.0.1 mohtasham1983 Linux - Software 1 06-27-2005 07:40 PM
installing php loadimmed Linux - General 2 07-22-2003 10:36 AM
Installing PHP help, please. WorldBuilder Linux - Software 3 06-06-2003 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 PM.

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