LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-28-2008, 04:59 AM   #1
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 32
installing php from the source


Had this warning when I installed php5.2.6
------------------------------------------------------
Notice: Following unknown configure options were used:

--enable-gd
--enable-track-vars
--enable-trans-id
--with-cpdflib=/usr/local
--enable-ssl

Check './configure --help' for available options

[root@zimbra php-5.2.6]#
-------------------------------------------------------

Are these flags still on the latest version of php? Has anybody experienced same problems?
 
Old 10-28-2008, 05:07 AM   #2
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by tajamari View Post
Had this warning when I installed php5.2.6
------------------------------------------------------
Notice: Following unknown configure options were used:

--enable-gd
--enable-track-vars
--enable-trans-id
--with-cpdflib=/usr/local
--enable-ssl

Check './configure --help' for available options

[root@zimbra php-5.2.6]#
-------------------------------------------------------

Are these flags still on the latest version of php? Has anybody experienced same problems?
I installed everything from source, all latest versions. apache 2.2.10, and openssl-0.9.8i.

Here's what I did on the PHP installation
./configure \
--prefix=/usr/local/php \
--exec-prefix=/usr/local/php \
--with-libxml-dir=/usr/local/libxml2 \
--with-apxs2=/usr/local/apache2.2/bin/apxs \
--libexecdir=/usr/local/apache2.2/lib/apache \
--with-config-file-path=/usr/local/apache2.2/conf \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-mysql-sock=/tmp/mysql.sock \
--with-sqlite \
--enable-sqlite-utf8 \
--with-pgsql=/usr/local/pgsql \
--with-zlib \
--with-zlib-dir \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-ttf \
--with-freetype-dir=/usr/local \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--enable-track-vars \
--with-gettext \
--enable-trans-id \
--enable-ftp \
--with-cpdflib=/usr/local \
--enable-mbstring \
--enable-ssl \
--with-openssl
 
Old 10-28-2008, 06:44 AM   #3
ptemmerman
Member
 
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
These options are actually invalid.
To get a complete list of possible compile options, execute:

./configure --help

As you will see there, there is no --enable-ssl, nor --enable-gd
You can use instead --with-openssl=PATH_TO_OPENSSL_DIR

Hope that helps
 
  


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 source and rpm sucram2g Linux - Software 1 02-17-2007 03:22 AM
Installing php package after installing from source shubb Slackware 4 03-14-2006 10:19 AM
building PHP 4.3.4-11 from source michaelbhahn Linux - Software 0 09-21-2004 05:55 PM
Problems installing Apache/PHP from source minorgod Mandriva 0 09-11-2004 07:45 PM
Installing PHP from source on RedHat 9 with Apache -- few questions? Bungo2000 Linux - Software 1 06-05-2003 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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