php-install Digest 18 Apr 2001 02:15:21 -0000 Issue 266 Topics (messages 2797 through 2804): Re: Supplied argument is not a valid MS SQL-Link resource 2797 by: Klaus Haberkorn using pdflib 2798 by: Alexeline Michel Re: Are there suppose to be cpp files in the source code? 2799 by: Plutarck vsnprintf problem with Apache & PHP 2800 by: nemholt_jf.tsm.es `AM_PROG_LIBTOOL' not found in library 2801 by: Pablo Sabatino php4.0.4pl1 on NetBSD/Alpha 2802 by: Sashka Nochkin SSL SSL SSL SSL SSL - README!!! 2803 by: phpman Installing PHP 4.0 on Windows 2000 2804 by: Ricardo Granja Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
looks like we have a similar problem, please see the details in my posted message from 2001-04-17 sorry I have no answer yet, we´re stuck in that problem. ""davek"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9ba2rv$lq9$[EMAIL PROTECTED]">news:9ba2rv$lq9$[EMAIL PROTECTED]... > Does anybody know how to fix this error? "Supplied argument is not a valid > MS SQL-Link resource" I am running: > > NT4 > MSSQL7.0 > IIS4 > PHP 4.0.4pl1 > > I've been running php3 for some time now without any problems but want to > upgrade to 4. This error seems to be occuring at the mssql_query() > function. > > $Conn=mssql_connect('192.168.1.20','username','password'); > $ThisConnect=mssql_select_db('My_Database',$Conn); > $QueryString="select id, name from my_table"; > $Test=mssql_query($QueryString, $ThisConnect); > > Please help! Thanks. > Dave > > > > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
I'm using RedHat 7.0 and the RPMS php-imap-4.0.1pl2-9 php-4.0.1pl2-9 php-ldap-4.0.1pl2-9 php-manual-4.0.1pl2-9 php-pgsql-4.0.1pl2-9 mod_php-4.0.1pl2-9 I want to use pdflib. I compiled pdflib-3.0. Can I use these llibrary without recompilind php. regards -- ---------------------------------------------- Michel ALEXELINE CNRS - Delegation Aquitaine Poitou Charentes Esplanade des Arts et Metiers 33402 TALENCE CEDEX Tel : 05 57 35 58 31 E-mail : [EMAIL PROTECTED]
I thought that might be it too, but I installed all the bison/flex utilities as requested ;( And it has the /tmp directory in Cygwin so bison will work...*sigh* I'm going to try and make it work on my other box. Maybe that will fix it, since my DOS/Windows has been a pain lately. But I would _really_ like to just make it work on this box. I know of no reason why it shouldn't...bah. -- Plutarck Should be working on something... ...but forgot what it was. ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message 9bdjc2$18u$[EMAIL PROTECTED]">news:9bdjc2$18u$[EMAIL PROTECTED]... > I've never build Win/PHP, but > I think you don't have "bison", etc. This must be the problem. > > Regards, > -- > Yasuo Ohgaki > > > ""Plutarck"" <[EMAIL PROTECTED]> wrote in message > 9bc6hi$gt$[EMAIL PROTECTED]">news:9bc6hi$gt$[EMAIL PROTECTED]... > > I currently have Apache, MySQL, and PHP 4.0.4pl1 (as CGI) all running just > > fine on my Windows 98 system. I used Nusphere to install it all, but I > > really want to learn how just to build it myself from the source code. > > > > So I followed the directions in the PHP manual to the _letter_, and when I > > Rebuild All on php4ts - Win32 Release_TS I get the following message from > > the compiler: > > > > --------------------Configuration: ZendTS - Win32 > > Release_TS-------------------- > > Performing Custom Build Step on ".\zend_language_parser.y" > > Bad command or file name > > Performing Custom Build Step on .\zend_ini_parser.y > > Bad command or file name > > Performing Custom Build Step on ".\zend_language_scanner.l" > > Bad command or file name > > Performing Custom Build Step on .\zend_ini_scanner.l > > Bad command or file name > > Compiling... > > zend.c > > zend_alloc.c > > zend_API.c > > zend_builtin_functions.c > > zend_compile.c > > C:\cygwin\php-4.0.4pl1\Zend\zend_compile.c(21) : fatal error C1083: Cannot > > open include file: 'zend_language_parser.h': No such file or directory > > zend_constants.c > > zend_dynamic_array.c > > zend_execute.c > > zend_execute_API.c > > zend_extensions.c > > zend_hash.c > > zend_highlight.c > > C:\cygwin\php-4.0.4pl1\Zend\zend_highlight.c(22) : fatal error C1083: Cannot > > open include file: 'zend_language_parser.h': No such file or directory > > zend_indent.c > > C:\cygwin\php-4.0.4pl1\Zend\zend_indent.c(25) : fatal error C1083: Cannot > > open include file: 'zend_language_parser.h': No such file or directory > > zend_ini.c > > zend_ini_parser.c > > fatal error C1083: Cannot open source file: > > 'C:\cygwin\php-4.0.4pl1\Zend\zend_ini_parser.c': No such file or directory > > Generating Code... > > Compiling... > > zend_ini_scanner.cpp > > fatal error C1083: Cannot open source file: > > 'C:\cygwin\php-4.0.4pl1\Zend\zend_ini_scanner.cpp': No such file or > > directory > > Generating Code... > > Compiling... > > zend_language_parser.c > > fatal error C1083: Cannot open source file: > > 'C:\cygwin\php-4.0.4pl1\Zend\zend_language_parser.c': No such file or > > directory > > Generating Code... > > Compiling... > > zend_language_scanner.cpp > > fatal error C1083: Cannot open source file: > > 'C:\cygwin\php-4.0.4pl1\Zend\zend_language_scanner.cpp': No such file or > > directory > > Generating Code... > > Compiling... > > zend_list.c > > zend_llist.c > > zend_opcode.c > > zend_operators.c > > zend_ptr_stack.c > > zend_sprintf.c > > zend_stack.c > > zend_variables.c > > Generating Code... > > Error executing cl.exe. > > > > php.exe - 7 error(s), 0 warning(s) > > > > > > > > Two of those files are .cpp files. The problem is, the only .cpp files > > _anywhere_ in the 4.0.4pl1 source code from php.net are dotnet.cpp, > > issfunc.cpp, and qtdom_qt.cpp. And the other files aren't in the source code > > anywhere either. > > > > > > So I'm _COMPLETELY_ stumped as to what to do next. I'm all dressed up with > > no place to go, apparently. > > > > Help? > > > > > > -- > > Plutarck > > Should be working on something... > > ...but forgot what it was. > > > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Hi! I'm trying to compile a static build of the latest PHP into Apache 1.3.19 on Tru64 4.0f. I use gcc 2.92.2 as compiler and the latest GNU make. I've previously done this with PHP 4.03 and Apache 1.3.12, but the current versions doesn't seem to work. I first run a configure on Apache, then build PHP for Apache, go back to the Apache source dir and configure again with PHP activated. When finally doing a make I soon run into this : /usr/bin/ld: Unresolved: vsnprintf collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/opt/statdb/src/apache_1.3.19/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/opt/statdb/src/apache_1.3.19' make: *** [build] Error 2 When configuring PHP I get : checking for vsnprintf... no So I wouldn't expect PHP to try using this function (which is not in Tru64 4.x but only 5.x). I've tried to compile Apache without PHP and this works OK, so the problem seems to be related to PHP, but at the same time I have no problem building PHP as a binary, so the problem is only when I try to combine Apache and PHP. How to fix this ? /Jesper
Hello!! I am using php4-cvs on Linux Suse 6.4. I issued the command ./buildconf and got a message: pablo@pablito:~/php4 > pablo@pablito:~/php4 > pablo@pablito:~/php4 > ./buildconf aclocal: configure.in: 810: macro `AM_PROG_LIBTOOL' not found in library make[1]: *** [aclocal.m4] Error 1 make: *** [all] Error 2 pablo@pablito:~/php4 > I installed libtool-1.3.5. Help me, please!! Pablo Sabatino..
Hi I was trying to install php4 on alpha machine running NetBSD 1.5. i configure it with following options : ./configure --with-apxs=/usr/apache/bin/apxs --with-mysql=/usr/local configure did not produce any errors, but when in the middle of compilation i've got this error (btw, i searched internet and found out that this error occure on Linux/Alpha as well) : gmake[1]: Leaving directory `/usr/src/php-4.0.4pl1/regex' Making all in . gmake[1]: Entering directory `/usr/src/php-4.0.4pl1' /bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph p-4.0.4pl1 -I/usr/apache/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/local/s sl/include -I/usr/local/mysql/include/mysql -I/usr/src/php-4.0.4pl1/ext/xml/ expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/src/php-4 .0.4pl1/TSRM -DNETBSD -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -D_LARG EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -DXML_BYTE_ORDER=12 - g -O2 -c stub.c /bin/sh /usr/src/php-4.0.4pl1/libtool --silent --mode=link gcc -I. -I/usr/src/php-4.0.4pl1/ -I/usr/src/php-4.0.4pl1/main -I/usr/src/ph p-4.0.4pl1 -I/usr/apache/include -I/usr/src/php-4.0.4pl1/Zend -I/usr/local/s sl/include -I/usr/local/mysql/include/mysql -I/usr/src/php-4.0.4pl1/ext/xml/ expat/xmltok -I/usr/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/src/php-4 .0.4pl1/TSRM -DNETBSD -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT -D_LARG EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -DXML_BYTE_ORDER=12 - g -O2 -o libphp4.la -rpath /usr/src/php-4.0.4pl1/libs -avoid-version -L/usr/local/ssl/lib -L/usr/local/ mysql/lib/mysql -R /usr/local/ssl/lib -R /usr/local/mysql/lib/mysql stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lmysqlclient -lcrypto -lssl -lresolv -lm -lcrypt -lz -lreso lv *** Warning: inter-library dependencies are not known to be supported. *** All declared inter-library dependencies are being dropped. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. /usr/bin/ld: unrecognized option `-Wl,--whole-archive' gmake[1]: *** [libphp4.la] Error 1 gmake[1]: Leaving directory `/usr/src/php-4.0.4pl1' gmake: *** [all-recursive] Error 1 What should i do? thank you in advance.
How do I establish an SSL socket connection with PHP? I have PHP compiled in an Apache Mod_SSL server. Do I need to compile PHP with some sort of open_ssl option? I have --enable-sockets in the command line. Please help!!! -dave
I need to know all the instructions for installing PHP 4 on IIS in Windows 2000. I try the instructions that came with the product but when I try execute a script the browser only display the code of the script: <?php phpinfo(); ?> Regards, Ricardo Granja [EMAIL PROTECTED]