[PHP] Compiling PHP-GTK with PHP-5.3.1 with VC9
Hello, I tried to compile PHP-GTK 2.0.1 with PHP 5.3.1 on Windows. The first errors I was able to fix. The patch file with my fixes you find as an attachment to this mail. But now I get following error and I don't know why. VC9 doesn't find the SG-definition, but SAPI.h is included in php_gtk+.c. So what's going wrong there? ### C:\php-sdk\php53\vc9\x86\php- gtk_build>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' php_gtk+.c c:\php-sdk\php53\vc9\x86\php-5.3.1\zend\zend_execute.h(231) : warning C4018: '>' : signed/unsigned mismatch ext\gtk+\php_gtk+.c(82) : warning C4013: 'SG' undefined; assuming extern returning int ext\gtk+\php_gtk+.c(82) : error C2065: 'request_info' : undeclared identifier ext\gtk+\php_gtk+.c(82) : error C2224: left of '.path_translated' must have struct/union type ext\gtk+\php_gtk+.c(83) : error C2065: 'request_info' : undeclared identifier ext\gtk+\php_gtk+.c(83) : error C2224: left of '.path_translated' must have struct/union type ext\gtk+\php_gtk+.c(83) : error C2198: 'g_strdup' : too few arguments for call NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin \cl.EXE"' : return code '0x2' Stop. C:\php-sdk\php53\vc9\x86\php-gtk_build> ### Do you have a hint what I can do? Thanks and best regards, Thomas -- Mit freundlichen Grüßen, Thomas Worm ** Thomas Worm Handel & Dienstleistung Postfach 2207 D-90009 Nürnberg Hausanschrift: Hintere Cramergasse 3 D-90478 Nürnberg ** Telefon: +49 1803 030505000 Telefax: +49 1803 030505050 Allgemeiner Kontakt: i...@thomas-worm.de Buchhaltung: buchhalt...@thomas-worm.de ** Geschäftsführer: Thomas Worm thomas.w...@thomas-worm.de Kontoverbindung: Inhaber: Thomas Worm H. u. D. Kontonummer: 38 56 38 Bankleitzahl: 760 606 18 Kreditinstitut: Volksbank-Raiffeisenbank Nürnberg eG Steuernummer: 240-290-21429 USt-ID: DE250745940 ISBN-Verlagsnummer: 3-86749 ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php with libjpg64
Hi there, I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow it does not recognize the libjpg which is definatelly in place: server:/home/sw/php-5.2.9 # './configure' '--enable-fastcgi' '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--with-pdo-mysql=/usr/local/mysql/' '--enable-soap' '--with-zlib-dir=/usr/lib64' '--with-freetype-dir=/usr/lib64' '--with-gd' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64' '--enable-exif' '--with-pdflib=/usr/local' > configure.txt configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none). configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: 2.5.33) configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. configure: error: libjpeg.(a|so) not found. but: # locate libjpeg.so /usr/lib64/libjpeg.so /usr/lib64/libjpeg.so.62 /usr/lib64/libjpeg.so.62.0.0 # locate libjpeg.a /usr/lib64/libjpeg.a I am kind of lost with this one. I can not find the error. Has somebody an idea how to fix this? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] make test failures (was Re: [PHP] Compiling PHP 5.2.3)
I was able to get past the configure problem. It was apparently associated with the --with-imap option and I don't need imap support. In any case, I got to the make test and got the following failures: = FAILED TEST SUMMARY - Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X) [tests/lang/bug30638.phpt] imagecreatefromwbmp with invalid wbmp [ext/gd/tests/ createfromwbmp2.phpt] Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.phpt] Test gettype() & settype() functions : usage variations [ext/standard/ tests/general_functions/gettype_settype_variation2.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/ tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/ strings/htmlentities04.phpt] htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/ strings/htmlentities15.phpt] Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt] = Are these failures expected? On Aug 30, 2007, at 2:43 PM, Eric Gorr wrote: I am attempting to compile PHP 5.2.3 and am having trouble with the configuration step: configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. I cannot figure this one out. Any help would be appreciated. I am using MacPorts (http://www.macports.org/ - same idea as Fink) to obtain various packages I need and am running MacOSX 10.4.10. To what configuration option does this belong? If it belongs to something I don't really need, I'll just turn the option off. What MacPort would I need to install? I could even install something via Fink, if wha tI need is not available via MacPorts. My configure line currently is: ./configure --prefix=/mine/local/php5 --with-apxs2=/opt/local/ apache2/bin/apxs --with-config-file-scan-dir=/mine/local/php5/php.d --with-iconv-dir=/opt/local --with-iconv --with-openssl=/opt/local --with-zlib=/opt/local --with-gd=/opt/local --with-zlib-dir=/opt/ local --with-ldap --with-xmlrpc --with-snmp=/opt/local --enable- sqlite-utf8 --enable-exif --enable-wddx --enable-soap --with- sqlite=/opt/local --enable-ftp --enable-sockets --enable-dbx -- enable-dbase --enable-mbstring --enable-calendar --enable-bcmath -- with-bz2=/opt/local --enable-memory-limit --with-curl=shared,/mine/ local/php5 --with-mysql=shared,/mine/local/php5 --with- mysqli=shared,/mine/local/php5/bin/mysql_config --with-pdo- mysql=shared,/mine/local/php5 --with-libxml-dir=shared,/mine/local/ php5 --with-xsl=shared,/mine/local/php5 --with-pdflib=shared,/mine/ local/php5 --with-imap=../imap-2004g --with-kerberos=/opt/local -- with-imap-ssl=/opt/local --with-jpeg-dir=/mine/local/php5 --with- png-dir=/mine/local/php5 --enable-gd-native-ttf --with-freetype- dir=/opt/local --with-iodbc=shared,/opt/local --with-pgsql=shared,/ mine/local/php5 --with-pdo-pgsql=shared,/mine/local/php5 --with- t1lib=/opt/local --with-gettext=shared,/mine/local/php5 --with- ming=shared,/mine/local/php5 --with-mcrypt=shared,/mine/local/php5 --with-mhash=shared,/mine/local/php5 --with-mssql=shared,/mine/ local/php5 --with-json=shared --enable-memcache --with-xpm-dir=/opt --with-readline=/opt --enable-openbase_module I'm sure there are still problems with it that I am slowly working through...I basically copied the one from http://www.entropy.ch/ software/macosx/php/ since I know that installation of PHP has worked for me in the past. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP 5.2.3
I am attempting to compile PHP 5.2.3 and am having trouble with the configuration step: configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. I cannot figure this one out. Any help would be appreciated. I am using MacPorts (http://www.macports.org/ - same idea as Fink) to obtain various packages I need and am running MacOSX 10.4.10. To what configuration option does this belong? If it belongs to something I don't really need, I'll just turn the option off. What MacPort would I need to install? I could even install something via Fink, if wha tI need is not available via MacPorts. My configure line currently is: ./configure --prefix=/mine/local/php5 --with-apxs2=/opt/local/apache2/ bin/apxs --with-config-file-scan-dir=/mine/local/php5/php.d --with- iconv-dir=/opt/local --with-iconv --with-openssl=/opt/local --with- zlib=/opt/local --with-gd=/opt/local --with-zlib-dir=/opt/local -- with-ldap --with-xmlrpc --with-snmp=/opt/local --enable-sqlite-utf8 -- enable-exif --enable-wddx --enable-soap --with-sqlite=/opt/local -- enable-ftp --enable-sockets --enable-dbx --enable-dbase --enable- mbstring --enable-calendar --enable-bcmath --with-bz2=/opt/local -- enable-memory-limit --with-curl=shared,/mine/local/php5 --with- mysql=shared,/mine/local/php5 --with-mysqli=shared,/mine/local/php5/ bin/mysql_config --with-pdo-mysql=shared,/mine/local/php5 --with- libxml-dir=shared,/mine/local/php5 --with-xsl=shared,/mine/local/php5 --with-pdflib=shared,/mine/local/php5 --with-imap=../imap-2004g -- with-kerberos=/opt/local --with-imap-ssl=/opt/local --with-jpeg-dir=/ mine/local/php5 --with-png-dir=/mine/local/php5 --enable-gd-native- ttf --with-freetype-dir=/opt/local --with-iodbc=shared,/opt/local -- with-pgsql=shared,/mine/local/php5 --with-pdo-pgsql=shared,/mine/ local/php5 --with-t1lib=/opt/local --with-gettext=shared,/mine/local/ php5 --with-ming=shared,/mine/local/php5 --with-mcrypt=shared,/mine/ local/php5 --with-mhash=shared,/mine/local/php5 --with-mssql=shared,/ mine/local/php5 --with-json=shared --enable-memcache --with-xpm-dir=/ opt --with-readline=/opt --enable-openbase_module I'm sure there are still problems with it that I am slowly working through...I basically copied the one from http://www.entropy.ch/ software/macosx/php/ since I know that installation of PHP has worked for me in the past. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling php 5.2.3 / Mac OS X 10.3.9 / "mysql configure failed"
Ave, Trying to configure, build & compile PHP 5.2.3 on a Mac OS X 10.3.9 from scratch (Since there is no installer available for Panther). Installed all dependencies. Latest mySQL 5 client/server is installed (Using the mySQL Installer available at the mySQL website). I did not build & compile mySQL and I don¹t wish to either so looking for some other solution to this problem. Getting the following error during ./configure: configure: error: mysql configure failed. Please check config.log for more information. This is the mysql related portion from ³config.log²: int main() { dnet_addr() ; return 0; } configure:58392: checking for MySQL support configure:58438: checking for specified location of the MySQL UNIX socket configure:58495: checking for MySQL UNIX socket location configure:58685: checking for mysql_close in -lmysqlclient configure:58704: gcc -o conftest -I/usr/include -g -O2 -no-cpp-precomp -L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib -L/opt/local/lib -L/opt/local/lib -L/usr/local/php5/lib -L/usr/local/php5/lib conftest.c -lmysqlclient -lsybdb -lldap -llber -liconv -lintl -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5 ld: table of contents for archive: /usr/local/php5/lib/libsybdb.a is out of date; rerun ranlib(1) (can't load from it) configure: failed program was: #line 58693 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_close(); int main() { mysql_close() ; return 0; } configure:58925: checking for mysql_error in -lmysqlclient configure:58944: gcc -o conftest -I/usr/include -g -O2 -no-cpp-precomp -L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib -L/opt/local/lib -L/opt/local/lib -L/usr/local/php5/lib -L/usr/local/php5/lib -L/usr -L/usr conftest.c -lmysqlclient -lz -lsybdb -lldap -llber -liconv -lintl -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5 ld: table of contents for archive: /usr/local/php5/lib/libsybdb.a is out of date; rerun ranlib(1) (can't load from it) configure: failed program was: #line 58933 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); int main() { mysql_error() ; return 0; } Help would be appreciated. ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I morti non sono piu soli ... The dead are no longer lonely²
[PHP] Compiling PHP with freetype2 on MacOS X
Recently I've not been able to compile PHP 5.1.2 on OS X 10.4 with gd and freetype2 support. I've found various threads on this, but none of the proposed fixes work. My configure line includes: --with-gd=/sw --with-freetype-dir=/sw/lib/freetype2 --with-t1lib=/sw It doesn't report any problems when configuring: ... checking for GD support... yes checking for the location of libjpeg... /sw checking for the location of libpng... /sw checking for the location of libXpm... no checking for FreeType 1.x support... /sw checking for FreeType 2... /sw/lib/freetype2 checking for T1lib support... /sw checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... no checking for jpeg_read_header in -ljpeg... (cached) yes checking for png_write_image in -lpng... (cached) yes If configure fails try --with-xpm-dir= checking for FreeType 1 support... no - FreeType 2.x is to be used instead checking for T1_StrError in -lt1... (cached) yes checking for gdImageString16 in -lgd... (cached) yes checking for gdImagePaletteCopy in -lgd... (cached) yes checking for gdImageCreateFromPng in -lgd... (cached) yes checking for gdImageCreateFromGif in -lgd... (cached) yes checking for gdImageGif in -lgd... (cached) yes checking for gdImageWBMP in -lgd... (cached) yes checking for gdImageCreateFromJpeg in -lgd... (cached) yes checking for gdImageCreateFromXpm in -lgd... (cached) yes checking for gdImageCreateFromGd2 in -lgd... (cached) yes checking for gdImageCreateTrueColor in -lgd... (cached) yes checking for gdImageSetTile in -lgd... (cached) yes checking for gdImageEllipse in -lgd... no checking for gdImageSetBrush in -lgd... (cached) yes checking for gdImageStringTTF in -lgd... (cached) yes checking for gdImageStringFT in -lgd... (cached) yes checking for gdImageStringFTEx in -lgd... (cached) yes checking for gdImageColorClosestHWB in -lgd... (cached) yes checking for gdImageColorResolve in -lgd... (cached) yes checking for gdImageGifCtx in -lgd... (cached) yes checking for gdCacheCreate in -lgd... (cached) yes checking for gdFontCacheShutdown in -lgd... (cached) yes checking for gdFreeFontCache in -lgd... (cached) yes checking for gdNewDynamicCtxEx in -lgd... (cached) yes checking for gdImageCreate in -lgd... (cached) yes but when I make: /Users/marcus/src/php-5.1.2/ext/gd/gd.c: In function 'zm_info_gd': /Users/marcus/src/php-5.1.2/ext/gd/gd.c:505: error: 'FREETYPE_MAJOR' undeclared (first use in this function) /Users/marcus/src/php-5.1.2/ext/gd/gd.c:505: error: (Each undeclared identifier is reported only once /Users/marcus/src/php-5.1.2/ext/gd/gd.c:505: error: for each function it appears in.) /Users/marcus/src/php-5.1.2/ext/gd/gd.c:505: error: 'FREETYPE_MINOR' undeclared (first use in this function) /Users/marcus/src/php-5.1.2/ext/gd/gd.c: In function 'php_imagechar': /Users/marcus/src/php-5.1.2/ext/gd/gd.c:2817: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /Users/marcus/src/php-5.1.2/ext/gd/gd.c: In function 'php_imagettftext_common': /Users/marcus/src/php-5.1.2/ext/gd/gd.c:3197: warning: pointer targets in passing argument 4 of 'gdImageStringFTEx' differ in signedness /Users/marcus/src/php-5.1.2/ext/gd/gd.c:3197: warning: pointer targets in passing argument 9 of 'gdImageStringFTEx' differ in signedness /Users/marcus/src/php-5.1.2/ext/gd/gd.c:3203: warning: pointer targets in passing argument 4 of 'gdImageStringFT' differ in signedness /Users/marcus/src/php-5.1.2/ext/gd/gd.c:3203: warning: pointer targets in passing argument 9 of 'gdImageStringFT' differ in signedness make: *** [ext/gd/gd.lo] Error 1 Those undefined constants sound like it's missing a header file somewhere. I've also tried using the built-in freetype2 lib using --with- freetype-dir=/usr/X11R6 but that gives me the same error. I've also tried using the bundled gd lib, again I get the same error. I've cut my configure line down to just the options for the environment, gd and freetype. I've looked in /sw/lib/freetype2/include/freetype2/ freetype/freetype.h and the missing constants are correctly defined in there, and also in /usr/X11R6/include/freetype2/freetype/ freetype.h Those files should be found using the paths I gave in configure. Anyone got any idea how I can fix this? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php to use imagettftext
seems like as soon as I post to the list, I end up figgereing it out.. anyway, heres what ended up working. ./configure -v --with-oci8=/apps/oracle --with-apxs=/local/apache-1333/bin/apxs --with-gd=/local/stuff --with-mysql=/local/stuff --with-curl --with-imap=/local/jason/imap-2002d --with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar --with-zlib --with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv --with-mcrypt=/local/stuff --with-openssl=/local/stuff --with-mcal=/local/jason/libmcal --with-curl=/local/stuff --with-jpeg-dir=/local/stuff --with-png-dir=/local/stuff --with-ldap=/local/stuff --enable-gd-native-ttf --with-ttf --with-xpm-dir=/local/stuff/X11 --with-freetype-dir=/local/stuff Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php to use imagettftext
been fighting this for a while but can find no definitave docs that say how exactly and with what options are needed to enable this.. Here is what Im using for my config ./configure -v --with-oci8=/apps/oracle --with-apxs=/local/apache-1333/bin/apxs --with-gd=/local/stuff --with-mysql=/local/stuff --with-curl --with-imap=/local/jason/imap-2002d --with-config-file-path=/local/apache/libexec --enable-bcmath --enable-calendar --with-zlib --with-dom --with-db4=/local/stuff --with-dba --with-gettext --with-iconv --with-mcrypt=/local/stuff --with-openssl=/local/stuff --with-mcal=/local/jason/libmcal --with-curl=/local/stuff --with-jpeg-dir=/local/stuff --with-png-dir=/local/stuff --with-ldap=/local/stuff --enable-gd-native-ttf --with-ttf=/local/stuff --with-xpm-dir=/local/stuff/X11 and im using freetype-2.1.10 gd-2.0.33 but cannot get it working.. Heres what the libphp.so looks like [EMAIL PROTECTED] ldd libphp4.so libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libmcal.so =>/local/jason/libmcal/libmcal.so libmysqlclient.so.10 => /local/stuff/lib/mysql/libmysqlclient.so.10 libmcrypt.so.4 =>/local/stuff/lib/libmcrypt.so.4 libltdl.so.3 => /local/stuff/lib/libltdl.so.3 libldap-2.3.so.0 => /local/stuff/lib/libldap-2.3.so.0 liblber-2.3.so.0 => /local/stuff/lib/liblber-2.3.so.0 libpam.so.1 => /usr/lib/libpam.so.1 libintl.so.1 => /usr/lib/libintl.so.1 libgd.so.2 =>/local/stuff/lib/libgd.so.2 libX11.so.4 => /usr/lib/libX11.so.4 libXpm.so.4.11 =>/local/stuff/X11/lib/libXpm.so.4.11 libpng.so.3 => /local/stuff/lib/libpng.so.3 libz.so => /local/stuff/lib/libz.so libjpeg.so.62 => /local/stuff/lib/libjpeg.so.62 libdb-4.3.so => /local/stuff/lib/libdb-4.3.so libssl.so.0.9.7 => /local/stuff/lib/libssl.so.0.9.7 libcrypto.so.0.9.7 =>/local/stuff/lib/libcrypto.so.0.9.7 libresolv.so.2 =>/usr/lib/libresolv.so.2 libm.so.1 => /usr/lib/libm.so.1 libdl.so.1 =>/usr/lib/libdl.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 =>/usr/lib/libsocket.so.1 libcurl.so.3 => /local/stuff/lib/libcurl.so.3 libxml2.so.2 => /usr/lib/libxml2.so.2 libgen.so.1 => /usr/lib/libgen.so.1 libsched.so.1 => /usr/lib/libsched.so.1 libclntsh.so.8.0 => /apps/oracle/lib/libclntsh.so.8.0 libc.so.1 => /usr/lib/libc.so.1 libz.so.1 => /usr/lib/libz.so.1 /opt/local/gcc/3.4.2/lib/libgcc_s.so.1 libcmd.so.1 => /usr/lib/libcmd.so.1 libfreetype.so.6 => /local/stuff/lib/libfreetype.so.6 libpng12.so.0 => /local/stuff/lib/libpng12.so.0 libXext.so.0 => /usr/openwin/lib/libXext.so.0 librt.so.1 =>/usr/lib/librt.so.1 libmp.so.2 =>/usr/lib/libmp.so.2 libpthread.so.1 => /usr/lib/libpthread.so.1 libwtc8.so =>/apps/oracle-8.1.7/lib/libwtc8.so libaio.so.1 => /usr/lib/libaio.so.1 /usr/platform/SUNW,UltraAX-e2/lib/libc_psr.so.1 libthread.so.1 =>/usr/lib/libthread.so.1 but looking at the PHPinfo page, under GD section, it says GD Support enabled GD Version 2.0 or higher GIF Read Supportenabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Supportenabled shouldnt it say something about freetype being enabled if done right? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] compiling PHP
[snip] I have been digitizing a bungh of 35 mm slides for a client and making a static index and putting all of this on a CD. They are getting to the stage where they would like it to be at least somewhat dynamic. On my laptop I have installed XAMPP and it seems to work decently well. Is there some distribution of PHP (similar to XAMPP) to where I could have it load up PHP (or at least a subset of it) so I could then have the autortun file open the browser to a file so I can provide them dynamic content based in PHP? XAMPP is not an option due to it potentially confusing the client. What do you all think? [/snip] I think I'd like a rum and coke, minus the coke. Look at http://www.priadoblender.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling PHP
HI All, I have been digitizing a bungh of 35 mm slides for a client and making a static index and putting all of this on a CD. They are getting to the stage where they would like it to be at least somewhat dynamic. On my laptop I have installed XAMPP and it seems to work decently well. Is there some distribution of PHP (similar to XAMPP) to where I could have it load up PHP (or at least a subset of it) so I could then have the autortun file open the browser to a file so I can provide them dynamic content based in PHP? XAMPP is not an option due to it potentially confusing the client. What do you all think? 73, -- Leonard Burton, N9URK [EMAIL PROTECTED] "The prolonged evacuation would have dramatically affected the survivability of the occupants." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP on AIX 5.3 works fine except for Apache module...
Hi guys... I compiled PHP 4.3.9 on AIX 5.3 ML02 with this command... # ./configure --enable-calendar --enable-ftp --with-gd --with-gettext --enable-mime-magic --with-mysql --with-iconv --enable-mbstring=all --enable-mbregex --with-apxs=/opt/apps/apache/1.3.33/bin/apxs --with-zlib-dir=/usr/local/lib --with-zlib --with-png-dir --with-freetype-dir # make # make install Everything works perfectly except for the apache module when I try to start apache with that module I got this error: Syntax error on line 205 of /opt/apps/apache/1.3.33/conf/httpd.conf: Cannot load /opt/apps/apache/1.3.33/libexec/libphp4.so into server: 0509-130 Symbol resolution failed for /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libz.so because: 0509-136 Symbol _GLOBAL__F__Unwind_GetLanguageSpecificData (number 23) is not exported from dependent module /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libgcc_s.a(shr.o). 0509-022 Cannot load module /opt/apps/apache/1.3.33/libexec/libphp4.so. 0509-026 System error: Cannot run a file that does not have a valid format. 0509-192 Examine .loader section symbols with the 'dump -Tv' command. /opt/apps/apache/1.3.33/bin/apachectl start: httpd could not be started But the /usr/local/bin/php command works fine ... # /usr/local/bin/php -v PHP 4.3.11 (cli) (built: Jun 28 2005 23:47:50) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies # /usr/local/bin/php -m [PHP Modules] calendar ctype ftp gd gettext iconv mbstring mysql overload pcre posix session standard tokenizer xml zlib [Zend Modules] Anyone have an idea why the module is not working ? Thanks Sébastien Roy Administrateur de Systèmes Senior / Senior System Administrator PointPub Communications. - Laval, Canada (514) 867-1079 [EMAIL PROTECTED] www.pointpub.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP 4.3.11 on FreeBSD 5.4 amd64
Hi all, For some reason, when I compile php on my FreeBSD 5.4 machine (amd64 architecture), it is not creating the shared object file. Here is my config : ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp --with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper --enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf --with-freetype-dir=/usr/local/lib --enable-shared when I use this same config on a 4.11 FreeBSD, it works fine. I will probably post this on the FreeBSD lists, but I figured I would ask here first. Everything appears to compile properly (no errors out of the usual)... Any ideas why the compilation would not create a shared object for me to install on apache ??? Apache is 1.3.33 and compiles and works fine... Thanks, Tim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP 4.3.3 with large file support
Ok, I am using Apache 2.0.51, and PHP 4.3.8. I compiled both srpms with the "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" added to the CFLAGS. Attached is the last few lines of an strace httpd -X. Compiling without these flags works fine. ## strace ### brk(0) = 0x80119000 brk(0x8013a000) = 0x8013a000 fcntl64(8, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(8, 0x801194d8, 8000) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 30) = 1 read(8, "GET /index.php HTTP/1.1\r\nHost: t"..., 8000) = 784 gettimeofday({1106860629, 791325}, NULL) = 0 stat64("/var/www/html/index.php", {st_mode=S_IFREG|0744, st_size=24699, ...}) = 0 open("/var/www/html/index.php", O_RDONLY) = 9 read(9, " Jon wrote: > > I'm running Fedora Core 1, all packages up to date. I want to add large > > file support to php. I downloaded the source rpm. Added > > "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to CFLAGS in the spec file, > > rebuilt the rpm and installed it. Apache starts fine but I get > > "[notice] child pid exit signal Segmentation fault (11)" when ever > > I request a page. Compiling the same source without those flags works > > fine. I must be missing something, but I am in way over my head. Can > > someone tell me what I am doing wrong? > > > > You did not mention your apache version and php setup (mod_php vs. cgi) > IMHO if you are using mod_php, both apache and php must be compiled with > the same _FILE_OFFSET_BITS or you get segmen. fault. LFS is available on > for apache 2.X only. CGI should not be affected as it's another process. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP 4.3.3 with large file support
Jon wrote: I'm running Fedora Core 1, all packages up to date. I want to add large file support to php. I downloaded the source rpm. Added "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to CFLAGS in the spec file, rebuilt the rpm and installed it. Apache starts fine but I get "[notice] child pid exit signal Segmentation fault (11)" when ever I request a page. Compiling the same source without those flags works fine. I must be missing something, but I am in way over my head. Can someone tell me what I am doing wrong? You did not mention your apache version and php setup (mod_php vs. cgi) IMHO if you are using mod_php, both apache and php must be compiled with the same _FILE_OFFSET_BITS or you get segmen. fault. LFS is available on for apache 2.X only. CGI should not be affected as it's another process. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP 4.3.3 with large file support
I'm running Fedora Core 1, all packages up to date. I want to add large file support to php. I downloaded the source rpm. Added "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to CFLAGS in the spec file, rebuilt the rpm and installed it. Apache starts fine but I get "[notice] child pid exit signal Segmentation fault (11)" when ever I request a page. Compiling the same source without those flags works fine. I must be missing something, but I am in way over my head. Can someone tell me what I am doing wrong? Thanks, Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with external mySQL libraries
DAvid wrote: > 1) Does adding 'shared,' as a ./configure option mean the module is > compiled > as an external, dynamically loaded module as compared to the module being > statically linked into the 'exe' file? So that adding 'shared,' means I > must > add a line in the PHP ini file to load the extension (or load with a > funcion > call). Yes. 'shared' ==> .dll or .so dynamic library to load in 'static' ==> library is bundled into php binary > 2) When configuring PHP with mysql support by something like > '--with-mysql=/usr' does it automatically create a shared module? i.e do > both these following configs produce the same result '--with-mysql=/usr' > and > '--with-mysql=shared,/usr'? No. 'shared' creates the DLL/.so and you need to load it. absence of 'shared' means it's bundled in. > The reason I ask, is I see many PHP info pages that specify > '--with-mysql=[DIR]' without the 'shared,' bit, and they do specify an > external library with the [DIR] part, but in the mysql info section > 'MYSQL_MODULE_TYPE' shows as 'external'. I thought 'shared,' would have to > be added to create an external dynamic loaded module? 'external' versus 'built-in' is another wrinkle. Here's how I understand it: 'shared' versus 'static' is the usual for libraries. There's a MySQL guy on the PHP team, who also provides a 'built-in' versus 'external' MySQL. He basically maintains a copy of the MySQL library *directly* in PHP source code. So it breaks down like: Built-in -- source code *in* PHP source External -- usual deal of source code from MySQL static -- bundle MySQL library into php binary shared -- create DLL/.so library to be loaded in I don't think the static/shared option has any meaning under 'Built-in' -- 'Built-in' is kind of like static inherently, only even more so. I'm not sure of the benefits of 'built-in'... Performance gain??? Convenience of not needing to get ./configure to find MySQL source??? Bragging rights for PHP and MySQL??? :-) The downside is that you'be *GOT* to run the exact same version of MySQL that is built-in to PHP source -- If that's on 4.x.y and you're running 4.x.(y+1) don't go there. If you manage to get it to run, you'll run this risk that eventually you'll run across that *one* function that changed betwween y and (y+1) and "Bam!" you've got a nasty bug. The pros and cons of 'static' versus 'shared' are pretty well-documented elsewhere and are common enough to enough modules and other software packages with the same structure. But 'built-in' versus 'external' I'm not sure if that's been documented why/when... Maybe Google for it. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP with external mySQL libraries
1) Does adding 'shared,' as a ./configure option mean the module is compiled as an external, dynamically loaded module as compared to the module being statically linked into the 'exe' file? So that adding 'shared,' means I must add a line in the PHP ini file to load the extension (or load with a funcion call). 2) When configuring PHP with mysql support by something like '--with-mysql=/usr' does it automatically create a shared module? i.e do both these following configs produce the same result '--with-mysql=/usr' and '--with-mysql=shared,/usr'? The reason I ask, is I see many PHP info pages that specify '--with-mysql=[DIR]' without the 'shared,' bit, and they do specify an external library with the [DIR] part, but in the mysql info section 'MYSQL_MODULE_TYPE' shows as 'external'. I thought 'shared,' would have to be added to create an external dynamic loaded module? Thanks for the help! If I posted this in the wrong group, please excuse me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)
On Monday 03 January 2005 08:18, Aaron Paulley wrote: > The error I'm getting when running ./configure is this: > > configure: error: libjpeg.(a|so) not found. > > > I know libjpeg is installed, I just installed it. Here is my ./configure: Assuming that you have installed it in a fairly standard location then ... > --with-jpeg-dir=/usr/lib ... that should be --with-jpeg-dir=/usr > Side question - if there's anything I'm missing in my ./configure that > I should have in it, please let me know. That would depend entirely on what extensions you require. If this is for a production machine then it would be useful to have: --enable-memory-limit and enforce it in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* In Seattle, Washington, it is illegal to carry a concealed weapon that is over six feet in length. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)
Aaron Paulley wrote: The error I'm getting when running ./configure is this: configure: error: libjpeg.(a|so) not found. I know libjpeg is installed, I just installed it. Here is my ./configure: ./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml --enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr/lib --with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars --enable-versioning --with-zlib --enable-bcmath --enable-calendar --with-xpm-dir=/usr/X11R6 Why did you use /usr/lib for jpeg but /usr for png? /usr is correct. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling PHP error, please help (configure: error: libjpeg.(a|so) not found.)
The error I'm getting when running ./configure is this: configure: error: libjpeg.(a|so) not found. I know libjpeg is installed, I just installed it. Here is my ./configure: ./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml --enable-ftp --with-gd --enable-magic-quotes --with-jpeg-dir=/usr/lib --with-mcrypt --with-png-dir=/usr --enable-sockets --enable-track-vars --enable-versioning --with-zlib --enable-bcmath --enable-calendar --with-xpm-dir=/usr/X11R6 Side question - if there's anything I'm missing in my ./configure that I should have in it, please let me know. This is my first from-scratch PHP install. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] Compiling PHP Source guides
Hello Raditha, Thursday, December 23, 2004, 3:26:47 PM, you wrote: >> The 'F' in RTFM really means >>'Fine' when used in a PHP context. RD> poor Greg, the political correctness monitors are going to fall on him RD> like a ton of bricks. :) and I have to say - the "F" in RTFM has NEVER stood for "Fine" in my books :) Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I am not young enough to know everything." - Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] Compiling PHP Source guides
On Thu, 23 Dec 2004 16:33:30 +, Richard Davey <[EMAIL PROTECTED]> wrote: > and I have to say - the "F" in RTFM has NEVER stood for "Fine" in my > books :) You people and your double quotes.. pffftt. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Greg Donald wrote: On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote: I do have a rudimentary knowledge of *nix stuff I don't mean to offend, but it doesn't really seem so. Basic *nix skills usually include knowing how to configure, compile, and install software from source. The PHP docs explain in very explicit detail how to do it, and I have to say you won't find any more hand holding than you get with PHP documentation. The 'F' in RTFM really means 'Fine' when used in a PHP context. poor Greg, the political correctness monitors are going to fall on him like a ton of bricks. -- Raditha Dissanayake. -- http://www.radinks.com/print/card-designer/ | Card Designer Applet http://www.radinks.com/upload/ | Drag and Drop Upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Greg Donald wrote: On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote: I do have a rudimentary knowledge of *nix stuff I don't mean to offend, but it doesn't really seem so. Basic *nix skills usually include knowing how to configure, compile, and install software from source. The PHP docs explain in very explicit detail how to do it, and I have to say you won't find any more hand holding than you get with PHP documentation. The 'F' in RTFM really means 'Fine' when used in a PHP context. and am very computer literate, but most of the programming I have done is with scripting languages such as Actionscript, Javascript, PHP etc. I realy have no idea about compiling source code. If your download is still compressed you need to uncompress it. Depending on the download's file extension you will need to use one of these commands: tar zxvf php-4.3.10.tar.gz tar jxvf php-4.3.10.tar.bz2 Then you change to the source directory: cd php-4.3.10/ Then you configure the source: ./configure You will need to add your desired compile options in the ./configure command. I have no idea what support you want to build into your PHP. If you don't either you might look at: ./configure --help Then after you're done with the configure, you compile the software: make Then you probably want to install the software permanently to a system-wide location (or you might not, I don't know). On *nix the usual install locations are somewhere like /usr or /usr/local, which can be defined in the configure with --prefix if you don't want the default location. So then to do the actual install you would do: make install Then your php binary will be /usr/bin/php or /usr/local/bin/php. There's also the configure option to build your PHP as a module for use with a web server such as Apache. For that you might use a configure command something like: ./configure --enable-module=so --with-apxs=/usr/sbin/apxs I was just hoping for something in laymans terms I guess... I would guess it's hard to talk about heart surgery without talking about heart surgery. Same goes for compiling software. The commands are pretty explicit and you have to know what your doing to get the desired results. It's no disgrace to not know, once upon a time I didn't know.. but I read lots of docs, and I asked many questions and I learned. I got a few flames along the way but that's part of knowing *nix I guess. :) Several companies I've worked for in the past have brought in outside consultants when something would come up that we didn't have skills for in-house. On that note, you might consider talking with a consultant or even getting them to do your PHP install for you if in the end you give up and cannot figure it out. Make them document the process as part of the deal. Thanks for your responses. Wish me luck. Good luck. Thanks for the info. I do understand that *nix usage generaly relies on a lot of compiling software, but I have been relying on pre-compiled RPMs so far. I am by no means an expert, or even intermediate *nix user, which is why I used the term "rudimentary". I have been running 6 Linux servers for a small company for about a year now learning as I go. I knew nothing about *nix when I started and considering most of my other responsibilities leave very little time to learn and experiment on the Linux systems I dont think I've done too badly. P.S. You didnt offend me, I just wanted to explain my situation. Thanks again for the help. Donald Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote: > I do have a rudimentary knowledge of *nix stuff I don't mean to offend, but it doesn't really seem so. Basic *nix skills usually include knowing how to configure, compile, and install software from source. The PHP docs explain in very explicit detail how to do it, and I have to say you won't find any more hand holding than you get with PHP documentation. The 'F' in RTFM really means 'Fine' when used in a PHP context. > and am very computer > literate, but most of the programming I have done is with scripting > languages such as Actionscript, Javascript, PHP etc. I realy have no > idea about compiling source code. If your download is still compressed you need to uncompress it. Depending on the download's file extension you will need to use one of these commands: tar zxvf php-4.3.10.tar.gz tar jxvf php-4.3.10.tar.bz2 Then you change to the source directory: cd php-4.3.10/ Then you configure the source: ./configure You will need to add your desired compile options in the ./configure command. I have no idea what support you want to build into your PHP. If you don't either you might look at: ./configure --help Then after you're done with the configure, you compile the software: make Then you probably want to install the software permanently to a system-wide location (or you might not, I don't know). On *nix the usual install locations are somewhere like /usr or /usr/local, which can be defined in the configure with --prefix if you don't want the default location. So then to do the actual install you would do: make install Then your php binary will be /usr/bin/php or /usr/local/bin/php. There's also the configure option to build your PHP as a module for use with a web server such as Apache. For that you might use a configure command something like: ./configure --enable-module=so --with-apxs=/usr/sbin/apxs > I was just hoping for something in laymans terms I guess... I would guess it's hard to talk about heart surgery without talking about heart surgery. Same goes for compiling software. The commands are pretty explicit and you have to know what your doing to get the desired results. It's no disgrace to not know, once upon a time I didn't know.. but I read lots of docs, and I asked many questions and I learned. I got a few flames along the way but that's part of knowing *nix I guess. :) Several companies I've worked for in the past have brought in outside consultants when something would come up that we didn't have skills for in-house. On that note, you might consider talking with a consultant or even getting them to do your PHP install for you if in the end you give up and cannot figure it out. Make them document the process as part of the deal. > Thanks for your responses. > > Wish me luck. Good luck. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re: [PHP] Compiling PHP Source guides
> OK, I guess I'll try to read the instructions again. I *have* tried > reading them on multiple occasions but its just greek to me. Then your next question to the list should be along the lines of: "I have tried the instructions at http://... I got to step X and couldn't get any further. I typed in xxx and expected to see xxx, but saw xxx. I'm using xxx as my OS and trying to compile PHP version xxx. Can anyone help me through the next step?" Good luck. :) ---John Holmes... UCCASS - PHP Survey System http://www.bigredspark.com/survey.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
[EMAIL PROTECTED] wrote: Quoting Donald Tyler <[EMAIL PROTECTED]>: I did RTFM. The exact page you linked to in fact: QUOTE: Requirements In order to have these functions available, you must compile PHP with support for the mysqli extension. END QUOTE That is the whole point of my request. I need a guide explaining *how* to compile the PHP Source. The directions to compile the PHP source *are* on the page at http://us4.php.net/manual/en/install.unix.php -- you compile it using the "make" steps in the directions there. (But it seems the problem is that you don't recognize those as compilation instructions, which is understandable if you're a newbie. The page also says that Basic Unix skills (being able to operate "make" and a C compiler) are a prerequisite, so you probably should find a person you can rely on to deliver those skills repeatably or teach them to you, which is not something you really get from a mailing list. Get a good intor Unix book. After all, you wouldn't expect that if you subscribed to a heart surgery mailing list and said "I'm a complete newbie -- can you tell me how to do a quadruple bypass?" someone would step you through it? Yes, there are differences in degree, but...! :) OK, I guess I'll try to read the instructions again. I *have* tried reading them on multiple occasions but its just greek to me. I do have a rudimentary knowledge of *nix stuff and am very computer literate, but most of the programming I have done is with scripting languages such as Actionscript, Javascript, PHP etc. I realy have no idea about compiling source code. I was just hoping for something in laymans terms I guess... Thanks for your responses. Wish me luck. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Donald Tyler wrote: I did RTFM. The exact page you linked to in fact: QUOTE: Requirements In order to have these functions available, you must compile PHP with support for the mysqli extension. END QUOTE That is the whole point of my request. I need a guide explaining *how* to compile the PHP Source. Compile the PHP source the same way you would compile any other source. If you don't know how to compile at all, I suggest going to Google and typing in something like "How to compile source code " -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
if you want to know/have a rough guide on building/compiling php with mysql/mysqli support, the following link should help you out... although it's for linux.. http://marc.theaimsgroup.com/?l=php-general&m=109026859726530&w=2 it kind of walks you through what you need to do.. hope it helps... peace.. -Original Message- From: [EMAIL PROTECTED] Sent: Dec 22, 2004 2:10 PM To: Donald Tyler <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Subject: Re: [PHP] Compiling PHP Source guides Quoting Donald Tyler <[EMAIL PROTECTED]>: > I did RTFM. The exact page you linked to in fact: > > QUOTE: > > > Requirements > > In order to have these functions available, you must compile PHP with > support for the mysqli extension. > > > END QUOTE > > That is the whole point of my request. I need a guide explaining *how* > to compile the PHP Source. The directions to compile the PHP source *are* on the page at http://us4.php.net/manual/en/install.unix.php -- you compile it using the "make" steps in the directions there. (But it seems the problem is that you don't recognize those as compilation instructions, which is understandable if you're a newbie. The page also says that Basic Unix skills (being able to operate "make" and a C compiler) are a prerequisite, so you probably should find a person you can rely on to deliver those skills repeatably or teach them to you, which is not something you really get from a mailing list. Get a good intor Unix book. After all, you wouldn't expect that if you subscribed to a heart surgery mailing list and said "I'm a complete newbie -- can you tell me how to do a quadruple bypass?" someone would step you through it? Yes, there are differences in degree, but...! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Quoting Donald Tyler <[EMAIL PROTECTED]>: > I did RTFM. The exact page you linked to in fact: > > QUOTE: > > > Requirements > > In order to have these functions available, you must compile PHP with > support for the mysqli extension. > > > END QUOTE > > That is the whole point of my request. I need a guide explaining *how* > to compile the PHP Source. The directions to compile the PHP source *are* on the page at http://us4.php.net/manual/en/install.unix.php -- you compile it using the "make" steps in the directions there. (But it seems the problem is that you don't recognize those as compilation instructions, which is understandable if you're a newbie. The page also says that Basic Unix skills (being able to operate "make" and a C compiler) are a prerequisite, so you probably should find a person you can rely on to deliver those skills repeatably or teach them to you, which is not something you really get from a mailing list. Get a good intor Unix book. After all, you wouldn't expect that if you subscribed to a heart surgery mailing list and said "I'm a complete newbie -- can you tell me how to do a quadruple bypass?" someone would step you through it? Yes, there are differences in degree, but...! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Donald Tyler wrote: I did RTFM. The exact page you linked to in fact: QUOTE: Requirements In order to have these functions available, you must compile PHP with support for the mysqli extension. END QUOTE That is the whole point of my request. I need a guide explaining *how* to compile the PHP Source. OK... what OS are you compiling for? What extensions do you want? PHP as a module or as a standalone? I understand that you haven't done this before... but you need to be more specific in your question if you want a more specific answer. -- Teach a person to fish... Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html PHP Manual: http://php.net/manual/ php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
I did RTFM. The exact page you linked to in fact: QUOTE: Requirements In order to have these functions available, you must compile PHP with support for the mysqli extension. END QUOTE That is the whole point of my request. I need a guide explaining *how* to compile the PHP Source. John Nichel wrote: Donald Tyler wrote: Hi, I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. My reason is that I need MySQL 4 support, but I would like to get a general overview of compiling a program source in general. Thanks in advance. Donald Tyler I'd say RTFM, but I don't want to offend anyone's sensibilities, so... http://us4.php.net/manual/en/install.unix.php MySQL up too 4.0... http://us4.php.net/manual/en/ref.mysql.php MySQL >= 4.1 http://us4.php.net/manual/en/ref.mysqli.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
John Nichel wrote: Donald Tyler wrote: Hi, I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. What OS are you using? I have found compiling on Windows to be a bit tricky actually... especially if you're using cygwin. The best help to start with is help from the command line during the build process, but if you get stuck feel free to post a question here. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Donald Tyler wrote: Hi, I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. My reason is that I need MySQL 4 support, but I would like to get a general overview of compiling a program source in general. Thanks in advance. Donald Tyler I'd say RTFM, but I don't want to offend anyone's sensibilities, so... http://us4.php.net/manual/en/install.unix.php MySQL up too 4.0... http://us4.php.net/manual/en/ref.mysql.php MySQL >= 4.1 http://us4.php.net/manual/en/ref.mysqli.php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP Source guides
Donald Tyler wrote: I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. PHP is a scripting language, no need to compile it. If you're really new, 2 links from the PHP home page A simple tutorial http://www.php.net/tut.php PHP Documentation http://www.php.net/docs.php If you mean compiling php itself (not a php script written in PHP), then go read the PHP manual: II. Installation and Configuration http://www.php.net/manual/en/install.php My reason is that I need MySQL 4 support, Just check the manual. MySQL functions can be used within PHP, with the mysql or mysqli extensions (see links below). Under Linux, it comes in packages like mysql-server, php4, php4-mysql, etc and you can simply install these packages. LXX. MySQL Functions http://www.php.net/manual/en/ref.mysql.php "In PHP 5, MySQL is no longer enabled by default, nor is the MySQL library bundled with PHP. Read this FAQ http://www.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5 for details on why." LXXI. Improved MySQL Extension, PHP Manual http://www.php.net/manual/en/ref.mysqli.php "The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above" but I would like to get a general overview of compiling a program source in general. On Unix/Linux like systems, it's something like $ tar xzf soft-1.0.tar.gz $ cd soft-1.0 $ ./configure $ make $ su - (to become root, if it's your box) # make install Christophe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP Source guides
Hi, I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. My reason is that I need MySQL 4 support, but I would like to get a general overview of compiling a program source in general. Thanks in advance. Donald Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with extension; CLI works, Apache doesn't
* Thus wrote Aaron Gould: > I just compiled PHP with an extension for testing purposes > (mnoGoSearch). After all was said and done, the CLI version sees the > mnogosearch extension just fine ("php -m"), but the Apache module > doesn't see it at all (nothing "mnogosearch" related at all in "PHPINFO()"). Looks good, few things I would check: 1. Did you restart apache? 2. did the libphp.so make it to the right apache directory 3. the extension_dir set to the right place. Curt -- Quoth the Raven, "Nevermore." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP with extension; CLI works, Apache doesn't
I just compiled PHP with an extension for testing purposes (mnoGoSearch). After all was said and done, the CLI version sees the mnogosearch extension just fine ("php -m"), but the Apache module doesn't see it at all (nothing "mnogosearch" related at all in "PHPINFO()"). I've added "extension=mnogosearch.so" to php.ini. I'm pretty sure that with other extensions I've tried in the past, there was nothing special necessary to make an extension work among the different PHP APIs. My PHP compile line: ./configure --prefix=/usr/local/php \ --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr \ --with-gettext --enable-ftp --with-zlib --with-pspell --with-curl \ --with-mcrypt --with-mnogosearch=shared,/usr/local/mnogosearch \ --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --disable-cgi The vital server software: PHP 5.0.2 Apache 1.3.31 RH Enterprise Linux 3 (Update 3) Am I missing something? -- Aaron Gould Parts Canada - Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP 5.0.0 on Windows with IIS 5.1
Could anyone explain how to install PHP 5 on Windows running IIS 5.1? I following the supplied instructions but the extensions were not loading and I had them configured correctly in php.ini and when I would create a phpinfo page, there would be access errors and the PHP and Zend logos would not display for some reason. Any help would be greatly appreciated. Thanks, Sean Vasey
Re: [PHP] Compiling PHP with mnoGoSearch fails
Aaron Gould wrote: Has anyone here had recent success compiling PHP with mnoGoSearch? Consider ASPSeek. It's a spin off from mnogo. It does have a lot of other benefits including faster speeds. -- Raditha Dissanayake. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with mnoGoSearch fails
John Nichel wrote: Aaron Gould wrote: Curt Zirzow wrote: * Thus wrote Aaron Gould ([EMAIL PROTECTED]): "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's make, I get all sorts of errors at the end of the compilation: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' Just a guess but mnogosearch have mysql compiled staticly in its library? I tried configuring both mnoGoSearch and PHP with shared libs and it still did not work together (same errors). I just tried mnoGoSearch withouth the MySQL support and it did work. I suppose at least that will work well enough to let me know what mnoGoSearch is all about. I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 4.0.18). They've only tested with 3.21, 3.22 and 3.23. I had the same problem. We're running mnoGoSearch just fine on our production box using MySQL 3.x, but on one of our development machines, we're running MySQL 4.x. mnoGoSearch configured/compiled/installed fine on that box, but php barfed on compile. We then reinstalled mnoGoSearch, configuring it with --with-built-in, and then PHP built fine. Good to know it's not just my machine, thanks! I've just run a few tests and it seems mnoGoSearch will fill our need. Hopefully they'll soon have MySQL 4.x supported though! -- Aaron Gould Parts Canada - Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with mnoGoSearch fails
Aaron Gould wrote: Curt Zirzow wrote: * Thus wrote Aaron Gould ([EMAIL PROTECTED]): "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's make, I get all sorts of errors at the end of the compilation: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' Just a guess but mnogosearch have mysql compiled staticly in its library? I tried configuring both mnoGoSearch and PHP with shared libs and it still did not work together (same errors). I just tried mnoGoSearch withouth the MySQL support and it did work. I suppose at least that will work well enough to let me know what mnoGoSearch is all about. I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 4.0.18). They've only tested with 3.21, 3.22 and 3.23. I had the same problem. We're running mnoGoSearch just fine on our production box using MySQL 3.x, but on one of our development machines, we're running MySQL 4.x. mnoGoSearch configured/compiled/installed fine on that box, but php barfed on compile. We then reinstalled mnoGoSearch, configuring it with --with-built-in, and then PHP built fine. -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with mnoGoSearch fails
Curt Zirzow wrote: * Thus wrote Aaron Gould ([EMAIL PROTECTED]): "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's make, I get all sorts of errors at the end of the compilation: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' Just a guess but mnogosearch have mysql compiled staticly in its library? I tried configuring both mnoGoSearch and PHP with shared libs and it still did not work together (same errors). I just tried mnoGoSearch withouth the MySQL support and it did work. I suppose at least that will work well enough to let me know what mnoGoSearch is all about. I wonder if mnoGoSearch does not truly support MySQL 4.x (I'm on 4.0.18). They've only tested with 3.21, 3.22 and 3.23. -- Aaron Gould Parts Canada - Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with mnoGoSearch fails
Curt Zirzow wrote: * Thus wrote Aaron Gould ([EMAIL PROTECTED]): "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's make, I get all sorts of errors at the end of the compilation: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' Just a guess but mnogosearch have mysql compiled staticly in its library? Curt That just occurred to me as well, although it's just a guess for me as well. Upon checking mnoGoSearch's configuration help, it appears the default is static. I'll see if I can get it working as shared... -- Aaron Gould Parts Canada - Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with mnoGoSearch fails
* Thus wrote Aaron Gould ([EMAIL PROTECTED]): > "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's > make, I get all sorts of errors at the end of the compilation: > > /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple > definition of `mysql_port' Just a guess but mnogosearch have mysql compiled staticly in its library? Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP with mnoGoSearch fails
Has anyone here had recent success compiling PHP with mnoGoSearch? I'm trying to get PHP 4.3.7 and mnoGoSearch 3.1.21 to work together, but it's just not working. mnoGoSearch configures and installs fine (in "/usr/local/mnogosearch"), and PHP configures fine. But during PHP's make, I get all sorts of errors at the end of the compilation: /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of `mysql_port' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple definition of `mysql_unix_port' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0xc): multiple definition of `net_buffer_length' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0xc): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x10): multiple definition of `max_allowed_packet' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x10): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x14): multiple definition of `net_read_timeout' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x14): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x18): multiple definition of `net_write_timeout' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x18): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x0): In function `mysql_server_init': : multiple definition of `mysql_server_init' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x0): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x16c0): In function `mysql_once_init': : multiple definition of `mysql_once_init' /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x16c0): first defined here /usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x10): In function `mysql_server_end': ... (and many more lines like this, substituting "mysql_server_end" with other mysql-related items). It certainly seems MySQL related. Any ideas? Here's my PHP configure line: ./configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache/bin/apxs --enable-trans-sid --enable-inline-optimization --with-gettext --enable-ftp --with-zlib --with-pspell --with-curl --with-imap --with-kerberos --with-xml --with-mcrypt --with-mnogosearch=/usr/local/mnogosearch --with-mysql=/usr Thanks, -- Aaron Gould Parts Canada - Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php with mysql ver3 or 4
--- Richard Kurth <[EMAIL PROTECTED]> wrote: > Hello , > > How can I compile PHP so that it does not mater > what version of > mysql is installed. > If I compile it for mysql 3.X and then upgrade > mysql to ver 4 > PHP will not install. > I get error while loading shared libraries: > libmysqlclient.so.12: cannot open shared object file > > this is how I am compiling php It is being > compiled into Apache not > as a DSO > > ./configure --prefix=/usr/php --with-mysql=/usr/ > --with-config-file-path=/usr/conf > --with-exec-dir=/usr/apache/bin --disable-debug > --enable-safe-mode > --enable-magic-quotes --enable-debugger > --enable-track-vars --with-ftp --enable-sockets > --enable-ftp --with-apache=../apache > make > make install > I don't have a Linux box where I can test out my suggestion to you, but here is what you can try: 1. from your php directory: rm config.cache 2. after that command, run: make clean That should take care of the previous PHP installation. Now try running your ./configure, make, and make install as you have listed above. By the way, your "--with-mysql=/usr/" does not look like a complete path to your MySQL installation. Of course, I cannot say for sure... you know better than I do where it is installed and what the directory is called. = ~Rachel __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php with mysql ver3 or 4
Hello , How can I compile PHP so that it does not mater what version of mysql is installed. If I compile it for mysql 3.X and then upgrade mysql to ver 4 PHP will not install. I get error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file this is how I am compiling php It is being compiled into Apache not as a DSO ./configure --prefix=/usr/php --with-mysql=/usr/ --with-config-file-path=/usr/conf --with-exec-dir=/usr/apache/bin --disable-debug --enable-safe-mode --enable-magic-quotes --enable-debugger --enable-track-vars --with-ftp --enable-sockets --enable-ftp --with-apache=../apache make make install -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP on a Itanium 64bits
Does anybody knows how can i compile (or get a compiled binary) for php that works on a Itanium runing on a Windows Server @ 64 bits? I try searching for a gcc version for the Itanium processor but i couln't found any avaliable, does anybody know were i can find any compiler that works? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php with sablot and curl
Hi there, in my previous post I wrote that I tryed to install php4.x with apache2.x and it generated problems with a module. Now I installed apache 1.3.29 and it still does throw the same errors during make of php4.x My guess is that this is coused because I have compiled sablot and curl by hand, while it was already installed and now the versions get into conflict. I dont know how to solve this. This is what make says: /home/merlin/sw/php-4.3.5/ext/curl/curl.c:898: warning: passing arg 2 of `curl_formadd' from incompatible pointer type make: *** [ext/curl/curl.lo] Error 1 If I configure without curl another error exits the make: /usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Has anybody an idea? Many thanx in advance! Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP classes/libraries to objects
On Monday 08 March 2004 04:44 pm, Tariq Murtaza wrote: > Hi All > > Is there any way to use compiled form of libraries/classes in PHP. > Comments please... http://turck-mmcache.sourceforge.net/ > > Regards, > Tariq -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP classes/libraries to objects
Hi All Is there any way to use compiled form of libraries/classes in PHP. Comments please... Regards, Tariq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling php for MySQL and Apache 2 Newbie
Hi James, James Marcinek wrote: >Hello Everyone, > >I'm still having problems compiling the latest version of PHP. I have >several issues > >- The apache 2 that was installed was from a Red Hat package. From what I >can tell it is configured in a manner that is similar to the >with-apxs2filter. The configuration file that point to this kind of >installation is already configured in apache. However there is no perl >script apxs of any kind. > > > install httpd-devel package. I believe it contains the apxs module. HTH R'twick Niceorgaw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling php for MySQL and Apache 2 Newbie
Hello Everyone, I'm still having problems compiling the latest version of PHP. I have several issues - The apache 2 that was installed was from a Red Hat package. From what I can tell it is configured in a manner that is similar to the with-apxs2filter. The configuration file that point to this kind of installation is already configured in apache. However there is no perl script apxs of any kind. My question is can somebody tell me how to set up the configure to include apache 2 and MySQL without the apxs? When I do a whereis mysql I get the following: mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz When I do a whereis httpd (The RH distro uses httpd instead of apachectl BUT it is still there as well): httpd: /usr/sbin/httpd /etc/httpd /usr/lib/httpd /usr/share/man/man8/httpd.8.gz Before I was getting function not defined when I called the mysql_connect function, now the page is blank. I can still run php scripts that do not interact with a database with no problems. Any help is appreciated, Thanks James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP on Mandrake 9.1 with Interbase
Please, i d like to compile the php because i need to use Interbase I really dont know how to do it ! Has anyone a tutorial to compile it correctly ? thanks a lot any help Gugao -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php --with imap
On Tuesday 05 August 2003 02:26, Merlin wrote: > I want to upgrade to a newer php version (from 4.2.2 to 4.3.2) > > In order to do that I picked my old configure command to reproduce it. The > old php version was build with imap. Now I have found, that the directory > where the file is supposed to be has been removed (I guess I have "cleaned" > up my hard disc a while ago:-() However, the configure command had > following line: > > '--with-imap=/home/sw/horde/imap-2002.RC2' ' > > now the configure always checks for imap and does not find this file. It > has been removed. > > Can anybody "remind" me how to get this file again? I am lost, after trying > for 2 hours I gave up. Can anybody help me in this case? To get it from source http://www.washington.edu/imap/ But your best bet is probably to just install it form whatever distro you're using. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Year, n.: A period of three hundred and sixty-five disappointments. -- Ambrose Bierce, "The Devil's Dictionary" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php --with imap
* Thus wrote Merlin ([EMAIL PROTECTED]): > Hi there, > > I want to upgrade to a newer php version (from 4.2.2 to 4.3.2) > > In order to do that I picked my old configure command to reproduce it. The > old php version was build with imap. Now I have found, that the directory > where the file is supposed to be has been removed (I guess I have "cleaned" > up my hard disc a while ago:-() However, the configure command had following > line: > > '--with-imap=/home/sw/horde/imap-2002.RC2' ' > > now the configure always checks for imap and does not find this file. It has > been removed. you can remove the config.cache file and then reconfigure it with the proper options. > > Can anybody "remind" me how to get this file again? I am lost, after trying > for 2 hours I gave up. Can anybody help me in this case? there is info on that in the imap section in the online documentation. http://us4.php.net/imap btw, there is a php-install mailing list. You might get better support with a question like this. HTH, Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php --with imap
Hi there, I want to upgrade to a newer php version (from 4.2.2 to 4.3.2) In order to do that I picked my old configure command to reproduce it. The old php version was build with imap. Now I have found, that the directory where the file is supposed to be has been removed (I guess I have "cleaned" up my hard disc a while ago:-() However, the configure command had following line: '--with-imap=/home/sw/horde/imap-2002.RC2' ' now the configure always checks for imap and does not find this file. It has been removed. Can anybody "remind" me how to get this file again? I am lost, after trying for 2 hours I gave up. Can anybody help me in this case? Thanx in advance, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Compiling PHP
Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module [activating module `php4' in /etc/httpd/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/libphp4.so cp: cannot stat `libs/libphp4.so': No such file or directory apxs:Break: Command failed with rc=1 make: *** [install-sapi] Error 1 HAVE YOU CHECKED TO MAKE SURE THAT --with-apxs=/usr/sbin/ IS SET PROPERLY. IF YOU INSTALLED APACHE TO IT'S DEFAULT DIRECTORY THEN THIS SHOULD BE --with-apxs=/www/apache/bin/apxs. YOU MAY WANT TO CHECK THAT APXS IS PROPERLY INSTALLED WITH APACHE. BTW, this all stems from another admin on the server wanting to upgrade apache to 1.3.27 - when that was done, my php written in my scripts started failing. It doesn't even work now. Whenever I have a script that passes a value (example: a link going to somewhere.php?w=4), it does not process at all (nothing happens - so w doesn't do anything). Everything worked fine until this started... THIS SOUNDS LIKE A REGISTER GLOBALS ISSUE. AS OF PHP 4.2.0 REGISTER GLOBALS IS TURNED OFF BY DEFAULT. SO YOU CAN NO LONGER CALL A GET OR POST VARIABLE FROM YOUR SCRIPT BY SIMPLY SPECIFYING $w YOU MUST USE $_GET['w'] or $HTTP_GET_VARS['w'], IF DOING A FORM POST YOU MUST USE $_POST['w'] or $HTTP_POST_VARS['w'] (read: http://www.php.net/variables.predefined). IF YOU CANNOT MODIFY YOUR SCRIPT AT THE TIME, YOU CAN TURN REGISTER GLOBALS BACK TO ON BY EDITING YOUR PHP.INI FILE, AND SET REGISTER_GLOBALS = ON. BUT JUST KEEP IN MIND THAT TURNING REGISTER GLOBALS ON PRESENTS SECURITY RISKS. Read: http://www.php.net/manual/en/security.registerglobals.php --with-config-file-path=/usr/local/ DO YOU WANT TO PLACE PHP.INI FILE IN /usr/local/apache? BY DEFAULT THIS GOES IN /usr/local/lib/php.ini, IF YOU MUST CHANGE THIS I THINK IT WOULD BE MORE APPROPRIATE TO PUT IT IN YOUR /etc/ directory. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Compiling PHP
I went over what you commented on - thanks for the input. Most everything did indeed stay. This is what I get when going a make install now: Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module [activating module `php4' in /etc/httpd/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/libphp4.so cp: cannot stat `libs/libphp4.so': No such file or directory apxs:Break: Command failed with rc=1 make: *** [install-sapi] Error 1 BTW, this all stems from another admin on the server wanting to upgrade apache to 1.3.27 - when that was done, my php written in my scripts started failing. It doesn't even work now. Whenever I have a script that passes a value (example: a link going to somewhere.php?w=4), it does not process at all (nothing happens - so w doesn't do anything). Everything worked fine until this started... My config file I am using is now: ./configure --with-apxs=/usr/sbin/apxs --with-gd --with-mysql --with-png --w ith-pear --with-config-file-path=/usr/local/apache --with-zlib --with-jpeg --with-ttf --with-regex=php --with-db --with-gdbm --enable-mbstring --enable -mm=shared --enable-xml --with-db3 --with-pgsql=shared --with-ldap Thanks for any help, -Mike > -Original Message- > From: Ralph Guzman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 5:51 PM > To: 'Mike At Spy'; [EMAIL PROTECTED] > Subject: RE: [PHP] Compiling PHP > > > The error you are providing here is because you do not have the required > libraries installed. Some of these modules require that the programs or > libraries be installed, php does not install them for you. > > This is an extensive config. Are you sure you need all these. I see that > you are trying to enable pgsql, mySQL, interbase. Will you be running > all these databases on you server? > > I've looked through your config, and below are some notes I made. > > Hope this helps. > > > .. > > > >> --prefix=/usr > is there a reason why you must install php to /usr. The default > directory is /usr/local/lib? > > >> --with-apxs=/usr/sbin/apxs > is your apache compiled with mod_so for apxs support? > http://httpd.apache.org/docs/programs/apxs.html > > >> --enable-safe-mode > this may restrict some php functions > > >> --with-exec-dir=/usr/bin > this will allow executables in your /usr/bin directory. This might be a > security risk. Why not let it default to /usr/local/php/bin? > > >> --with-zlib > I think this should be --with-zlib-dir= > http://www.php.net/zlib > > >> --with-regex=system > PHP supports regular expressions by default. Why don't you use > --with-regex=php > http://www.php.net/regex > > >> --with-ttf > do you have the FreeType libraries installed? > http://www.php.net/image > > >> --with-db > does your server support this type of database? > http://www.php.net/manual/en/ref.dbm.php > > >> --with-gdbm > does your server support this type of database? > > >> --with-mbstring > do you need multi-byte character support? > http://www.php.net/mbstring > > >> --with-mbstr-enc-trans > not sure what this does. > > >> --with-libdir > not sure what this does. > > >> --with-interbase=shared > are you running Interbase on your server? > http://www.php.net/manual/en/ref.ibase.php > > >> --with-pgsql=shared > are you running PostgreSQL on your server? > http://www.php.net/manual/en/ref.pgsql.php > > >> --with-ldap > do you have LDAP libraries installed? > http://www.php.net/manual/en/ref.ldap.php > > >> --with-imap-ssl > I think this should be --with-imap-ssl=[DIR] > http://www.php.net/imap > > >> --with-mysql > are you running MySQL on your server? > http://www.php.net/manual/en/ref.mysql.php > > --with-gd > Do you have the GD library installed? > http://www.php.net/manual/en/ref.image.php > > --with-png > Do you have PNG library installed? > http://www.php.net/manual/en/ref.image.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Compiling PHP
The error you are providing here is because you do not have the required libraries installed. Some of these modules require that the programs or libraries be installed, php does not install them for you. This is an extensive config. Are you sure you need all these. I see that you are trying to enable pgsql, mySQL, interbase. Will you be running all these databases on you server? I've looked through your config, and below are some notes I made. Hope this helps. .. >> --prefix=/usr is there a reason why you must install php to /usr. The default directory is /usr/local/lib? >> --with-apxs=/usr/sbin/apxs is your apache compiled with mod_so for apxs support? http://httpd.apache.org/docs/programs/apxs.html >> --enable-safe-mode this may restrict some php functions >> --with-exec-dir=/usr/bin this will allow executables in your /usr/bin directory. This might be a security risk. Why not let it default to /usr/local/php/bin? >> --with-zlib I think this should be --with-zlib-dir= http://www.php.net/zlib >> --with-regex=system PHP supports regular expressions by default. Why don't you use --with-regex=php http://www.php.net/regex >> --with-ttf do you have the FreeType libraries installed? http://www.php.net/image >> --with-db does your server support this type of database? http://www.php.net/manual/en/ref.dbm.php >> --with-gdbm does your server support this type of database? >> --with-mbstring do you need multi-byte character support? http://www.php.net/mbstring >> --with-mbstr-enc-trans not sure what this does. >> --with-libdir not sure what this does. >> --with-interbase=shared are you running Interbase on your server? http://www.php.net/manual/en/ref.ibase.php >> --with-pgsql=shared are you running PostgreSQL on your server? http://www.php.net/manual/en/ref.pgsql.php >> --with-ldap do you have LDAP libraries installed? http://www.php.net/manual/en/ref.ldap.php >> --with-imap-ssl I think this should be --with-imap-ssl=[DIR] http://www.php.net/imap >> --with-mysql are you running MySQL on your server? http://www.php.net/manual/en/ref.mysql.php --with-gd Do you have the GD library installed? http://www.php.net/manual/en/ref.image.php --with-png Do you have PNG library installed? http://www.php.net/manual/en/ref.image.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Compiling PHP
Actually, I think I found the issue. Now I am getting: configure: error: build test failed. And I changed my config to be: ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd --with-mysql --with-png --with-pear --with-gettext=/usr --enable-safe-mode --with-config- file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quo tes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring - -enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm =shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/local/l ib --with-db3 --with-interbase=shared --with-pgsql=shared --with-ldap --with -imap --with-pdflib=shared --with-kerberos Anyone have any ideas? I'm on linux redhat 7.3. Thanks, -Mike > -Original Message- > From: Mike At Spy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 3:47 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Compiling PHP > > > > I am doing a new compile of PHP (4.3.3) - anyone know what this error is? > > configure: error: libgds or libib_util not found! > > Here is my configuration: > > ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs > --enable-safe-mode --wi > th-config-file-path=/etc/httpd --with-exec-dir=/usr/bin > --with-zlib --enable > -magic-quotes --with-regex=system --with-ttf --with-db > --with-gdbm --with-mb > string --with-mbstr-enc-trans --enable-track-vars > --enable-wddx=shared --ena > ble-mm=shared --enable-xml --disable-debug --with-libdir > --with-interbase=s > hared --with-pgsql=shared --with-ldap --with-imap-ssl > --with-mysql --disable > -url-fopen-wrapper --with-gd --with-png --with-pear > > Thanks for any help! > > -Mike > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP
I am doing a new compile of PHP (4.3.3) - anyone know what this error is? configure: error: libgds or libib_util not found! Here is my configuration: ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode --wi th-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable -magic-quotes --with-regex=system --with-ttf --with-db --with-gdbm --with-mb string --with-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --ena ble-mm=shared --enable-xml --disable-debug --with-libdir --with-interbase=s hared --with-pgsql=shared --with-ldap --with-imap-ssl --with-mysql --disable -url-fopen-wrapper --with-gd --with-png --with-pear Thanks for any help! -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php with -DEAPI
i had compiled php php-4.3.0 for apache. When i start apache: httpd: [Tue Feb 18 15:13:49 2003] [warn] Loaded DSO /usr/libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) as wrote i had recompiled php: > CFLAGS='-DEAPI' configure . and nothing had been changed. what should i do? php do not register variables submitted with url-name (host/index.php?param=value) ? php.ini contains: variables_order = "EGPCS" ; register_globals= On ; register_argc_argv = On ; what have i missed? how to fix it? Agri msg97343/pgp0.pgp Description: PGP signature
[PHP] compiling php 4.3.0 with gd
I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg and with-freetype. I have installed both png,jpg and freetype2 from a tar file. I was finally able to get it through the configure stage with no errors but now when I run make I am getting the following error. I have know idea what to do now. It looks like there are a bunch of parser errors in the freetype2 files I installed. Do I need to install then a second time In file included from /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:50: /usr/local/include/freetype2/freetype/ftglyph.h:104: parse error before `FT_Library' /usr/local/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end of struct or union /usr/local/include/freetype2/freetype/ftglyph.h:106: parse error before `format' /usr/local/include/freetype2/freetype/ftglyph.h:106: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:107: parse error before `advance' /usr/local/include/freetype2/freetype/ftglyph.h:107: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:109: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:156: parse error before `FT_GlyphRec' /usr/local/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon at end of struct or union /usr/local/include/freetype2/freetype/ftglyph.h:157: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:158: parse error before `top' /usr/local/include/freetype2/freetype/ftglyph.h:158: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:159: parse error before `bitmap' /usr/local/include/freetype2/freetype/ftglyph.h:159: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:161: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:204: parse error before `FT_GlyphRec' /usr/local/include/freetype2/freetype/ftglyph.h:204: warning: no semicolon at end of struct or union /usr/local/include/freetype2/freetype/ftglyph.h:205: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:207: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:228: parse error before `FT_Get_Glyph' /usr/local/include/freetype2/freetype/ftglyph.h:228: parse error before `slot' /usr/local/include/freetype2/freetype/ftglyph.h:229: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:251: parse error before `FT_Glyph_Copy' /usr/local/include/freetype2/freetype/ftglyph.h:252: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:281: parse error before `FT_Glyph_Transform' /usr/local/include/freetype2/freetype/ftglyph.h:282: parse error before `FT_Matrix' /usr/local/include/freetype2/freetype/ftglyph.h:283: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:360: parse error before `FT_Glyph_Get_CBox' /usr/local/include/freetype2/freetype/ftglyph.h:361: parse error before `FT_UInt' /usr/local/include/freetype2/freetype/ftglyph.h:362: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:437: parse error before `FT_Glyph_To_Bitmap' /usr/local/include/freetype2/freetype/ftglyph.h:438: parse error before `FT_Render_Mode' /usr/local/include/freetype2/freetype/ftglyph.h:440: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:455: parse error before `FT_Done_Glyph' /usr/local/include/freetype2/freetype/ftglyph.h:455: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:486: parse error before `FT_Matrix_Multiply' /usr/local/include/freetype2/freetype/ftglyph.h:486: parse error before `*' /usr/local/include/freetype2/freetype/ftglyph.h:487: warning: data definition has no type or storage class /usr/local/include/freetype2/freetype/ftglyph.h:506: parse error before `FT_Matrix_Invert' /usr/local/include/freetype2/freetype/ftglyph.h:506: parse error before `*' /usr/local/include/freetype2/freetype/ftglyph.h:506: warning: data definition has no type or storage class /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:95: parse error before `FT_Library' /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:95: warning: no semicolon at end of struct or union /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:96: warning: data definition has no type or storage class /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:97: parse error before `have_char_map_unicode' /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:98: warning: data definition has no type or storage class /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:100: parse error before `}' /home/tmp/php-4.3.0/ext/gd/libgd/gd
Re: Re[6]: [PHP] compiling php 4.3.0 with gd
On Thursday 06 February 2003 19:15, [EMAIL PROTECTED] wrote: > That worked an got me through the configuration but now after doing a > make I get this error. What do I do to fix this. > > /gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo > /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file or > directory /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:35: jerror.h: No such > file or directory And where are those files hiding? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Children are like cats, they can tell when you don't like them. That's when they come over and violate your body space. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[6]: [PHP] compiling php 4.3.0 with gd
Hello Jason, That worked an got me through the configuration but now after doing a make I get this error. What do I do to fix this. /gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file or directory /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:35: jerror.h: No such file or directory /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:240: #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12 make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1 Thursday, February 6, 2003, 2:35:11 AM, you wrote: JW> On Thursday 06 February 2003 18:37, [EMAIL PROTECTED] wrote: >> /usr/lib/libjpeg.so JW> Then use: JW> --with-jpeg-dir=/usr JW> -- Jason Wong ->> Gremlins Associates -> www.gremlins.biz JW> Open Source Software Systems Integrators JW> * Web Design & Hosting * Internet & Intranet Applications Development * JW> -- JW> Search the list archives before you post JW> http://marc.theaimsgroup.com/?l=php-general JW> -- JW> /* JW> "The chain which can be yanked is not the eternal chain." JW> -- G. Fitch JW> */ -- Best regards, rdkurthmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[4]: [PHP] compiling php 4.3.0 with gd
On Thursday 06 February 2003 18:37, [EMAIL PROTECTED] wrote: > /usr/lib/libjpeg.so Then use: --with-jpeg-dir=/usr -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* "The chain which can be yanked is not the eternal chain." -- G. Fitch */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[4]: [PHP] compiling php 4.3.0 with gd
Hello Jason, /usr/lib/libjpeg.so Thursday, February 6, 2003, 2:19:36 AM, you wrote: JW> On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote: >> I know that is what it means and I do know where libjpeg.so and >> libjpeg.a are on the server. I also have pointed the configuration to >> where they are with this --with-jpeg-dir=/usr/local/bin >> but no mater what I do it still can not find them.and keeps giving me >> the error configure: error: libjpeg.(a|so) not found JW> OK, so what is the full path to your libjpeg.* ? JW> -- Jason Wong ->> Gremlins Associates -> www.gremlins.biz JW> Open Source Software Systems Integrators JW> * Web Design & Hosting * Internet & Intranet Applications Development * JW> -- JW> Search the list archives before you post JW> http://marc.theaimsgroup.com/?l=php-general JW> -- JW> /* JW> How can you have any pudding if you don't eat your meat? JW> -- Pink Floyd JW> */ -- Best regards, rdkurthmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] compiling php 4.3.0 with gd
On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote: > I know that is what it means and I do know where libjpeg.so and > libjpeg.a are on the server. I also have pointed the configuration to > where they are with this --with-jpeg-dir=/usr/local/bin > but no mater what I do it still can not find them.and keeps giving me > the error configure: error: libjpeg.(a|so) not found OK, so what is the full path to your libjpeg.* ? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* How can you have any pudding if you don't eat your meat? -- Pink Floyd */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] compiling php 4.3.0 with gd
> I know that is what it means and I do know where libjpeg.so and > libjpeg.a are on the server. I also have pointed the configuration to > where they are with this --with-jpeg-dir=/usr/local/bin > but no mater what I do it still can not find them.and keeps giving me > the error configure: error: libjpeg.(a|so) not found Somehow I doubt your jpeg library is somewhere under /usr/local/bin -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] compiling php 4.3.0 with gd
Hello Kevin, It is installed from a tar file Thursday, February 6, 2003, 2:12:15 AM, you wrote: KW> This one time, at band camp, KW> [EMAIL PROTECTED] wrote: >> configure: error: libjpeg.(a|so) not found. KW> Install libjpeg KW> Kevin KW> -- KW> __ KW> (_ \ KW> _) ) KW> | / / _ ) / _ | / ___) / _ ) KW> | | ( (/ / ( ( | |( (___ ( (/ / KW> |_| \) \_||_| \) \) KW> Kevin Waterson KW> Port Macquarie, Australia -- Best regards, rdkurthmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] compiling php 4.3.0 with gd
Hello Jason, I know that is what it means and I do know where libjpeg.so and libjpeg.a are on the server. I also have pointed the configuration to where they are with this --with-jpeg-dir=/usr/local/bin but no mater what I do it still can not find them.and keeps giving me the error configure: error: libjpeg.(a|so) not found Thursday, February 6, 2003, 1:52:44 AM, you wrote: JW> On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote: >> I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg >> and with-freetype. I have installed both png and jpg from a tar file >> but know mater what I do PHP configure stops with and error. here is >> the error I keep getting. >> configure: error: libjpeg.(a|so) not found. JW> It's telling you that it cannot find libjpeg.a or libjpeg.so. JW> Use "find / -name libjpeg.a" and "find / -name libjpeg.so" to find out where JW> they are hiding. JW> -- Jason Wong ->> Gremlins Associates -> www.gremlins.biz JW> Open Source Software Systems Integrators JW> * Web Design & Hosting * Internet & Intranet Applications Development * JW> -- JW> Search the list archives before you post JW> http://marc.theaimsgroup.com/?l=php-general JW> -- JW> /* JW> It may be that your whole purpose in life is simply to serve as a JW> warning to others. JW> */ -- Best regards, rdkurthmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php 4.3.0 with gd
This one time, at band camp, [EMAIL PROTECTED] wrote: > configure: error: libjpeg.(a|so) not found. Install libjpeg Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] compiling php 4.3.0 with gd
On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote: > I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg > and with-freetype. I have installed both png and jpg from a tar file > but know mater what I do PHP configure stops with and error. here is > the error I keep getting. > configure: error: libjpeg.(a|so) not found. It's telling you that it cannot find libjpeg.a or libjpeg.so. Use "find / -name libjpeg.a" and "find / -name libjpeg.so" to find out where they are hiding. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* It may be that your whole purpose in life is simply to serve as a warning to others. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php 4.3.0 with gd
I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg and with-freetype. I have installed both png and jpg from a tar file but know mater what I do PHP configure stops with and error. here is the error I keep getting. checking for GD support... yes checking for the location of libjpeg... yes checking for the location of libpng... yes checking for the location of libXpm... yes checking for FreeType 1.x support... yes checking for FreeType 2... yes checking for T1lib support... yes checking whether to enable truetype string function in GD... yes checking for fabsf... yes checking for floorf... yes configure: error: libjpeg.(a|so) not found. Can somebody give me the step to get this to work below is my compleat configuration. ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib --with-dba --with-interbase=shared --with-ldap --with-pdflib=shared --with-xml --with-readline --with-mysql=/usr/ --with-curl=/usr/bin/ --enable-sockets --enable-ftp --with-gdbm --with-pgsql=/usr/ --with-mhash --with-zip=/usr/local/lib/ --with-gd --with-freetype-dir=/usr --enable-gd-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr/local/bin --with-png-dir=/usr/local/bin -- Best regards, rdkurth mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] compiling php-4.3.0 error message : BrowserMatch regex could not be compiled.
Hello, I compiled php-4.3.0 succesful --with-apxs="...path-to-apxs" after make and make install on a RedHat8.0 box. I started my apache-1.3.27 and got the follwing error message: " Syntax error on line 956 of /usr/local/apache/conf/httpd.conf: BrowserMatch regex could not be compiled. " Any hints? Any proposals? would be great Oliver Etzel
[PHP] compiling php
Hello list, just a simple question regarding php - compiling: when I compile php --with-gd="/usr..." How can I get the exact directory of gd (or gd-libs)??? Qualified answers are welcome. Oliver Etzel
Re: [PHP] Compiling php-4.0.6 with MySQL support
Re: [PHP] Compiling php-4.0.6 with MySQL supportThank you for your answer, Wico! I had deleted '=' after '--with-mysql' but it didn't help me. All these messages about "undefined reference to `mysql..." was repeated. --- With best wishes, Igor Shulgin --- -- JSC Uralsvyazinform | Applied Systems Department - Original Message - From: Wico de Leeuw To: Igor Shulgin ; [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 2:51 PM Subject: Re: [PHP] Compiling php-4.0.6 with MySQL support At 14:44 18-12-02 +0500, Igor Shulgin wrote: > Hi! > >I cannot compile php-4.0.6 with MySQL support as static module for >apache_1.3.20 on FreeBSD 4.4. >Early I successfully build and install >/usr/ports/databases/mysql323-server and >/usr/ports/databases/mysql323-client with standard configuration. >I have done following without problems: > >cd /usr/ports/www/apache13/work/apache_1.3.20 >./configure >cd /usr/ports/www/mod_php4/work/php-4.0.6 >rm config.cache >./configure --with-mysql= >--with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars shouldn;t it be ./configure --with-mysql --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars (so without the =) Gr, Wico >make >make install >cd /usr/ports/www/apache13/work/apache_1.3.20 >./configure --prefix=/usr/local/www >--activate-module=src/modules/php4/libphp4.a > >But > >make > >stops with following: > >gcc -funsigned-char -I/usr/ports/www/mod_php4/work/php-4.0.6 >-I/usr/ports/www/mod_php4/work/php-4.0.6/main >-I/usr/ports/www/mod_php4/work/php-4.0.6/main >-I/usr/ports/www/mod_php4/work/php-4.0.6/Zend >-I/usr/ports/www/mod_php4/work/php-4.0.6/Zend >-I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM >-I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM >-I/usr/ports/www/mod_php4/work/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite >-DNO_DL_NEEDED `./apaci` -o httpd buildmark.o >modules.o modules/standard/libstandard.a modules/php4/libphp4.a >main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a >-rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 >-lmodphp4 -lpam -lcrypt -lm-lcrypt >modules/php4/libphp4.a(php_mysql.lo): In function `_free_mysql_result': >php_mysql.lo(.text+0x1c): undefined reference to `mysql_free_result' >modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_link': >php_mysql.lo(.text+0x9d): undefined reference to `mysql_close' >modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_plink': >php_mysql.lo(.text+0xf9): undefined reference to `mysql_close' >modules/php4/libphp4.a(php_mysql.lo): In function `php_info_mysql': >php_mysql.lo(.text+0x42f): undefined reference to `mysql_get_client_info' >modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_connect': >php_mysql.lo(.text+0xd0e): undefined reference to `mysql_init' >php_mysql.lo(.text+0xd2f): undefined reference to `mysql_real_connect' >php_mysql.lo(.text+0xd5c): undefined reference to `mysql_error' >php_mysql.lo(.text+0xd89): undefined reference to `mysql_errno' >php_mysql.lo(.text+0xe4f): undefined reference to `mysql_stat' >php_mysql.lo(.text+0xe8c): undefined reference to `mysql_real_connect' >php_mysql.lo(.text+0x105a): undefined reference to `mysql_init' >php_mysql.lo(.text+0x107b): undefined reference to `mysql_real_connect' >php_mysql.lo(.text+0x10ac): undefined reference to `mysql_error' >php_mysql.lo(.text+0x10d9): undefined reference to `mysql_errno' >php_mysql.lo(.text+0x10eb): undefined reference to `mysql_error' >modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_select_db': >php_mysql.lo(.text+0x1550): undefined reference to `mysql_select_db' >modules/php4/libphp4.a(php_mysql.lo): In function >`php_if_mysql_get_client_info': >php_mysql.lo(.text+0x159d): undefined reference to `mysql_get_client_info' >modules/php4/libphp4.a(php_mysql.lo): In function >`php_if_mysql_get_host_info': >php_mysql.lo(.text+0x168d): undefined reference to `mysql_get_host_info' >modules/php4/libphp4.a(php_mysql.lo): In function >`php_if_mysql_get_proto_info': >php_mysql.lo(.text+0x1781): undefined reference to `mysql_get_proto_info' >modules/php4/libphp4.a(php_mysql.lo): In function >`p
Re: [PHP] Compiling php-4.0.6 with MySQL support
At 14:44 18-12-02 +0500, Igor Shulgin wrote: Hi! I cannot compile php-4.0.6 with MySQL support as static module for apache_1.3.20 on FreeBSD 4.4. Early I successfully build and install /usr/ports/databases/mysql323-server and /usr/ports/databases/mysql323-client with standard configuration. I have done following without problems: cd /usr/ports/www/apache13/work/apache_1.3.20 ./configure cd /usr/ports/www/mod_php4/work/php-4.0.6 rm config.cache ./configure --with-mysql= --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars shouldn;t it be ./configure --with-mysql --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars (so without the =) Gr, Wico make make install cd /usr/ports/www/apache13/work/apache_1.3.20 ./configure --prefix=/usr/local/www --activate-module=src/modules/php4/libphp4.a But make stops with following: gcc -funsigned-char -I/usr/ports/www/mod_php4/work/php-4.0.6 -I/usr/ports/www/mod_php4/work/php-4.0.6/main -I/usr/ports/www/mod_php4/work/php-4.0.6/main -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM -I/usr/ports/www/mod_php4/work/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lcrypt -lm-lcrypt modules/php4/libphp4.a(php_mysql.lo): In function `_free_mysql_result': php_mysql.lo(.text+0x1c): undefined reference to `mysql_free_result' modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_link': php_mysql.lo(.text+0x9d): undefined reference to `mysql_close' modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_plink': php_mysql.lo(.text+0xf9): undefined reference to `mysql_close' modules/php4/libphp4.a(php_mysql.lo): In function `php_info_mysql': php_mysql.lo(.text+0x42f): undefined reference to `mysql_get_client_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_connect': php_mysql.lo(.text+0xd0e): undefined reference to `mysql_init' php_mysql.lo(.text+0xd2f): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0xd5c): undefined reference to `mysql_error' php_mysql.lo(.text+0xd89): undefined reference to `mysql_errno' php_mysql.lo(.text+0xe4f): undefined reference to `mysql_stat' php_mysql.lo(.text+0xe8c): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0x105a): undefined reference to `mysql_init' php_mysql.lo(.text+0x107b): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0x10ac): undefined reference to `mysql_error' php_mysql.lo(.text+0x10d9): undefined reference to `mysql_errno' php_mysql.lo(.text+0x10eb): undefined reference to `mysql_error' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_select_db': php_mysql.lo(.text+0x1550): undefined reference to `mysql_select_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_client_info': php_mysql.lo(.text+0x159d): undefined reference to `mysql_get_client_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_host_info': php_mysql.lo(.text+0x168d): undefined reference to `mysql_get_host_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_proto_info': php_mysql.lo(.text+0x1781): undefined reference to `mysql_get_proto_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_server_info': php_mysql.lo(.text+0x184d): undefined reference to `mysql_get_server_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_create_db': php_mysql.lo(.text+0x1a14): undefined reference to `mysql_create_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_drop_db': php_mysql.lo(.text+0x1bcc): undefined reference to `mysql_drop_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_query_general': php_mysql.lo(.text+0x1ce5): undefined reference to `mysql_select_db' php_mysql.lo(.text+0x1d42): undefined reference to `mysql_eof' php_mysql.lo(.text+0x1d6d): undefined reference to `mysql_fetch_row' php_mysql.lo(.text+0x1e47): undefined reference to `mysql_real_query' php_mysql.lo(.text+0x1e72): undefined reference to `mysql_use_result' php_mysql.lo(.text+0x1e80): undefined reference to `mysql_store_result' php_mysql.lo(.text+0x1e93): undefined reference to `mysql_field_count' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_dbs': php_mysql.lo(.text+0x21a3): undefined reference to `mysql_list_dbs' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_tables': php_mysql.lo(.text+0x2370): undefined reference to `mysql_select_db' php_mysql.lo(.text+0x2385): undefined reference to `mysql_list_tables' modules/php4/libphp4.a(php_mysql.lo): In function `p
[PHP] Compiling php-4.0.6 with MySQL support
Hi! I cannot compile php-4.0.6 with MySQL support as static module for apache_1.3.20 on FreeBSD 4.4. Early I successfully build and install /usr/ports/databases/mysql323-server and /usr/ports/databases/mysql323-client with standard configuration. I have done following without problems: cd /usr/ports/www/apache13/work/apache_1.3.20 ./configure cd /usr/ports/www/mod_php4/work/php-4.0.6 rm config.cache ./configure --with-mysql= --with-apache=/usr/ports/www/apache13/work/apache_1.3.20 --enable-track-vars make make install cd /usr/ports/www/apache13/work/apache_1.3.20 ./configure --prefix=/usr/local/www --activate-module=src/modules/php4/libphp4.a But make stops with following: gcc -funsigned-char -I/usr/ports/www/mod_php4/work/php-4.0.6 -I/usr/ports/www/mod_php4/work/php-4.0.6/main -I/usr/ports/www/mod_php4/work/php-4.0.6/main -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend -I/usr/ports/www/mod_php4/work/php-4.0.6/Zend -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM -I/usr/ports/www/mod_php4/work/php-4.0.6/TSRM -I/usr/ports/www/mod_php4/work/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lcrypt -lm-lcrypt modules/php4/libphp4.a(php_mysql.lo): In function `_free_mysql_result': php_mysql.lo(.text+0x1c): undefined reference to `mysql_free_result' modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_link': php_mysql.lo(.text+0x9d): undefined reference to `mysql_close' modules/php4/libphp4.a(php_mysql.lo): In function `_close_mysql_plink': php_mysql.lo(.text+0xf9): undefined reference to `mysql_close' modules/php4/libphp4.a(php_mysql.lo): In function `php_info_mysql': php_mysql.lo(.text+0x42f): undefined reference to `mysql_get_client_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_connect': php_mysql.lo(.text+0xd0e): undefined reference to `mysql_init' php_mysql.lo(.text+0xd2f): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0xd5c): undefined reference to `mysql_error' php_mysql.lo(.text+0xd89): undefined reference to `mysql_errno' php_mysql.lo(.text+0xe4f): undefined reference to `mysql_stat' php_mysql.lo(.text+0xe8c): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0x105a): undefined reference to `mysql_init' php_mysql.lo(.text+0x107b): undefined reference to `mysql_real_connect' php_mysql.lo(.text+0x10ac): undefined reference to `mysql_error' php_mysql.lo(.text+0x10d9): undefined reference to `mysql_errno' php_mysql.lo(.text+0x10eb): undefined reference to `mysql_error' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_select_db': php_mysql.lo(.text+0x1550): undefined reference to `mysql_select_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_client_info': php_mysql.lo(.text+0x159d): undefined reference to `mysql_get_client_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_host_info': php_mysql.lo(.text+0x168d): undefined reference to `mysql_get_host_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_proto_info': php_mysql.lo(.text+0x1781): undefined reference to `mysql_get_proto_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_get_server_info': php_mysql.lo(.text+0x184d): undefined reference to `mysql_get_server_info' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_create_db': php_mysql.lo(.text+0x1a14): undefined reference to `mysql_create_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_drop_db': php_mysql.lo(.text+0x1bcc): undefined reference to `mysql_drop_db' modules/php4/libphp4.a(php_mysql.lo): In function `php_mysql_do_query_general': php_mysql.lo(.text+0x1ce5): undefined reference to `mysql_select_db' php_mysql.lo(.text+0x1d42): undefined reference to `mysql_eof' php_mysql.lo(.text+0x1d6d): undefined reference to `mysql_fetch_row' php_mysql.lo(.text+0x1e47): undefined reference to `mysql_real_query' php_mysql.lo(.text+0x1e72): undefined reference to `mysql_use_result' php_mysql.lo(.text+0x1e80): undefined reference to `mysql_store_result' php_mysql.lo(.text+0x1e93): undefined reference to `mysql_field_count' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_dbs': php_mysql.lo(.text+0x21a3): undefined reference to `mysql_list_dbs' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_tables': php_mysql.lo(.text+0x2370): undefined reference to `mysql_select_db' php_mysql.lo(.text+0x2385): undefined reference to `mysql_list_tables' modules/php4/libphp4.a(php_mysql.lo): In function `php_if_mysql_list_fields': php_mysql.lo(.text+0x2558): undefined reference to `mysql_select_db' php_mysql.lo(.text+0x2622): undefined reference to `mysql_list_fields' modules/php4/libphp4.a(php_mys
Re: [PHP] Compiling PHP and RH Linux
Todd Cary wrote: I am new to Linux, so the syntax is still quite foreign for setting up compiles. Here is what I need to do: Compile PHP with MySQL, Interbase, and the GD library and then compile Apache so that it has the newly compiled PHP integrated. Can someone refer me to some The INSTALL file that comes with the PHP source is quite good, have you looked at that? Or maybe you do not feel it is enough for your needs? What Linux are you using? Do you need a particular version of PHP or Apache? Most linux distributions come with both. If you did an "install everything" then you probably already have it. I don't know Interbase, you may need to install some Interbase files to support that. If you feel you need to recompile, then you need the sources not just the binaries installed on your computer. If you have Apache already compiled with mod_so (most seem to) and you are happy to have PHP as a DSO (OK for many situations), then you would not need to recompile Apache. HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP and RH Linux
I am new to Linux, so the syntax is still quite foreign for setting up compiles. Here is what I need to do: Compile PHP with MySQL, Interbase, and the GD library and then compile Apache so that it has the newly compiled PHP integrated. Can someone refer me to some literature on the correct syntax and order for doing this? Todd --
[PHP] Compiling php-4.2.3 with gd - make error
Hi List, I compiled php-4.2.3 on my RH7.3 box that way ./compile ... --with-gd=/usr ... gd and gd-devel are from RH7.3 base installation I get the following error whil running -> make : In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member named `free' gd_ctx.c:98: structure has no member named `free' gd.c: In function `_php_image_type': gd.c:1014: structure has no member named `free' gd.c:1017: structure has no member named `free' gd.c: In function `_php_image_create_from': gd.c:1209: structure has no member named `free' make[3]: *** [gd.lo] Fehler 1 make[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext/gd« make[2]: *** [all-recursive] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext/gd« make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext« make: *** [all-recursive] Fehler 1 What can I do? Oliver Etzel
[PHP] Compiling php-4.2.3 - make error
Hi List, I compiled php-4.2.3 on my RH7.3 box that way ./compile ... --with-gd=/usr ... gd and gd-devel are from RH7.3 base installation I get the following error whil running -> make : In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member named `free' gd_ctx.c:98: structure has no member named `free' gd.c: In function `_php_image_type': gd.c:1014: structure has no member named `free' gd.c:1017: structure has no member named `free' gd.c: In function `_php_image_create_from': gd.c:1209: structure has no member named `free' make[3]: *** [gd.lo] Fehler 1 make[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext/gd« make[2]: *** [all-recursive] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext/gd« make[1]: *** [all-recursive] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/php-4.2.3/ext« make: *** [all-recursive] Fehler 1 What can I do? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP against net-snmp 5.0.6
Hi everyone I'm having terrible trouble compiling PHP with net-snmp: /bin/sh /usr/local/src/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.2.3/ext/snmp -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3 -I/usr/local/apache/include -I/usr/local/src/php-4.2.3/Zend -I/usr/local/include -I/usr/local/mysql/include/mysql -I/usr/local/pdflib/include -I/usr/local/snmp/include -I/usr/local/src/php-4.2.3/ext/xml/expat -DLINUX=22 -DMOD_SSL=208111 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/usr/local/src/php-4.2.3/TSRM -g -O2 -prefer-pic -c snmp.c snmp.c:62: asn1.h: No such file or directory snmp.c:63: snmp_api.h: No such file or directory snmp.c:64: snmp_client.h: No such file or directory snmp.c:65: snmp_impl.h: No such file or directory snmp.c:66: snmp.h: No such file or directory snmp.c:67: parse.h: No such file or directory snmp.c:68: mib.h: No such file or directory snmp.c:69: version.h: No such file or directory These missing .h files are in a subdirectory called 'include/net-snmp/library' on net-snmp 5.0.6, but on ucd-snmp 4.2.6, 'include/ucd-snmp/library'. I'm no great coder, so when I tried hacking the .c file to point to the location of the new headers, I came up against unresolved symbols whilst compiling. Has anybody successfuly compiled php with net-snmp? Can anybody help me track down the problem and hopefully come up with a patch? Best wishes, Peter. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with Sablot support
> There should be a new entry like "XSLT enabled" under "XML enabled" in > your PHPinfo in case of successful set-up. Thats what Im looking for, but cant find it... however the configure line still says its in there. > I'm not very familiar with the Unix build, but just to be sure can you > check if you uncommented the xslt extension in your php.ini file (if > any)? As far as I know Ive done everything I need to, there isnt any php.ini directive that does that. If Im missing something I can check... If there was an error I could probably debug it - but there isnt! heh > - Original Message - > From: "Dan Hardiker" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 27, 2002 2:52 PM > Subject: [PHP] Compiling PHP with Sablot support > > >> Hi All, >> >> I have PHP-4.3.0(dev) [php cvs version] and have the following >> configure: >> >> ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/ >> --with-openssl --with-curl --enable-ftp --with-dom --with-xml >> --enable-trans-sid >> --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/ >> --with-mhash=/usr/local/ --with-freetype --with-t1lib --with-ttf >> --with-freetype-dir=/usr/local/ --with-gettext --enable-track-vars >> --with-apxs --with-expat --with-enable-xslt --with-xslt-sablot >> --with-sablot >> >> Configure runs fine... Make runs beautifully... Make Install runs >> perfectly... Apache restarts great, but: >> >> Fatal error: Call to undefined function: xslt_create_processor() in >> /usr/home/dhardiker/public_html/cvs/flash_api_4.03/xslTransformer.inc.php >> on line 24 >> >> Ideas? >> >> PS: Im running FreeBSD 4.6-Stable and a copy of my >> phpinfo() output can be found at http://dipsy.dapond.net/phpinfo.html. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with Sablot support
Hi, There should be a new entry like "XSLT enabled" under "XML enabled" in your PHPinfo in case of successful set-up. I'm not very familiar with the Unix build, but just to be sure can you check if you uncommented the xslt extension in your php.ini file (if any)? HTH, Stas - Original Message - From: "Dan Hardiker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 2:52 PM Subject: [PHP] Compiling PHP with Sablot support > Hi All, > > I have PHP-4.3.0(dev) [php cvs version] and have the following > configure: > > ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/ > --with-openssl --with-curl --enable-ftp --with-dom --with-xml > --enable-trans-sid > --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/ > --with-mhash=/usr/local/ --with-freetype --with-t1lib --with-ttf > --with-freetype-dir=/usr/local/ --with-gettext --enable-track-vars > --with-apxs --with-expat --with-enable-xslt --with-xslt-sablot > --with-sablot > > Configure runs fine... Make runs beautifully... Make Install runs > perfectly... Apache restarts great, but: > > Fatal error: Call to undefined function: xslt_create_processor() in > /usr/home/dhardiker/public_html/cvs/flash_api_4.03/xslTransformer.inc.php > on line 24 > > Ideas? > > PS: Im running FreeBSD 4.6-Stable and a copy of my > phpinfo() output can be found at http://dipsy.dapond.net/phpinfo.html. > > > -- > Dan Hardiker [[EMAIL PROTECTED]] > ADAM Software & Systems Engineer > First Creative Ltd > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP with Sablot support
Hi All, I have PHP-4.3.0(dev) [php cvs version] and have the following configure: ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/ --with-openssl --with-curl --enable-ftp --with-dom --with-xml --enable-trans-sid --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/ --with-mhash=/usr/local/ --with-freetype --with-t1lib --with-ttf --with-freetype-dir=/usr/local/ --with-gettext --enable-track-vars --with-apxs --with-expat --with-enable-xslt --with-xslt-sablot --with-sablot Configure runs fine... Make runs beautifully... Make Install runs perfectly... Apache restarts great, but: Fatal error: Call to undefined function: xslt_create_processor() in /usr/home/dhardiker/public_html/cvs/flash_api_4.03/xslTransformer.inc.php on line 24 Ideas? PS: Im running FreeBSD 4.6-Stable and a copy of my phpinfo() output can be found at http://dipsy.dapond.net/phpinfo.html. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP on Linux
Here's how to get it to work (thanks to somebody on Google Groups)... 1. Open up the file php_functions.c in /sapi/apache2filter/ 2. Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the addition of "AP_") 3. Save the php_functions.c file and try running configure again Keep in mind this is experimental and thus should not be used on production web sites (even though we've been using Apache 2.0.39+PHP 4.2.1/4.2.2 for a few weeks without issues on two of our servers). -- Aaron Gould [EMAIL PROTECTED] Web Developer - Original Message - From: "Osman Omar" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 8:35 PM Subject: [PHP] Compiling PHP on Linux > Hi > > I try to compile php and got error message > any idea? > > > system: > Redhat 7.2 > Apache 2.0.39 (for redhat 7.0 from apache website) > php 4.2.2 > > error messages > --- > /bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc -I. > -I/usr/tmp/php-4.2.2/sapi/apache2filter -I/usr/tmp/php-4.2.2/main > -I/usr/tmp/php-4.2.2 -I/usr/local/apache2-39/include > -I/usr/tmp/php-4.2.2/Zend -I/usr/include/freetype2/freetype > -I/usr/tmp/gd-2.0.1/ -I/usr/tmp/php-4.2.2/ext/mysql/libmysql > -I/usr/tmp/php-4.2.2/ext/xml/expat -D_REENTRANT > -I/usr/tmp/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic > -c php_functions.c > php_functions.c:93:27: missing binary operator before '!' > make[3]: *** [php_functions.lo] Error 1 > make[3]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/var/tmp/php-4.2.2/sapi' > make: *** [all-recursive] Error 1 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP on Linux
Hi I try to compile php and got error message any idea? system: Redhat 7.2 Apache 2.0.39 (for redhat 7.0 from apache website) php 4.2.2 error messages --- /bin/sh /usr/tmp/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/usr/tmp/php-4.2.2/sapi/apache2filter -I/usr/tmp/php-4.2.2/main -I/usr/tmp/php-4.2.2 -I/usr/local/apache2-39/include -I/usr/tmp/php-4.2.2/Zend -I/usr/include/freetype2/freetype -I/usr/tmp/gd-2.0.1/ -I/usr/tmp/php-4.2.2/ext/mysql/libmysql -I/usr/tmp/php-4.2.2/ext/xml/expat -D_REENTRANT -I/usr/tmp/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c php_functions.c php_functions.c:93:27: missing binary operator before '!' make[3]: *** [php_functions.lo] Error 1 make[3]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/php-4.2.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/php-4.2.2/sapi' make: *** [all-recursive] Error 1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP
Leon, This was discussed on this list at length, ending about a week or so ago. Please look in the archives for it. There was a lot of detail which may be useful to you. Basically the consenus answer was no. Regards Chris Leon Mergen wrote: >Hello, > >I'm currently camping with a problem... I have written a PHP application for >a client of mine, however, I do not want have him seeing the source code. I >know Zend has the Zend Encoder, however, this piece of software costs $2400 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP
Hello, I'm currently camping with a problem... I have written a PHP application for a client of mine, however, I do not want have him seeing the source code. I know Zend has the Zend Encoder, however, this piece of software costs $2400 and since this is a one-time encoding request, I think this is a bit too much ... I want to know if anyone else knows another less expensive option to do this. Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compiling PHP with Java support on a virtual server
Hi all, I have compiled PHP with Java support using the option ./configure --with-prefix="path to lib directory" --with-java="jdk path" on a virtual server. There is no problem with compilation. During compilation it gives Checking for Java Support yes . I made modifications to the php.ini file also. but when I tried a test php script , I was not able to see anything related to java in the output file. As the previous option was not working , we tried setting JAVA_HOME to jdk_path and used the option ./configure --with-prefix="path to lib directory" --with-java(without the jdkpath) . Even not I was not able to get anything related to Java. phpinfo() gives me the configure option as ./configure --with-prefix="path to lib directory" --with-java="jdk path" and not ./configure --with-prefix="path to lib directory" --with-java . Am I doing anything wrong ? Then we removed all PHP related files for usr/local/bin and usr/local/lib and compiled PHP again. Even now we were not able to get that working ... what are the steps to be followed to install PHP with Java support on a virtual server??? previously we had installed the same version of PHP on our local m/c and everything was working fine. The only difference is I am not using --with-prefix option when compiling on my local m/c . we don't have access to /usr/local/lib of the virtual server m/c and so we cannot put our ini file in /usr/local/lib. Regds, Revathi.
[PHP] Compiling PHP with INFORMIX howto?
Does someone have a good guide on installing php with informix support? also i wish to know wheter it is possible to compile php with this version. ISQL 7.20 Embedded sql for C. 9.14 4GL 7.30 4GL runtime 7.20 Dynamic server 7.30 Java API1.05 Thanks in advance, Emile Bosch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
>I had the same problem yesterday afternoon, trying to compile PHP with >Sablotron 0.95. Last week, I did a compile with Sablotron 0.90 and everything >was good, so I downgraded 0.95 to 0.90 and was able to successfully build >PHP. > > That did it for me also... thanks René -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
On Thu, Jun 27, 2002 at 09:14:32AM +0200, René Moonen wrote: > > > >Yes. Since 4.1.x at least. But for XSLT you need to get expat and > >Sablotron and link them into the compile (with the appropriate > >./configure options). > > > > Hum, I did spent some time yesterday on exactly that, but with no > success (yet). > > I'm using >Linux RedHat 7.1. >Expat 1.95.3 >Sablotron 0.95-1 >PHP 4.2.1 I had the same problem yesterday afternoon, trying to compile PHP with Sablotron 0.95. Last week, I did a compile with Sablotron 0.90 and everything was good, so I downgraded 0.95 to 0.90 and was able to successfully build PHP. > Compiling and installing Expat and Sablotron works fine (so it seems) > but after that I get errors compiling PHP with XSLT options. Compiling > without the XSLT options works just fine. These are the PHP options I use: > >--prefix=/usr/local/php >--with-config-file-path=/usr/local/php >--with-apxs=/usr/sbin/apxs >--enable-track-vars >--enable-magic-quotes >--enable-debugger >--enable-xslt >--with-xslt-sablot > > The last two are the ones that I have added to allow for XSLT > > > Am I missing something? > > > René > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- James Clifford [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
On Thursday, June 27, 2002, at 03:14 AM, René Moonen wrote: > Compiling and installing Expat and Sablotron works fine (so it seems) > but after that I get errors compiling PHP with XSLT options. Compiling > without the XSLT options works just fine. These are the PHP options I > use: > >--prefix=/usr/local/php >--with-config-file-path=/usr/local/php >--with-apxs=/usr/sbin/apxs >--enable-track-vars >--enable-magic-quotes >--enable-debugger >--enable-xslt >--with-xslt-sablot > > The last two are the ones that I have added to allow for XSLT > > > Am I missing something? This is a command history from when I added XSLT to my dist. It's older (PHP 4.1.2) but it should still work with newer PHP distributions: 2002-03-11 XSLT upgrade log for PHP At this time, the /usr/local/src directory has the following directories (all expanded from tarballs): apache_1.3.22/ expat-1.95.2/ mysql-3.23.46-pc-linux-gnu-i686/ php-4.1.2/ Sablot-0.90/ tarballs/ /usr/local/apache/bin/apachectl stop /usr/local/mysql/bin/mysqladmin -u root -p shutdown (shuts down the daemons so we can work on them) cd /usr/local/src/ (this is where we start) pushd expat-1.95.2/ (enter the expat source directory) less README ./configure --help ./configure make make install popd (back to /usr/local/src) (always good economy to read the docs and see what ./configure options there are, though none were actually chosen) pushd Sablot-0.90/ (enter the Sablotron source directory) less README ./configure --help ./configure make make install popd (back to /usr/local/src) (same as for expat) pushd apache_1.3.22/ (enter the Apache source directory) rm config.cache make clean pushd ./src/modules/php4/ (enter the php4 module source directory within the Apache source directory) rm config.cache make clean popd (return to the Apache source directory) (the rm and make clean commands were probably not necessary, but I wanted to be sure not to use any old data) ./configure --prefix=/usr/local/apache (execute the ./configure script to show Apache where to be installed, but do not make yet) pushd ../php-4.1.2/ (jump out of the Apache source directory to /usr/local/src/php-4.1.2) rm config.cache make clean (clean up the php-4.1.2 source directory) ./configure --with-apache=/usr/local/src/apache_1.3.22/ \ --with-mysql=/usr/local/mysql/ \ --enable-sockets \ --with-zlib \ --with-xmlrpc \ --enable-xslt \ --with-xslt-sablot make make install popd (back to the Apache source directory [/usr/local/src/apache_1.3.22]) (create the PHP binary with the ./configure options for using MySQL [requires zlib on RH 7.2], socket functions, XML-RPC, and XSLT with Sablotron, and then install the binary into the "modules" source directory in the Apache source directory) ./configure --activate-module=src/modules/php4/libphp4.a \ --enable-module=so \ --enable-shared=max (run the Apache ./configure script again, this time specifying that PHP is to be installed as a static module and that Apache should be compiled to accept later dynamic shared object modules [no, the libphp4.a file does not exist yet but ./configure it anyway]) pushd ./src/modules/php4/ make (compile the PHP module into Apache, no 'make install' necessary) popd (back to the Apache source directory, /usr/local/src/apache_1.3.22) make make install (final compile and install of Apache with the now-embedded PHP module) popd (back to /usr/local/src) cd /usr/local/mysql/ ./bin/safe_mysqld --user=mysqladm & (start mysql daemon, safe_mysqld can only be executed from /usr/local/mysql) /usr/local/apache/bin/apachectl start (start Apache) Then test to make sure that MySQL and Apache are working by requesting a phpinfo() page or MySQL-generated page. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
> Yes. Since 4.1.x at least. But for XSLT you need to get expat and > Sablotron and link them into the compile (with the appropriate > ./configure options). Hum, I did spent some time yesterday on exactly that, but with no success (yet). I'm using Linux RedHat 7.1. Expat 1.95.3 Sablotron 0.95-1 PHP 4.2.1 Compiling and installing Expat and Sablotron works fine (so it seems) but after that I get errors compiling PHP with XSLT options. Compiling without the XSLT options works just fine. These are the PHP options I use: --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-apxs=/usr/sbin/apxs --enable-track-vars --enable-magic-quotes --enable-debugger --enable-xslt --with-xslt-sablot The last two are the ones that I have added to allow for XSLT Am I missing something? René -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Compiling PHP with XML????
Cool! Just finished compiling PHP before I read your post. :-) I took the risk and include hte "--enable-xml" option even though it is not included and it compiled successfully. But with a lot of warning though. Thanks! Scott "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, June 26, 2002, at 11:57 AM, Scott Fletcher wrote: > > > I looked in the "./configure --help" for the xml support. It didn't > > say but > > show some options such as disabling xml, using xml with different > > stuffs. > > Nothing is being mentioned about enabling xml or something. So, is xml > > in > > php supported automatically? > > Yes. Since 4.1.x at least. But for XSLT you need to get expat and > Sablotron and link them into the compile (with the appropriate > ./configure options). > > > Erik > > > > > > > Erik Price > Web Developer Temp > Media Lab, H.H. Brown > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php