Done some investigation.....

If you remove the  " --enable-debug "" from the configure line below it 
will build and install okay. But then I hit the problem that I hoped 
4.2.3 would address - ImageCreateFromPNG get a segV ever time I call it.

Any ideas on this ?

Thanks Dave

David Herring wrote:

>
> I get the same error with apache 2.0.40... so what's wrong with my php 
> compile ?? Under Suse 8.0 with the following config options:-
>
>
> ./configure --enable-debug \
>            --with-mysql=/usr/local/mysql \
>            --with-gd=/usr/local/gd-1.8.4 \
>            --with-png-dir=/usr/lib \
>            --with-jpeg-dir=/usr/lib \
>            --with-zlib-dir=/usr/lib \
>            --with-apxs2=/usr/local/apache2/bin/apxs \
>            --with-config-file-path=/usr/local/apache/conf
>
> The undefined function are in:-
>
> linux # pwd
> /home/dave/netfm/latest/php-4.2.3/Zend
> linux # grep _zval_ptr_dtor_wrapper *
> zend_variables.c:ZEND_API void _zval_ptr_dtor_wrapper(zval **zval_ptr)
> zend_variables.h:ZEND_API void _zval_ptr_dtor_wrapper(zval **zval_ptr);
> zend_variables.h:#define zval_ptr_dtor_wrapper _zval_ptr_dtor_wrapper
> linux #
>
> There appear to only get defined if ZEND_DEBUG is set ? Do I have to 
> set this - and if so where should it be set.
>
> thanks dave
>
>
>
>
> linux:/home/dave/netfm/latest/php-4.2.3 # 
> /usr/local/apache2/bin/apachectl start
> Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/libphp4.so into server: 
> /usr/local/apache2/modules/libphp4.so: undefined symbol: 
> _zval_ptr_dtor_wrapper
>
>
> David Herring wrote:
>
>>
>>
>> Installing PHP 4.2.3 under apache 1.3.26 gibes me the following error 
>> when trying to start apache:-
>>
>> # /usr/local/apache/bin/apachectl start
>> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
>> Cannot load /usr/local/apache/libexec/libphp4.so into server: 
>> /usr/local/apache/libexec/libphp4.so: undefined symbol: 
>> _zval_ptr_dtor_wrapper linux:/home/dave/netfm/latest/php-4.2.3 # 
>> /usr/local/apache2/bin/apachectl start
>> Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf:
>> Cannot load /usr/local/apache2/modules/libphp4.so into server: 
>> /usr/local/apache2/modules/libphp4.so: undefined symbol: 
>> _zval_ptr_dtor_wrapper
>>
>> /usr/local/apache/bin/apachectl start: httpd could not be started
>> #
>>
>>
>> And line 205 of /usr/local/apache/conf/httpd.conf reads:-
>>
>> LoadModule php4_module        libexec/libphp4.so
>>
>>
>> Any ideas ?
>>
>> Thanks Dave
>>
>>
>
>
>
>




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to