LinuxQuestions.org
Help answer threads with 0 replies.
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 05-19-2006, 04:06 AM   #1
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
My Apache and PHP configure options - Did I miss anything?


Did I miss any important configure options or used useless ones in the two commands shown below? I used the two commands to get Apache 2.2.0 and PHP 5.1.3 up and running under Fedora Core 2. I am planning to do the same thing on a virtual private server this week so I would appreciate it if you could give me some advice.
Code:
[basel@localhost httpd-2.2.0]$ ./configure --prefix=/usr/local/apache2 \
> --enable-so --enable-rewrite --enable-speling --enable-ssl \
> --enable-unique-id --enable-usertrack --enable-deflat --enable-expires \
> --enable-auth-anon --enable-auth-dbm --enable-auth-digest \
> --enable-logio --enable-mime-magic --enable-modules=most \
> --enable-headers --enable-info --enable-v4-mapped && echo done-conf
Code:
[basel@localhost php-5.1.3]$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> --enable-magic-quotes --disable-short-tags --with-openssl --with-zlib --with-bz2 \
> --enable-ftp --with-gd --enable-mbstring --with-mysql=/usr/local/mysql \
> --with-mysqli=/usr/local/mysql/bin/mysql_config && echo done-conf
 
Old 05-19-2006, 05:01 AM   #2
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Hi,

Did you get any error using these configuration ?

If not than they are perfect Using configuration depends on what you want to enable or disable for your application (in this case php and apache).

SO if you are not sure and you don't have any good reason, than better use precomplied package for installation.
 
Old 05-19-2006, 05:36 AM   #3
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by vikasumit
Did you get any error using these configuration ?
I got some at the begining but every thing went fine after updating some development libraries.
Quote:
Originally Posted by vikasumit
So if you are not sure and you don't have any good reason, than better use precomplied package for installation.
I wish I could but finding new rpms for FC2 might take a long time.
 
  


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
configure php with apache varunbihani Linux - Software 1 01-13-2005 06:43 AM
Apache + Php . I can not configure it . Help me :( kernelvn Linux - Software 3 09-17-2004 11:02 AM
How do i configure RH-9, apache 2.0, php and mysql rolling_titan Linux - General 4 10-18-2003 07:56 AM
Configure Apache and PHP kaustav Linux - General 11 06-01-2003 12:58 AM
Configure Apache and PHP kaustav Linux - Newbie 1 05-26-2003 07:41 AM

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

All times are GMT -5. The time now is 04:49 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