|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-12 13:34 UTC] wez@php.net
[2004-08-12 13:38 UTC] pk at nodex dot ru
[2004-08-12 13:57 UTC] wez@php.net
[2004-08-12 14:11 UTC] pk at nodex dot ru
[2004-08-12 14:35 UTC] wez@php.net
[2004-08-12 14:53 UTC] pk at nodex dot ru
[2004-08-12 15:13 UTC] tony2001@php.net
[2004-08-12 15:46 UTC] pk at nodex dot ru
[2004-08-12 16:18 UTC] tony2001@php.net
[2004-08-17 07:26 UTC] tony2001@php.net
[2004-10-01 10:14 UTC] sniper@php.net
[2004-10-09 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 01:00:02 2025 UTC |
Description: ------------ I`m trying to compile php with sfio lib. for stdio bug workaround. It configures and compiles is fine, but simple test.php script shows: Fatal error: Call to undefined function: fread() in /usr/home/kuzmich/apache/php-4.3.8/sapi/cli/test.php on line 3 Reproduce code: --------------- test.php: <? $p = fopen("./test".microtime(),"w+"); $buf = fread ($p,10); fclose($p); echo $buf; ?> configure script: CFLAGS="-I/home/kuzmich/sfio/include -I/usr/include -I/usr/local/include -I/opt/sfw/include" \ CXXFLAGS="-I/home/kuzmich/sfio/include -I/usr/include -I/usr/local/include -I/opt/sfw/include" \ CPPFLAGS="-I/home/kuzmich/sfio/include -I/usr/include -I/usr/local/include -I/opt/sfw/include" \ LDFLAGS="-L/usr/local/mnogosearch/lib -lmnogosearch -ludmsearch" \ EXTRA_LIBS=" -lstdio -lsfio -liconv -L/usr/local/mnogosearch/lib -lmnogosearch -ludmsearch" \ LIBS=" -lstdio -lsfio -liconv -L/usr/local/mnogosearch/lib -lmnogosearch -ludmsearch" \ ./configure \ --with-apache=/usr/home/export/compile/apache/apache \ --with-mod_charset \ --with-pgsql=/usr/local/pgsql \ --disable-debug \ --enable-calendar \ --enable-inline-otimization \ --with-zlib \ --with-gd=/usr/local \ --with-jpeg-dir=/usr/local/lib \ --with-png-dir=/usr/local/lib \ --with-xpm-dir=/usr/lib \ --with-freetype-dir=/usr/local \ --with-zlib-dir=/usr/lib \ --with-freetype-dir=/usr/local/freetype2 \ --enable-wddx \ --with-curl \ --with-expat \ --enable-trans-sid \ --with-iconv \ --enable-xslt \ --with-xslt-sablot \ --with-imap \ --with-imap-ssl \ --with-openssl=/usr/local/ssl \ --with-mnogosearch=/usr/local/mnogosearch \ --enable-dbase \ --with-mysql=/usr/local/mysql