Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building php with defaults

Status
Not open for further replies.

pwpeterson

Programmer
Apr 9, 2003
8
US
I have a couple of general questions about building PHP during the config process. The questions are in regards to the --with options available.

Question 1: What happens if I don't provide a directory for a given option, eg --with-mysql vs -with-mysql=/usr/local OR --with-freetype-dir vs --with-freetype-dir=/usr/include ?

Question 2: Is there two ways of setting an option? That is is --with-png the same as --with-png-dir? Are they interchangeable?

pwp

 
With MySQL, if no directory is specified, the bundled MySQL libraries will be used. With freetype, I don't know -- most likely the configure script will attempt to find it, or the compilation step will use the ld sytem will attempt to find it.

The difference between two configuration options such as --with-png and --with-png-dir probably exists because of the evolving nature of PHP. Some of those options may be lefovers from earlier versions. In any regard, the PHP online manual states that issuing "./configure --help" will give you a "full, up-to-date list of configuration options" Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top