hi all,<br><br>i am a new user , i am using mapserver 5.0.3 on fedora
9... i am struggling in installation as well as configuration part of
mapserver in my box. well, come to the point i am trying to configure
php with mapserver , but configuration error occured while configuring.
I have installed php-5.2.6 through <b>yum install</b> in my system.<br>
<br>The following is the configuration error<br><br>ug 458 or Apache bug 22030).<br>Compiling with fast MS_NINT<br>checking compiler warnings... basic<br>configure: checking whether we should enable debug features...<br>
Enabling debug features: -g in CFLAGS.<br>
<b>configure: checking for PHP/MapScript module options...</b><br><b>configure: error: Missing or invalid PHP source directory in --with-php=DIR.</b><br><br>From
the error message it is clearly evident that i gave invalid source
directory, but the following are the php source directories found in my
system<br>
<br>/etc/php.d<br>/etc/php.ini<br>/etc/httpd/conf.d/php.conf<br>/etc/php.d/dbase.ini<br>/etc/php.d/error_log<br>/etc/php.d/gd.ini<br>/etc/php.d/json.ini<br>/etc/php.d/mapserver.ini<br>/etc/php.d/mysql.ini<br>/etc/php.d/mysqli.ini<br>
/etc/php.d/pdo.ini<br>/etc/php.d/pdo_mysql.ini<br>/etc/php.d/pdo_pgsql.ini<br>/etc/php.d/pdo_sqlite.ini<br>/etc/php.d/pgsql.ini<br>/etc/php.d/zip.ini<br><b>/usr/bin/php</b><br>/usr/bin/php-cgi<br><b>/usr/lib/php</b><br>/usr/lib/httpd/modules/<div id=":1db" class="ii gt">
libphp5.so<br>
/usr/lib/php/modules<br>/usr/lib/php/pear<br>/usr/lib/php/modules/dbase.so<br>/usr/lib/php/modules/gd.so<br>/usr/lib/php/modules/json.so<br>/usr/lib/php/modules/mysql.so<br>/usr/lib/php/modules/mysqli.so<br>/usr/lib/php/modules/pdo.so<br>
/usr/lib/php/modules/pdo_mysql.so<br>/usr/lib/php/modules/pdo_pgsql.so<br>/usr/lib/php/modules/pdo_sqlite.so<br>/usr/lib/php/modules/pgsql.so<br>/usr/lib/php/modules/php_mapscript.so<br>/usr/lib/php/modules/phpcups.so<br>
/usr/lib/php/modules/zip.so<br><b>/usr/share/php</b><br>/usr/share/doc/php-cli-5.2.6<br>/usr/share/doc/php-common-5.2.6<br>/usr/share/doc/php-mapserver-5.0.3<br>/usr/share/doc/php-cli-5.2.6/README<br>/usr/share/doc/php-cli-5.2.6/README.FastCGI<br>
/usr/share/doc/php-common-5.2.6/CODING_STANDARDS<br>/usr/share/doc/php-common-5.2.6/CREDITS<br>/usr/share/doc/php-common-5.2.6/EXTENSIONS<br>/usr/share/doc/php-common-5.2.6/INSTALL<br>/usr/share/doc/php-common-5.2.6/LICENSE<br>
/usr/share/doc/php-common-5.2.6/NEWS<br>/usr/share/doc/php-common-5.2.6/README.EXTENSIONS<br>/usr/share/doc/php-common-5.2.6/README.EXT_SKEL<br>/usr/share/doc/php-common-5.2.6/README.PARAMETER_PARSING_API<br>/usr/share/doc/php-common-5.2.6/README.PHP4-TO-PHP5-THIN-CHANGES<br>
/usr/share/doc/php-common-5.2.6/README.SELF-CONTAINED-EXTENSIONS<br>/usr/share/doc/php-common-5.2.6/README.STREAMS<br>/usr/share/doc/php-common-5.2.6/README.SUBMITTING_PATCH<br>/usr/share/doc/php-common-5.2.6/README.TESTING<br>
/usr/share/doc/php-common-5.2.6/README.TESTING2<br>/usr/share/doc/php-common-5.2.6/README.UNIX-BUILD-SYSTEM<br>/usr/share/doc/php-common-5.2.6/README.UPDATE_5_2<br>/usr/share/doc/php-common-5.2.6/README.WIN32-BUILD-SYSTEM<br>
/usr/share/doc/php-common-5.2.6/README.input_filter<br>/usr/share/doc/php-common-5.2.6/TSRM_LICENSE<br>/usr/share/doc/php-common-5.2.6/ZEND_CHANGES<br>/usr/share/doc/php-common-5.2.6/ZEND_LICENSE<br>/usr/share/doc/php-common-5.2.6/gd_README<br>
/usr/share/doc/php-common-5.2.6/regex_COPYRIGHT<br><b>/var/lib/php</b><br>/var/lib/php/session<br><br><br>I
tested with all the source directories that i have in my system, but
the error still remains. i have installed php through YUM INSTALL way ,
that is a precompiled binaries not an source package.. May be that
could be a reason to cause this error.. i am not sure....<br>
<br>so what could be a problem .... please somebody help me...<br><br>regards<br>zizu</div>