php-install Digest 15 Apr 2001 13:09:07 -0000 Issue 262 Topics (messages 2782 through 2784): Re: mysql-php problem on RHL7 2782 by: Raul Alvarez Venegas Supplied argument is not a valid MS SQL-Link resource 2783 by: davek Are there suppose to be cpp files in the source code? 2784 by: Plutarck 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] ----------------------------------------------------------------------
On Sat, 14 Apr 2001, Dragan Dinic wrote: > good and php parse *.php files) but when I try to connect script with > database using mysql_connect(...), I receive following error message: > Warning: MySQL Connection Failed: Can't connect to local MySQL server > through socket '/var/lib/mysql/mysql.sock' (111) ... See here if it works for ya http://www.redhat.com/support/errata/RHBA-2000-067-03.html Cheers... Raul
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
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.