<p>I am having the same issue.</p>

<p>The problem is related to compiling MapServer. These warnings are scattered throughout my output when I run make:</p>
<p><b>warning: implicit declaration of function 'zval_set_isref_p'</b></p>

<p>Clearly the function isn't defined anywhere and I have no idea where to find it.<p>

<p>I know my configurations are correct. I ran ldd on php_mapscript.so and nothing seemed to be missing. If zval_set_isref_p is a zend function, I couldn't find it anywhere in the zend files in my /usr/include/php/Zend directory. Could it be that MapServer is relying on an old version of Zend?</p>

<p>Another possibility that I've read about in the <a href="http://mapserver.org/installation/php.html#faq-common-problems" target="_top" rel="nofollow" link="external">php MapServer FAQ</a> is that php wasn't configured to load dynamic libraries. However, I am running on a shared host and didn't personally compile php. I'd like to avoid having to build my own custom php if I can. Is there a way to determine if php was configured this way or not?</p>

<p>I'd even settle for finding the definition of zval_set_isref_p and putting it in all the necessary c files just to get the darn thing to compile properly.</p>

<p>SETUP:</p>
<ul><li>My server is BlueHost (Fedora, I think).</li>
<li>MapServer 6</li>
<li>PHP 5.2.17 with Suhosin-Patch 0.9.7 (cgi-fcgi)</li>
<li>Zend Engine v2.2.0 with Zend Optimizer v3.3.9</li>
</ul>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/MapServer-6-CGI-but-php-mapscript-not-tp6502411p6540443.html">Re: MapServer 6 - CGI but php mapscript not</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>