<div>Hi, Everyone.</div><div><br></div><div>I want to compile mapserver from source.</div><div><br></div><div>Both the mapserver readme.configure file and the instuctionpost here (<a href="http://www.mapserver.org/installation/php.html">http://www.mapserver.org/installation/php.html</a>) tell me </div>
<div>"<span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">pass the </span><em style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">–with-php=DIR</em><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"> argument to the configure script",</span></div>
<div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">As the guide say, the "DIR" will be PHP sourcecode folder, but in  my ubuntu 12.04 platform, it take aPHP5, no need to compile PHP from source. So I am confused, which folder should I assign?</span></div>
<div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)">by the way, I "locate php5" on the shell and got the result below:</span></div>
<div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"><div>/etc/php5</div><div>/etc/apache2/mods-available/php5.conf</div><div>/etc/apache2/mods-available/php5.load</div>
<div>/etc/apache2/mods-enabled/php5.conf</div><div>/etc/apache2/mods-enabled/php5.load</div><div>/etc/apparmor.d/abstractions/php5</div><div>/etc/cron.d/php5</div><div>/etc/php5/apache2</div><div>/etc/php5/cli</div><div>/etc/php5/conf.d</div>
<div>/etc/php5/apache2/conf.d</div><div>/etc/php5/apache2/php.ini</div><div>/etc/php5/cli/conf.d</div><div>/etc/php5/cli/php.ini</div><div>/etc/php5/conf.d/curl.ini</div><div>/etc/php5/conf.d/mysql.ini</div><div>/etc/php5/conf.d/mysqli.ini</div>
<div>/etc/php5/conf.d/pdo.ini</div><div>/etc/php5/conf.d/pdo_mysql.ini</div><div>/usr/bin/php5</div><div>/usr/lib/php5</div><div>/usr/lib/apache2/modules/libphp5.so</div><div>/usr/lib/php5/20090626</div><div>/usr/lib/php5/libexec</div>
<div>/usr/lib/php5/maxlifetime</div><div>/usr/lib/php5/20090626/curl.so</div><div>/usr/lib/php5/20090626/mysql.so</div><div>/usr/lib/php5/20090626/mysqli.so</div><div>/usr/lib/php5/20090626/pdo.so</div><div>/usr/lib/php5/20090626/pdo_mysql.so</div>
<div>/usr/share/php5</div><div>/usr/share/apport/package-hooks/source_php5.py</div><div>/usr/share/doc/libapache2-mod-php5</div><div>/usr/share/doc/php5-cli</div><div>/usr/share/doc/php5-common</div><div>/usr/share/doc/php5-curl</div>
<div>/usr/share/doc/php5-mysql</div><div>/usr/share/doc/php5-common/CODING_STANDARDS.gz</div><div>/usr/share/doc/php5-common/CREDITS</div><div>/usr/share/doc/php5-common/EXTENSIONS.gz</div><div>/usr/share/doc/php5-common/NEWS.Debian.gz</div>
<div>/usr/share/doc/php5-common/README.Debian.gz</div><div>/usr/share/doc/php5-common/README.Debian.security</div><div>/usr/share/doc/php5-common/README.EXT_SKEL.gz</div><div>/usr/share/doc/php5-common/README.PHP4-TO-PHP5-THIN-CHANGES.gz</div>
<div>/usr/share/doc/php5-common/README.SELF-CONTAINED-EXTENSIONS.gz</div><div>/usr/share/doc/php5-common/README.SVN-RULES.gz</div><div>/usr/share/doc/php5-common/README.Zeus.gz</div><div>/usr/share/doc/php5-common/TODO.gz</div>
<div>/usr/share/doc/php5-common/changelog.Debian.gz</div><div>/usr/share/doc/php5-common/copyright</div><div>/usr/share/doc/php5-common/examples</div><div>/usr/share/doc/php5-common/test-results.txt.gz</div><div>/usr/share/doc/php5-common/examples/php.ini-development</div>
<div>/usr/share/lintian/overrides/libapache2-mod-php5</div><div>/usr/share/lintian/overrides/php5-cli</div><div>/usr/share/lintian/overrides/php5-common</div><div>/usr/share/man/man1/php5.1.gz</div><div>/usr/share/php5/php.ini-production</div>
<div>/usr/share/php5/php.ini-production-dist</div><div>/usr/share/php5/php.ini-production.cli</div><div>/var/cache/apt/archives/libapache2-mod-php5_5.3.10-1ubuntu3.2_amd64.deb</div><div>/var/cache/apt/archives/php5-cli_5.3.10-1ubuntu3.2_amd64.deb</div>
<div>/var/cache/apt/archives/php5-common_5.3.10-1ubuntu3.2_amd64.deb</div><div>/var/cache/apt/archives/php5-curl_5.3.10-1ubuntu3.2_amd64.deb</div><div>/var/cache/apt/archives/php5-mysql_5.3.10-1ubuntu3.2_amd64.deb</div><div>
/var/lib/php5</div><div>/var/lib/dpkg/info/libapache2-mod-php5.conffiles</div><div>/var/lib/dpkg/info/libapache2-mod-php5.list</div><div>/var/lib/dpkg/info/libapache2-mod-php5.md5sums</div><div>/var/lib/dpkg/info/libapache2-mod-php5.postinst</div>
<div>/var/lib/dpkg/info/libapache2-mod-php5.postrm</div><div>/var/lib/dpkg/info/libapache2-mod-php5.prerm</div><div>/var/lib/dpkg/info/libapache2-mod-php5.triggers</div><div>/var/lib/dpkg/info/php5-cli.list</div><div>/var/lib/dpkg/info/php5-cli.md5sums</div>
<div>/var/lib/dpkg/info/php5-cli.postinst</div><div>/var/lib/dpkg/info/php5-cli.postrm</div><div>/var/lib/dpkg/info/php5-cli.prerm</div><div>/var/lib/dpkg/info/php5-common.conffiles</div><div>/var/lib/dpkg/info/php5-common.list</div>
<div>/var/lib/dpkg/info/php5-common.md5sums</div><div>/var/lib/dpkg/info/php5-common.postrm</div><div>/var/lib/dpkg/info/php5-curl.conffiles</div><div>/var/lib/dpkg/info/php5-curl.list</div><div>/var/lib/dpkg/info/php5-curl.md5sums</div>
<div>/var/lib/dpkg/info/php5-mysql.conffiles</div><div>/var/lib/dpkg/info/php5-mysql.list</div><div>/var/lib/dpkg/info/php5-mysql.md5sums</div><div><br></div><div>Best Regards,</div></span></div><div><span style="color:rgb(62,67,73);font-family:Arial,sans-serif;font-size:13px;line-height:19px;background-color:rgb(255,255,255)"><br>
</span></div><br clear="all"><div><br></div>-- <br><div style="text-align:left"><span style="text-align:-webkit-auto">Yang Li</span><div>GIS Developer</div><div>P.R.China</div><div><br></div></div><br>