php-install Digest 14 Apr 2001 13:49:18 -0000 Issue 261

Topics (messages 2778 through 2781):

Re: Exception:access violation when using PHP/apache/WinNT4.0/MSSQL calls
        2778 by: Yasuo Ohgaki

Re: apache and phph and mysql on win NT
        2779 by: Yasuo Ohgaki

mysql-php problem on RHL7
        2780 by: Dragan Dinic
        2781 by: Dragan Dinic

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]


----------------------------------------------------------------------


Are sure what version of dll used for MySQL module?
Make sure you use correct dll for it. Copy all module dll to system(32).
(PHP should complain if API version does not match, though)

You may need to use dll that comes with the distribution.

Regards,
--
Yasuo Ohgaki


""Matthew DeChant"" <[EMAIL PROTECTED]> wrote in message
000501c0c398$35e32da0$[EMAIL PROTECTED]">news:000501c0c398$35e32da0$[EMAIL PROTECTED]...
> Hello,
>
> Apache crashes with this error:
>
> An application error....
> Apache.exe
> Exception: access violation (0xc0000005), Address: 0x00a549da
>
> When attempting to run even the simplest MSSQL calls (such as
> MSSQL_CONNECT). After apache crashed, it still says apache is running, and
> will serve directory listings (ex. http://localhost), but a call to any .php
> file, even those not containing MSSQL calls, cause the same crash until the
> extension for the mssql dll is removed from php.ini and apache restarted.
>
> The apache/phph server is on one machine, the MSSQL db is on another.
>
> And it returns some of the data to the page before crashing.
>
> Matthew DeChant
> Manager, Systems Administration
> Insight Product Development LLC
> p. 773-907-9500
> f. 773-907-0645
>
>
> --
> 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]
>





Try
http://www.apache.org/dist/httpd/binaries/win32/

Is the link Win/Apache page wrong? still?
May be you should write mail to [EMAIL PROTECTED] if there is wrong link for
Win/Apache download.

Regards,
--
Yasuo Ohgaki


"Peter Van Dijck" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> for home development I want to install apache and phph and mysql on win NT 4.
> It's my first time.
> I was trying to find the apache install for win but I can't seem to find it
> here:
> http://httpd.apache.org/dist/httpd/
> On this page:
> http://httpd.apache.org/docs/windows.html
> it says:
> "You should download the binary build of Apache for Windows named as
> apache_1_3_#-win32-with_src.msi if you are interested in the source code,
> or simply apache_1_3_#-win32-no_src.msi if you don't plan to do anything
> with the source code and appreciate a faster download"
>
> But I can't find that file for download!
> Is there any idiot's guide to doing these installs? (I'm going to have to
> turn mod-rewrite on, and maybe a few options for PHP but that will be it)
>
> Thanks for any help! I would really love to get this done this weekend asap...
> Peter
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> http://liga1.com: building multiple language/culture websites
>
>
> --
> 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]
>





Hello,
I have installed Red Hat Linux 7 and during the instalation proces I chose
to install  php4 and mysql.
After instalation I have added php-mysql support using rpm file.
Both MySQL and PHP seems to work fine (mysqld is running,mysql client work
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) ...
I have also tried to put complete path
(localhost:port:/var/lib/mysql/mysql.sock...) in mysql_connect( ) function
but it didn't solve the problem. When I try to edit file mysql.sock I
receive error message.
Please help me.

Dragan Dinic, Serbia











Hello,
I have installed Red Hat Linux 7 and during the instalation proces I chose
to install  php4 and mysql.
After instalation I have added php-mysql support using rpm file.
Both MySQL and PHP seems to work fine (mysqld is running,mysql client work
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) ...
I have also tried to put complete path
(localhost:port:/var/lib/mysql/mysql.sock...) in mysql_connect( ) function
but it didn't solve the problem. When I try to edit file mysql.sock I
receive error message.
Please help me.

Dragan Dinic, Serbia











Reply via email to