Re: error while "create file" (image)

Matthias Dieke <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi Chregu,

Christian Stocker wrote:
> 
> On 8.6.2005 17:47 Uhr, Matthias Dieke wrote:
> 
> 
>>>IIRC, go to ext/exif, then do
>>>
>>>phpize
>>>./configure   --enable-exif
>>>make
>>>make install
>>>
>>>and then add  to php.ini
>>>extension=php_exif.dll
>>>
>>>and restart apache.
>>
>>
>>
>>Your answer sounds so easy... but not for me. I tried phpize and
>>"./configure ... " I run make and get this error:
>>
>>
>>main/output.o(.text+0xa73): In function `php_ob_init_named':
>>/tmp/php5-STABLE-200501201530/main/output.c:443: undefined reference to
>>`php_ob_gzhandler_check'
>>collect2: ld returned 1 exit status
>>make: *** [sapi/cgi/php] Fehler 1
> 
> 
> do you have differnt phpize versions on your system? Are you sure you
> took the right one? Search for php-config, test with php-config
> --version to get the correct one, then use the phpize in that director

I searched for php-config:

locate php-config

and get this result

/usr/local/bin/php-config


I run "php-config --version" and get this "5.0.4-dev"



How the stupid Matthias tried to run phpize:

first:

h61220:/tmp/php5-STABLE-200501201530/ext/exif # /usr/local/bin/phpize
Configuring for:
PHP Api Version:         20031224
Zend Module Api No:      20041030
Zend Extension Api No:   220040412


second:

h61220:/tmp/php5-STABLE-200501201530 # ./configure --enable-exif


and get this:

+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You will be compiling the CGI version of PHP without any           |
| redirection checking.  By putting this cgi binary somewhere in     |
| your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser.  See        |
| http://www.php.net/manual/security.php for more details.           |


I thought I have NOT cgi version at the current time. I use it as apache 
module or so...


third:

h61220:/tmp/php5-STABLE-200501201530 # make



I can't say thanks for all your help... thanks thanks thanks.



Matthias


-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.