Dont think i have installed MySQL properly. Need to install in same directory as the tut has. Please

Dont think i have installed MySQL properly. Need to install in same directory as the tut has. Please

am 05.11.2004 06:01:58 von James Smith

------=_NextPart_000_0016_01C4C350.F9584C50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I open up the command prompt and go to that directory and run mysql =
command prompt and it waits for a sec and then it comes up with ERROR =
2003: Can't connect to MySQL server on 'localhost' (10061). Not sure =
what i have done wrong. I followed this tutorial =
http://www.kirupa.com/web/apache_php.htm on setting up apache server and =
php to this directory so i installed mysql to the same directory but was =
not sure of how to configure it and set it up if i was using another =
directory other then c:\
------=_NextPart_000_0016_01C4C350.F9584C50--

Re: Dont think i have installed MySQL properly. Need to install in same directory as the tut has

am 05.11.2004 08:04:28 von phpWalter

> I open up the command prompt and go to that directory and run mysql
> command prompt and it waits for a sec and then it comes up with ERROR
> 2003: Can't connect to MySQL server on 'localhost' (10061). Not sure what
> i have done wrong. I followed this tutorial
> http://www.kirupa.com/web/apache_php.htm on setting up apache server and
> php to this directory so i installed mysql to the same directory but was
> not sure of how to configure it and set it up if i was using another
> directory other then c:\

Well, if you what a install procedure that works...

http://web.torres.ws/dev/php/walters_way

I have yet to have *anyone* tell me it didn't work for them.

Let me know how it goes.

Walter

PS: I just added Python to the list!


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 09:48:08 von Captain Webber

Is there any reason why (with the same environment, etc) when launched via
apache server the php_mysql.dll cannot load

Host: Win 2003 Enterprise Server
PHP: 5.02
Apache: 2.0
PHP API 20031224
PHP Extension 20040412
Zend Extension 220040412
MySQL Client API version: 3.23.57

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 15:44:46 von agarrammone

Did you copy the dll files into system or system32 (don't remember well) on
Windows folder?.
----- Original Message -----
From: "Captain Webber"
To:
Sent: Thursday, November 18, 2004 5:48 AM
Subject: Can't find php_mysql.dll from apache but no problem with php -i


> Is there any reason why (with the same environment, etc) when launched via
> apache server the php_mysql.dll cannot load
>
> Host: Win 2003 Enterprise Server
> PHP: 5.02
> Apache: 2.0
> PHP API 20031224
> PHP Extension 20040412
> Zend Extension 220040412
> MySQL Client API version: 3.23.57
>
> --
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe:
http://lists.mysql.com/win32?unsub=agarrammone@afip.gov.ar
>



--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 16:42:25 von Captain Webber

No. I used "Walters Way". I have verfified with the MS depends tool that
the libraries are in the path.

Also: libmysql.dll loads when using cgi from IIS with the same php.ini.

-----Original Message-----
Subject: Re: Can't find php_mysql.dll from apache but no problem with php -i

Did you copy the dll files into system or system32 (don't remember well) on
Windows folder?.
----- Original Message -----
Subject: Can't find php_mysql.dll from apache but no problem with php -i

> Is there any reason why (with the same environment, etc) when launched via
> apache server the php_mysql.dll cannot load
>
> Host: Win 2003 Enterprise Server
> PHP: 5.02
> Apache: 2.0
> PHP API 20031224
> PHP Extension 20040412
> Zend Extension 220040412
> MySQL Client API version: 3.23.57
>
> --
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe:
http://lists.mysql.com/win32?unsub=agarrammone@afip.gov.ar
>



--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php-i

am 18.11.2004 17:18:45 von Ron Steiner

I just went through this myself. If you look back a few days, you'll see that I
needed to copy libmysql.dll to the %systemroot%\system32 directory to get it to
work with Apache. Try it!

Captain Webber wrote:

> No. I used "Walters Way". I have verfified with the MS depends tool that
> the libraries are in the path.
>
> Also: libmysql.dll loads when using cgi from IIS with the same php.ini.


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 17:52:44 von Captain Webber

It worked. But it is not a happy day. I have put a lot of energy into
avoiding the soiling of my system folders with libraries that should live
with their applications. Now, I suppose, I'll have to test to make sure
that MySQL and mod_perl are not affected.

I would be willing to recompile the library if I knew what it is that makes
this library troublesome while most of the others are fine.

Thanks

-----Original Message-----
From: Ron Steiner [mailto:ronsteiner@tds.net]
Subject: Re: Can't find php_mysql.dll from apache but no problem with php -i

I just went through this myself. If you look back a few days, you'll see
that I
needed to copy libmysql.dll to the %systemroot%\system32 directory to get it
to
work with Apache. Try it!

Captain Webber wrote:

> No. I used "Walters Way". I have verfified with the MS depends tool that
> the libraries are in the path.
>
> Also: libmysql.dll loads when using cgi from IIS with the same php.ini.


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:
http://lists.mysql.com/win32?unsub=captain_webber@hotmail.co m


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php-i

am 18.11.2004 18:44:06 von drjuice

Hi, folks -

I'm sorry, but I really can't wrap my arms around the problems you're
having with this particular situation. I have had more than 80 students
install things as in a short document which you can find at:

http://www.ejink.net/webresources/InstallingPHPwithApacheUsi ngWin32.pdf

If you want to run php off the command line, you would also need to put
the path to php.exe in your PATH environment variable. I view this as
the least damaging way to make php available in the shell environment
without completely munging the functional installation that makes
everything work with Apache 2.0.49 , PHP 4.3.5, and MySQL 4.0.18

In the configuration I describe in the document pointed to above, the
path to php.exe would be C:\Apache2\php\

Finally, for logistical reasons relating to how our common lab systems
are set up and wanting the students to be able to work on their labs and
homeworks wherever they are, I have the students install MySQL as a
subdirectory under the Apache2 directory which is installed at the root
of C:\ rather than in C:\Program Files\Apache Group\Apache2

HTH.

virginia
--

\ / Virginia R. Hetrick, here in sunny California
0 Voicemail: 310.471.1766 Email: drjuice@gte.net
Oo "There is always hope."
My health site: http://www.yana.org/hetrick
Site of the month: http://www.washington.edu/cambots/camera1_l.gif





--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php-i

am 18.11.2004 18:57:13 von drjuice

Hi, folks, again - I just reread what I wrote and I realize I didn't
make clear the differences between what I've seen suggested and what I
have our students do.

1. Only two executable files need to be moved from the php installation
directory - sapi\php4apache2.dll and php4ts.dll
2. The php.ini file winds up in C:\WINNT\ for Win2KPro and in
C:\WINDOWS\ for WinXP.
3. Three lines (possibly only two) need to be changed in the httpd.conf
4. Unfortunately, because I view having a LONG directory path as a bad
thing because it presents more opportunities for students to spell
things incorrectly, one mass move from the LONG directory path to a
shorter directory path.

If you also want the notes on php.ini configuration, I can put the
modified php.ini onto my website if you like. It is linenumbered and
also highlighted as a .pdf file, plus each change in configuration is
preceded a line or two above by an annotation that begins # vhnote: so
changes are easy to find, especially in Acrobat 6.

virginia
--

\ / Virginia R. Hetrick, here in sunny California
0 Voicemail: 310.471.1766 Email: drjuice@gte.net
Oo "There is always hope."
My health site: http://www.yana.org/hetrick
Site of the month: http://www.washington.edu/cambots/camera1_l.gif





--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 19:23:33 von phpWalter

Captain Webber said:

> No. I used "Walters Way". I have verfified with the MS depends tool that
> the libraries are in the path.
>
> Also: libmysql.dll loads when using cgi from IIS with the same php.ini.

Oh! Oh! A problem! A problem with "WALTERS WAY!"

Please, lets take about it. Lets see if it can e solved.

This is the first issue I've heard of in regards to "walters way"

I guess I'll read this thread a bit more carefully!

Walter


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 19:26:43 von phpWalter

>From Captain Webber:

> It worked. But it is not a happy day.

No, not a happy day what so ever!


> I have put a lot of energy into avoiding the soiling of
> my system folders with libraries that should live
> with their applications.

And I even more so to make this happen.

Fighting the tide for too long to have it all fall apart now.

Pushing against the "window heads" that keep telling me that "it just
won't work".


> Now, I suppose, I'll have to test to make sure
> that MySQL and mod_perl are not affected.

Please let me know what you come up with.

This is a very sad day for me.

Walter


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 19:30:00 von phpWalter

Virginia replied:



> Finally, for logistical reasons relating to how our common lab systems
> are set up and wanting the students to be able to work on their labs and
> homeworks wherever they are, I have the students install MySQL as a
> subdirectory under the Apache2 directory which is installed at the root of
> C:\ rather than in C:\Program Files\Apache Group\Apache2

Oh the possibilities!

If I could get a lab like that (as described above) to test "Walters Way".

If only!

I can not see any reason that it would not work, but that is only in theory.

I have 2 workstations and a sever working as I descibe.

But having others do it in a larger scale can only make the method better.

Walter


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php -i

am 18.11.2004 19:38:45 von phpWalter

Ron stated:
> I just went through this myself. If you look back a few days, you'll see
> that I needed to copy libmysql.dll to the %systemroot%\system32 directory
> to get it to work with Apache. Try it!

I just wnet though my system...

libmysql.dll lives in 2 directories...

/etc/mySQL/bin/libmysql.dll 211k 02/11/04
etc/php/extensions/libmysql.dll 196k 06/02/04

Each DLL came with their respective packages

I can not find this file anywhere else on my system.

If you installed your system via "Walters Way", I'd like to do a directory
compare to what you have and what I have and see if I can track this down.

I'm tring very hard to have *nothing* in the windows directory.

Thanks

Walter

PS: Mybe I should make a yahoo group for this?

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: Can"t find php_mysql.dll from apache but no problem with php-i

am 18.11.2004 21:42:39 von Friedhelm Betz

Hi Ron,

> I just went through this myself. If you look back a few days, you'll see
> that I needed to copy libmysql.dll to the %systemroot%\system32
> directory to get it to work with Apache. Try it!

You don't have to put anything to %systemroot%\system32.
Just read the somewhat offical setup instructions in the PHP Manual:

http://www.php.net/manual/en/install.windows.manual.php

and follow those recommendations carefully.
If this does not work for you, we would be happy to see your bugreport
at bugs.php.net.

Regards
Friedhelm Betz


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org