Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Shiplu,

Not sure what you meant by that. I never had to restore anything. Would be
happy to know if I have misunderstood anything.

Regards,
Shreyas

On Thu, Jun 3, 2010 at 4:52 AM, shiplu shiplu@gmail.com wrote:

 Actually you just restore your NS schema in the new EasyPHP stack.

 Shiplu Mokadd.im
 My talks, http://talk.cmyweb.net
 Follow me, http://twitter.com/shiplu
 SUST Programmers, http://groups.google.com/group/p2psust
 Innovation distinguishes bet ... ... (ask Steve Jobs the rest)




-- 
Regards,
Shreyas


RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Bob McConnell
From: Shreyas

 Not sure what you meant by that. I never had to restore anything.
Would be
 happy to know if I have misunderstood anything.

 On Thu, Jun 3, 2010 at 4:52 AM, shiplu shiplu@gmail.com wrote:
 
 Actually you just restore your NS schema in the new EasyPHP stack.


The fact that you were able to add your schema by simply copying it into
the correct directory is a happy coincidence, or more likely a serious
bug in MySQL. There may be some system tables that were not updated to
reflect the presence of that schema, so some features may not work with
it.

The correct way to move a database is to back it up on the original
server, then restore it on the new one. That way all system tables would
be correctly updated by the server.

Bob McConnell

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Ashley Sheridan
On Thu, 2010-06-03 at 08:29 -0400, Bob McConnell wrote:

 From: Shreyas
 
  Not sure what you meant by that. I never had to restore anything.
 Would be
  happy to know if I have misunderstood anything.
 
  On Thu, Jun 3, 2010 at 4:52 AM, shiplu shiplu@gmail.com wrote:
  
  Actually you just restore your NS schema in the new EasyPHP stack.
 
 
 The fact that you were able to add your schema by simply copying it into
 the correct directory is a happy coincidence, or more likely a serious
 bug in MySQL. There may be some system tables that were not updated to
 reflect the presence of that schema, so some features may not work with
 it.
 
 The correct way to move a database is to back it up on the original
 server, then restore it on the new one. That way all system tables would
 be correctly updated by the server.
 
 Bob McConnell
 


On more than one occassion I've just copied the data files from one
location to another to move the database from one server to another. You
do have to ensure that the MySQL service has been stopped while you do
this, but aside from that there's nothing wrong with doing this.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-03 Thread Shreyas
Ash - Yes, the service was stopped and then it was copied.

--Shreyas

On Thu, Jun 3, 2010 at 7:07 PM, Ashley Sheridan 
a...@ashleysheridan.co.ukwrote:

  On Thu, 2010-06-03 at 08:29 -0400, Bob McConnell wrote:

 From: Shreyas

  Not sure what you meant by that. I never had to restore anything.
 Would be
  happy to know if I have misunderstood anything.

  On Thu, Jun 3, 2010 at 4:52 AM, shiplu shiplu@gmail.com wrote:
 
  Actually you just restore your NS schema in the new EasyPHP stack.
 

 The fact that you were able to add your schema by simply copying it into
 the correct directory is a happy coincidence, or more likely a serious
 bug in MySQL. There may be some system tables that were not updated to
 reflect the presence of that schema, so some features may not work with
 it.

 The correct way to move a database is to back it up on the original
 server, then restore it on the new one. That way all system tables would
 be correctly updated by the server.

 Bob McConnell



 On more than one occassion I've just copied the data files from one
 location to another to move the database from one server to another. You do
 have to ensure that the MySQL service has been stopped while you do this,
 but aside from that there's nothing wrong with doing this.

   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





-- 
Regards,
Shreyas


RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-02 Thread Bob McConnell
From: Shreyas

 What would be the exact installer which will let me have the MySQL
Server
 and the Query browser? I know this is the wrong forum but I am just
giving
 it a shot. When I do Start - All Programs - MYSQL, I used to get
only
 above options. I have lost the installer and the actual MySQL website
has
 quite a lot of things.

I don't know anything about the MySQL toy, but from scanning this thread
you already have a server installed if your java app is talking to it on
port 3306. You are now trying to install a second server on the same
computer, which can only be done if you change the port number.

How did you install the first server? Was it part of the java install or
did one of the other packages you installed put it there? Do you still
have the documents for that package with the default users and
passwords?

Bob McConnell

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-02 Thread Shreyas
Bob,

That was a separate installer. It was nothing to do with another software.

--Shreyas

On Wed, Jun 2, 2010 at 7:19 PM, Bob McConnell r...@cbord.com wrote:

 From: Shreyas

  What would be the exact installer which will let me have the MySQL
 Server
  and the Query browser? I know this is the wrong forum but I am just
 giving
  it a shot. When I do Start - All Programs - MYSQL, I used to get
 only
  above options. I have lost the installer and the actual MySQL website
 has
  quite a lot of things.

 I don't know anything about the MySQL toy, but from scanning this thread
 you already have a server installed if your java app is talking to it on
 port 3306. You are now trying to install a second server on the same
 computer, which can only be done if you change the port number.

 How did you install the first server? Was it part of the java install or
 did one of the other packages you installed put it there? Do you still
 have the documents for that package with the default users and
 passwords?

 Bob McConnell




-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-02 Thread Shreyas
All,

Finally, the 28th reply seems to have brought this thread to an end. Yes,
persistence finally got me there! Special thanks to Ash.

I am able to run both my Java code and php code on the same port (though
nothing database conversations are happening) from the same machine.

Here's the set-up :

MySQL Server 5.1 + Query Browser : port 3306. This has a schema called as NS
which is referenced by my Java code.

EasyPHP : This is running in a diferent location with its stack in C:\.

Fix : I knew all I had to do was a drop of my NS schema to a folder called
data and from nowhere I crashed into this : C:\Documents and Settings\All
Users\Application Data\MySQL\MySQL Server 5.1\data.

I dropped my NS schema there; checked the query browser and there it was!
Compiled my Java code and I was able to get back to my previous
environment.

So, no port conflicts, no different usernames. So far so good. Talk to you
all soon as I am gearing up with programming questions now.

--Shreyas

On Thu, Jun 3, 2010 at 1:02 AM, Shreyas shreya...@gmail.com wrote:

 Bob,

 That was a separate installer. It was nothing to do with another software.

 --Shreyas


 On Wed, Jun 2, 2010 at 7:19 PM, Bob McConnell r...@cbord.com wrote:

 From: Shreyas

  What would be the exact installer which will let me have the MySQL
 Server
  and the Query browser? I know this is the wrong forum but I am just
 giving
  it a shot. When I do Start - All Programs - MYSQL, I used to get
 only
  above options. I have lost the installer and the actual MySQL website
 has
  quite a lot of things.

 I don't know anything about the MySQL toy, but from scanning this thread
 you already have a server installed if your java app is talking to it on
 port 3306. You are now trying to install a second server on the same
 computer, which can only be done if you change the port number.

 How did you install the first server? Was it part of the java install or
 did one of the other packages you installed put it there? Do you still
 have the documents for that package with the default users and
 passwords?

 Bob McConnell




 --
 Regards,
 Shreyas




-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP

2010-06-02 Thread shiplu
Actually you just restore your NS schema in the new EasyPHP stack.

Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:

 PHP'ers,
 
 
 
 Please do not curse me for this. 
 
 
 I am having a tough time to get this up and running. Can someone point
 me to a document which will help me do configure so that I can start
 learning and working on PHP ASAP? Please. I have attached the files
 under consideration. 
 
 
 Here is my details :
 
 
 MySQL - 5.x
 
 
 Apache - apache_2.2.4-win32-x86-no_ssl.msi 
 
 
 PHP base - C:\PHP
 
 
 
 Regards,
 Shreyas
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


Rather than install the separate components have you looked at a
pre-built stack? A lot of people swear by the WAMP install on Windows.
For my own experience on Windows, I've found EasyPHP to be an absolute
doddle to use, and can have you up and running with all the modules you
need within minutes.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash,

Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
how it goes. But just to understand how this all works, will it work with
Eclipse, too? I am using Ganymede.


Regards,
Shreyas

On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
a...@ashleysheridan.co.ukwrote:

  On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:

 PHP'ers,



  Please do not curse me for this.



  I am having a tough time to get this up and running. Can someone point me
 to a document which will help me do configure so that I can start learning
 and working on PHP ASAP? Please. I have attached the files under
 consideration.



  Here is my details :



  MySQL - 5.x



  Apache - apache_2.2.4-win32-x86-no_ssl.msi



  PHP base - C:\PHP



 Regards,
 Shreyas

  --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 Rather than install the separate components have you looked at a pre-built
 stack? A lot of people swear by the WAMP install on Windows. For my own
 experience on Windows, I've found EasyPHP to be an absolute doddle to use,
 and can have you up and running with all the modules you need within
 minutes.

   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:

 Ash,
 
 Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
 how it goes. But just to understand how this all works, will it work with
 Eclipse, too? I am using Ganymede.
 
 
 Regards,
 Shreyas
 
 On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:
 
   On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
 
  PHP'ers,
 
 
 
   Please do not curse me for this.
 
 
 
   I am having a tough time to get this up and running. Can someone point me
  to a document which will help me do configure so that I can start learning
  and working on PHP ASAP? Please. I have attached the files under
  consideration.
 
 
 
   Here is my details :
 
 
 
   MySQL - 5.x
 
 
 
   Apache - apache_2.2.4-win32-x86-no_ssl.msi
 
 
 
   PHP base - C:\PHP
 
 
 
  Regards,
  Shreyas
 
   --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  Rather than install the separate components have you looked at a pre-built
  stack? A lot of people swear by the WAMP install on Windows. For my own
  experience on Windows, I've found EasyPHP to be an absolute doddle to use,
  and can have you up and running with all the modules you need within
  minutes.
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 


The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP
in one install, and gets it all working together easily on Windows.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:

 I did and I miserably failed. I feel like giving up on learning PHP
 now with all these set-up now. Aaah!
 
 
 
 I have uninstalled MySQL now and trying to see how it goes. 
 
 
 ---Shreyas
 
 
 On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan
 a...@ashleysheridan.co.uk wrote:
 
 
 On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
 
  Got it! I already have MySQL and Apache installed for
  another Java project and now it tells me certain ports are
  used. Where can I look up for answers like these?
  
  
  --Shreyas
  
  On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan
  a...@ashleysheridan.co.uk wrote:
  
  
  On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote: 
  
   Ash,
   
   Thanks for the quick reply. I am downloading Easyphp 3.0 
 right now and see
   how it goes. But just to understand how this all works, 
 will it work with
   Eclipse, too? I am using Ganymede.
   
   
   Regards,
   Shreyas
   
   On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:
   
 On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
   
PHP'ers,
   
   
   
 Please do not curse me for this.
   
   
   
 I am having a tough time to get this up and running. 
 Can someone point me
to a document which will help me do configure so that I 
 can start learning
and working on PHP ASAP? Please. I have attached the 
 files under
consideration.
   
   
   
 Here is my details :
   
   
   
 MySQL - 5.x
   
   
   
 Apache - apache_2.2.4-win32-x86-no_ssl.msi
   
   
   
 PHP base - C:\PHP
   
   
   
Regards,
Shreyas
   
 --
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
Rather than install the separate components have you 
 looked at a pre-built
stack? A lot of people swear by the WAMP install on 
 Windows. For my own
experience on Windows, I've found EasyPHP to be an 
 absolute doddle to use,
and can have you up and running with all the modules 
 you need within
minutes.
   
  Thanks,
Ash
http://www.ashleysheridan.co.uk
   
   
   
   
   
  
  
  
  The editor you use won't matter. EasyPHP installs
  Apache, MySQL and PHP in one install, and gets it
  all working together easily on Windows. 
  
  
  Thanks,
  Ash
  http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
  
  -- 
  Regards,
  Shreyas
  
 
 
 
 
 The install should allow you to choose different ports, but as
 you already have Apache and MySQL installed, have you looked
 to download the PHP Windows installation file from php.net and
 run that? It should let you attach it to an existing Apache
 install, although I'm not familiar with installing PHP this
 way on a Windows machine.
 
 
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 
 -- 
 Regards,
 Shreyas
 

I'm not so good with diagnosing Windows problems these days, haven't
used it seriously for a few years now, maybe someone else on the list
can help?

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:

 You have been of great help, Ash. 
 
 
 
 I just did some progress and I typed in http://localhost and I see the
 easyphp page. Do you know how I can write my own apps now?
 
 
 
 
 
 On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan
 a...@ashleysheridan.co.uk wrote:
 
 
 On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
 
  I did and I miserably failed. I feel like giving up on
  learning PHP now with all these set-up now. Aaah!
  
  
  I have uninstalled MySQL now and trying to see how it goes. 
  
  
  ---Shreyas
  
  On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan
  a...@ashleysheridan.co.uk wrote:
  
  
  On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
  
   Got it! I already have MySQL and Apache installed
   for another Java project and now it tells me
   certain ports are used. Where can I look up for
   answers like these?
   
   
   --Shreyas
   
   On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan
   a...@ashleysheridan.co.uk wrote:
   
   
   On Tue, 2010-06-01 at 22:02 +0530, Shreyas
   wrote: 
   
Ash,

Thanks for the quick reply. I am downloading 
 Easyphp 3.0 right now and see
how it goes. But just to understand how this 
 all works, will it work with
Eclipse, too? I am using Ganymede.


Regards,
Shreyas

On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:

  On Tue, 2010-06-01 at 21:47 +0530, Shreyas 
 wrote:

 PHP'ers,



  Please do not curse me for this.



  I am having a tough time to get this up and 
 running. Can someone point me
 to a document which will help me do configure 
 so that I can start learning
 and working on PHP ASAP? Please. I have 
 attached the files under
 consideration.



  Here is my details :



  MySQL - 5.x



  Apache - apache_2.2.4-win32-x86-no_ssl.msi



  PHP base - C:\PHP



 Regards,
 Shreyas

  --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: 
 http://www.php.net/unsub.php


 Rather than install the separate components 
 have you looked at a pre-built
 stack? A lot of people swear by the WAMP 
 install on Windows. For my own
 experience on Windows, I've found EasyPHP to 
 be an absolute doddle to use,
 and can have you up and running with all the 
 modules you need within
 minutes.

   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





   
   
   
   The editor you use won't matter. EasyPHP
   installs Apache, MySQL and PHP in one
   install, and gets it all working together
   easily on Windows. 

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Alright! Point duly noted.

I only did not want to spam the list with my very rudimentary questions.

On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

  On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:

 You have been of great help, Ash.



  I just did some progress and I typed in http://localhost and I see the
 easyphp page. Do you know how I can write my own apps now?





  On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk wrote:


   On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:

 I did and I miserably failed. I feel like giving up on learning PHP now
 with all these set-up now. Aaah!


 I have uninstalled MySQL now and trying to see how it goes.


 ---Shreyas

 On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan a...@ashleysheridan.co.uk
 wrote:


 On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:

 Got it! I already have MySQL and Apache installed for another Java project
 and now it tells me certain ports are used. Where can I look up for answers
 like these?


 --Shreyas

 On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan a...@ashleysheridan.co.uk
 wrote:


 On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:

 Ash,

 Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
 how it goes. But just to understand how this all works, will it work with
 Eclipse, too? I am using Ganymede.


 Regards,
 Shreyas

 On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:

   On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
 
  PHP'ers,
 
 
 
   Please do not curse me for this.
 
 
 
   I am having a tough time to get this up and running. Can someone point me
  to a document which will help me do configure so that I can start learning
  and working on PHP ASAP? Please. I have attached the files under
  consideration.
 
 
 
   Here is my details :
 
 
 
   MySQL - 5.x
 
 
 
   Apache - apache_2.2.4-win32-x86-no_ssl.msi
 
 
 
   PHP base - C:\PHP
 
 
 
  Regards,
  Shreyas
 
   --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  Rather than install the separate components have you looked at a pre-built
  stack? A lot of people swear by the WAMP install on Windows. For my own
  experience on Windows, I've found EasyPHP to be an absolute doddle to use,
  and can have you up and running with all the modules you need within
  minutes.
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 





 The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
 one install, and gets it all working together easily on Windows.


   Thanks,
 Ash
 http://www.ashleysheridan.co.uk








 --
 Regards,
 Shreyas



 The install should allow you to choose different ports, but as you already
 have Apache and MySQL installed, have you looked to download the PHP Windows
 installation file from php.net and run that? It should let you attach it
 to an existing Apache install, although I'm not familiar with installing PHP
 this way on a Windows machine.


   Thanks,
 Ash
 http://www.ashleysheridan.co.uk







 --
 Regards,
 Shreyas



   I'm not so good with diagnosing Windows problems these days, haven't
 used it seriously for a few years now, maybe someone else on the list can
 help?



   Thanks,
 Ash
 http://www.ashleysheridan.co.uk






 --
 Regards,
 Shreyas


 EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
 thereabouts) so you can just create and edit files in here.


 Ps, use the reply to list (or failing that the reply to all) feature in
 your email client to keep the messages on list so that other people can see,
 respond to and benefit from the thread.

 Ps.ps. please try not to top post. The list rules say that we should all
 bottom post in order to keep threads logical.


   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:

 Alright! Point duly noted.
 
 I only did not want to spam the list with my very rudimentary questions.
 
 On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:
 
   On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
 
  You have been of great help, Ash.
 
 
 
   I just did some progress and I typed in http://localhost and I see the
  easyphp page. Do you know how I can write my own apps now?
 
 
 
 
 
   On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
  a...@ashleysheridan.co.uk wrote:
 
 
On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
 
  I did and I miserably failed. I feel like giving up on learning PHP now
  with all these set-up now. Aaah!
 
 
  I have uninstalled MySQL now and trying to see how it goes.
 
 
  ---Shreyas
 
  On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan a...@ashleysheridan.co.uk
  wrote:
 
 
  On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
 
  Got it! I already have MySQL and Apache installed for another Java project
  and now it tells me certain ports are used. Where can I look up for answers
  like these?
 
 
  --Shreyas
 
  On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan a...@ashleysheridan.co.uk
  wrote:
 
 
  On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
 
  Ash,
 
  Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
  how it goes. But just to understand how this all works, will it work with
  Eclipse, too? I am using Ganymede.
 
 
  Regards,
  Shreyas
 
  On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
  a...@ashleysheridan.co.ukwrote:
 
On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
  
   PHP'ers,
  
  
  
Please do not curse me for this.
  
  
  
I am having a tough time to get this up and running. Can someone point me
   to a document which will help me do configure so that I can start learning
   and working on PHP ASAP? Please. I have attached the files under
   consideration.
  
  
  
Here is my details :
  
  
  
MySQL - 5.x
  
  
  
Apache - apache_2.2.4-win32-x86-no_ssl.msi
  
  
  
PHP base - C:\PHP
  
  
  
   Regards,
   Shreyas
  
--
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
   Rather than install the separate components have you looked at a pre-built
   stack? A lot of people swear by the WAMP install on Windows. For my own
   experience on Windows, I've found EasyPHP to be an absolute doddle to use,
   and can have you up and running with all the modules you need within
   minutes.
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
 
 
 
 
 
  The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
  one install, and gets it all working together easily on Windows.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
 
  The install should allow you to choose different ports, but as you already
  have Apache and MySQL installed, have you looked to download the PHP Windows
  installation file from php.net and run that? It should let you attach it
  to an existing Apache install, although I'm not familiar with installing PHP
  this way on a Windows machine.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
 
I'm not so good with diagnosing Windows problems these days, haven't
  used it seriously for a few years now, maybe someone else on the list can
  help?
 
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
  EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
  thereabouts) so you can just create and edit files in here.
 
 
  Ps, use the reply to list (or failing that the reply to all) feature in
  your email client to keep the messages on list so that other people can see,
  respond to and benefit from the thread.
 
  Ps.ps. please try not to top post. The list rules say that we should all
  bottom post in order to keep threads logical.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 


The list is here to help with your questions, and your question might
also be the same as somebody else's question, which is where the list
archiving helps.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Thanks, Ash.

I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL
and Apache to get this work. I have to figure out how I can ask my java code
to look at a separate instance of MYSQL while the EasyPHP's instance runs
too.

Anyone has encountered this before?

Regards,
Shreyas

On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

  On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:

 Alright! Point duly noted.

 I only did not want to spam the list with my very rudimentary questions.

 On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:

   On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
 
  You have been of great help, Ash.
 
 
 
   I just did some progress and I typed in http://localhost and I see the
  easyphp page. Do you know how I can write my own apps now?
 
 
 
 
 
   On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
  a...@ashleysheridan.co.uk wrote:
 
 
On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
 
  I did and I miserably failed. I feel like giving up on learning PHP now
  with all these set-up now. Aaah!
 
 
  I have uninstalled MySQL now and trying to see how it goes.
 
 
  ---Shreyas
 
  On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan a...@ashleysheridan.co.uk
  wrote:
 
 
  On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
 
  Got it! I already have MySQL and Apache installed for another Java project
  and now it tells me certain ports are used. Where can I look up for answers
  like these?
 
 
  --Shreyas
 
  On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan a...@ashleysheridan.co.uk
  wrote:
 
 
  On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
 
  Ash,
 
  Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
  how it goes. But just to understand how this all works, will it work with
  Eclipse, too? I am using Ganymede.
 
 
  Regards,
  Shreyas
 
  On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
  a...@ashleysheridan.co.ukwrote:
 
On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
  
   PHP'ers,
  
  
  
Please do not curse me for this.
  
  
  
I am having a tough time to get this up and running. Can someone point me
   to a document which will help me do configure so that I can start learning
   and working on PHP ASAP? Please. I have attached the files under
   consideration.
  
  
  
Here is my details :
  
  
  
MySQL - 5.x
  
  
  
Apache - apache_2.2.4-win32-x86-no_ssl.msi
  
  
  
PHP base - C:\PHP
  
  
  
   Regards,
   Shreyas
  
--
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
   Rather than install the separate components have you looked at a pre-built
   stack? A lot of people swear by the WAMP install on Windows. For my own
   experience on Windows, I've found EasyPHP to be an absolute doddle to use,
   and can have you up and running with all the modules you need within
   minutes.
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
 
 
 
 
 
  The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
  one install, and gets it all working together easily on Windows.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
 
  The install should allow you to choose different ports, but as you already
  have Apache and MySQL installed, have you looked to download the PHP Windows
  installation file from php.net and run that? It should let you attach it
  to an existing Apache install, although I'm not familiar with installing PHP
  this way on a Windows machine.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
 
I'm not so good with diagnosing Windows problems these days, haven't
  used it seriously for a few years now, maybe someone else on the list can
  help?
 
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 
 
 
 
  --
  Regards,
  Shreyas
 
 
  EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
  thereabouts) so you can just create and edit files in here.
 
 
  Ps, use the reply to list (or failing that the reply to all) feature in
  your email client to keep the messages on list so that other people can see,
  respond to and benefit from the thread.
 
  Ps.ps. please try not to top post. The list rules say that we should all
  bottom post in order to keep threads logical.
 
 
Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 




 The list is here to help with your questions, and your question might also
 be the same as somebody else's question, which is where the list archiving
 helps.


   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote:

 Thanks, Ash.
 
 I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL
 and Apache to get this work. I have to figure out how I can ask my java code
 to look at a separate instance of MYSQL while the EasyPHP's instance runs
 too.
 
 Anyone has encountered this before?
 
 Regards,
 Shreyas
 
 On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:
 
   On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
 
  Alright! Point duly noted.
 
  I only did not want to spam the list with my very rudimentary questions.
 
  On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
  a...@ashleysheridan.co.ukwrote:
 
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
  
   You have been of great help, Ash.
  
  
  
I just did some progress and I typed in http://localhost and I see the
   easyphp page. Do you know how I can write my own apps now?
  
  
  
  
  
On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk wrote:
  
  
 On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
  
   I did and I miserably failed. I feel like giving up on learning PHP now
   with all these set-up now. Aaah!
  
  
   I have uninstalled MySQL now and trying to see how it goes.
  
  
   ---Shreyas
  
   On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
  
   Got it! I already have MySQL and Apache installed for another Java project
   and now it tells me certain ports are used. Where can I look up for 
   answers
   like these?
  
  
   --Shreyas
  
   On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
  
   Ash,
  
   Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
   how it goes. But just to understand how this all works, will it work with
   Eclipse, too? I am using Ganymede.
  
  
   Regards,
   Shreyas
  
   On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
   a...@ashleysheridan.co.ukwrote:
  
 On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
   
PHP'ers,
   
   
   
 Please do not curse me for this.
   
   
   
 I am having a tough time to get this up and running. Can someone point 
me
to a document which will help me do configure so that I can start 
learning
and working on PHP ASAP? Please. I have attached the files under
consideration.
   
   
   
 Here is my details :
   
   
   
 MySQL - 5.x
   
   
   
 Apache - apache_2.2.4-win32-x86-no_ssl.msi
   
   
   
 PHP base - C:\PHP
   
   
   
Regards,
Shreyas
   
 --
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
Rather than install the separate components have you looked at a 
pre-built
stack? A lot of people swear by the WAMP install on Windows. For my own
experience on Windows, I've found EasyPHP to be an absolute doddle to 
use,
and can have you up and running with all the modules you need within
minutes.
   
  Thanks,
Ash
http://www.ashleysheridan.co.uk
   
   
   
  
  
  
  
  
   The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
   one install, and gets it all working together easily on Windows.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
   The install should allow you to choose different ports, but as you already
   have Apache and MySQL installed, have you looked to download the PHP 
   Windows
   installation file from php.net and run that? It should let you attach it
   to an existing Apache install, although I'm not familiar with installing 
   PHP
   this way on a Windows machine.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
 I'm not so good with diagnosing Windows problems these days, haven't
   used it seriously for a few years now, maybe someone else on the list can
   help?
  
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
   EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
   thereabouts) so you can just create and edit files in here.
  
  
   Ps, use the reply to list (or failing that the reply to all) feature in
   your email client to keep the messages on list so that other people can 
   see,
   respond to and benefit from the thread.
  
   Ps.ps. please try not to top post. The list rules say that we should all
   bottom post in order to keep threads logical.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
 
 
 
 
  The list is here to help with your questions, and your question might also
  be the same as somebody else's question, which is where the list 

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash,

Not sure if that would work here. I gave that a shot and there was a port
conflict.

I actually want to learn how to set PHP environment in bits and pieces
without a WAMP. Will see what I can do there.

Regards,
Shreyas

On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:

  On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote:

 Thanks, Ash.

 I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL
 and Apache to get this work. I have to figure out how I can ask my java code
 to look at a separate instance of MYSQL while the EasyPHP's instance runs
 too.

 Anyone has encountered this before?

 Regards,
 Shreyas

 On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:

   On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
 
  Alright! Point duly noted.
 
  I only did not want to spam the list with my very rudimentary questions.
 
  On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
  a...@ashleysheridan.co.ukwrote:
 
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
  
   You have been of great help, Ash.
  
  
  
I just did some progress and I typed in http://localhost and I see the
   easyphp page. Do you know how I can write my own apps now?
  
  
  
  
  
On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk wrote:
  
  
 On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
  
   I did and I miserably failed. I feel like giving up on learning PHP now
   with all these set-up now. Aaah!
  
  
   I have uninstalled MySQL now and trying to see how it goes.
  
  
   ---Shreyas
  
   On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
  
   Got it! I already have MySQL and Apache installed for another Java project
   and now it tells me certain ports are used. Where can I look up for 
   answers
   like these?
  
  
   --Shreyas
  
   On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
  
   Ash,
  
   Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
   how it goes. But just to understand how this all works, will it work with
   Eclipse, too? I am using Ganymede.
  
  
   Regards,
   Shreyas
  
   On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
   a...@ashleysheridan.co.ukwrote:
  
 On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
   
PHP'ers,
   
   
   
 Please do not curse me for this.
   
   
   
 I am having a tough time to get this up and running. Can someone point 
me
to a document which will help me do configure so that I can start 
learning
and working on PHP ASAP? Please. I have attached the files under
consideration.
   
   
   
 Here is my details :
   
   
   
 MySQL - 5.x
   
   
   
 Apache - apache_2.2.4-win32-x86-no_ssl.msi
   
   
   
 PHP base - C:\PHP
   
   
   
Regards,
Shreyas
   
 --
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
Rather than install the separate components have you looked at a 
pre-built
stack? A lot of people swear by the WAMP install on Windows. For my own
experience on Windows, I've found EasyPHP to be an absolute doddle to 
use,
and can have you up and running with all the modules you need within
minutes.
   
  Thanks,
Ash
http://www.ashleysheridan.co.uk
   
   
   
  
  
  
  
  
   The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
   one install, and gets it all working together easily on Windows.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
   The install should allow you to choose different ports, but as you already
   have Apache and MySQL installed, have you looked to download the PHP 
   Windows
   installation file from php.net and run that? It should let you attach it
   to an existing Apache install, although I'm not familiar with installing 
   PHP
   this way on a Windows machine.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
 I'm not so good with diagnosing Windows problems these days, haven't
   used it seriously for a few years now, maybe someone else on the list can
   help?
  
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
   EasyPHP keeps it's web root by default at C:\Program Files\EasyPHP\www (or
   thereabouts) so you can just create and edit files in here.
  
  
   Ps, use the reply to list (or failing that the reply to all) feature in
   your email client to keep the messages on list so that other people can 
   see,
   respond to and benefit from the thread.
  
   Ps.ps. please try not to top post. The 

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote:

 Ash,
 
 
 
 Not sure if that would work here. I gave that a shot and there was a
 port conflict. 
 
 
 I actually want to learn how to set PHP environment in bits and pieces
 without a WAMP. Will see what I can do there. 
 
 
 Regards,
 Shreyas
 
 
 On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan
 a...@ashleysheridan.co.uk wrote:
 
 
 On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote: 
 
  Thanks, Ash.
  
  I was able to set things up with EasyPHP 3.0. I had to uninstall my 
 MySQL
  and Apache to get this work. I have to figure out how I can ask my 
 java code
  to look at a separate instance of MYSQL while the EasyPHP's 
 instance runs
  too.
  
  Anyone has encountered this before?
  
  Regards,
  Shreyas
  
  On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
  a...@ashleysheridan.co.ukwrote:
  
On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
  
   Alright! Point duly noted.
  
   I only did not want to spam the list with my very rudimentary 
 questions.
  
   On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
   a...@ashleysheridan.co.ukwrote:
  
 On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
   
You have been of great help, Ash.
   
   
   
 I just did some progress and I typed in http://localhost and I 
 see the
easyphp page. Do you know how I can write my own apps now?
   
   
   
   
   
 On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
a...@ashleysheridan.co.uk wrote:
   
   
  On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
   
I did and I miserably failed. I feel like giving up on learning 
 PHP now
with all these set-up now. Aaah!
   
   
I have uninstalled MySQL now and trying to see how it goes.
   
   
---Shreyas
   
On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk
wrote:
   
   
On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
   
Got it! I already have MySQL and Apache installed for another 
 Java project
and now it tells me certain ports are used. Where can I look up 
 for answers
like these?
   
   
--Shreyas
   
On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk
wrote:
   
   
On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
   
Ash,
   
Thanks for the quick reply. I am downloading Easyphp 3.0 right 
 now and see
how it goes. But just to understand how this all works, will it 
 work with
Eclipse, too? I am using Ganymede.
   
   
Regards,
Shreyas
   
On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:
   
  On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:

 PHP'ers,



  Please do not curse me for this.



  I am having a tough time to get this up and running. Can 
 someone point me
 to a document which will help me do configure so that I can 
 start learning
 and working on PHP ASAP? Please. I have attached the files 
 under
 consideration.



  Here is my details :



  MySQL - 5.x



  Apache - apache_2.2.4-win32-x86-no_ssl.msi



  PHP base - C:\PHP



 Regards,
 Shreyas

  --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 Rather than install the separate components have you looked 
 at a pre-built
 stack? A lot of people swear by the WAMP install on Windows. 
 For my own
 experience on Windows, I've found EasyPHP to be an absolute 
 doddle to use,
 and can have you up and running with all the modules you need 
 within
 minutes.

   Thanks,
 Ash
 http://www.ashleysheridan.co.uk



   
   
   
   
   
The editor you use 

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Tried that just now and didn't work.

The Java code which talks to the DB has a different username and password
than the one installed with EasyPHP. I might be missing something very silly
here. Damn me!

--Shreyas

The

On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan 
a...@ashleysheridan.co.ukwrote:

  On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote:

 Ash,



  Not sure if that would work here. I gave that a shot and there was a port
 conflict.



  I actually want to learn how to set PHP environment in bits and pieces
 without a WAMP. Will see what I can do there.



  Regards,

  Shreyas

  On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan 
 a...@ashleysheridan.co.uk wrote:


   On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote:

 Thanks, Ash.

 I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL
 and Apache to get this work. I have to figure out how I can ask my java code
 to look at a separate instance of MYSQL while the EasyPHP's instance runs
 too.

 Anyone has encountered this before?

 Regards,
 Shreyas

 On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
 a...@ashleysheridan.co.ukwrote:

   On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
 
  Alright! Point duly noted.
 
  I only did not want to spam the list with my very rudimentary questions.
 
  On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
  a...@ashleysheridan.co.ukwrote:
 
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
  
   You have been of great help, Ash.
  
  
  
I just did some progress and I typed in http://localhost and I see the
   easyphp page. Do you know how I can write my own apps now?
  
  
  
  
  
On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk wrote:
  
  
 On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:
  
   I did and I miserably failed. I feel like giving up on learning PHP now
   with all these set-up now. Aaah!
  
  
   I have uninstalled MySQL now and trying to see how it goes.
  
  
   ---Shreyas
  
   On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:
  
   Got it! I already have MySQL and Apache installed for another Java project
   and now it tells me certain ports are used. Where can I look up for 
   answers
   like these?
  
  
   --Shreyas
  
   On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan 
   a...@ashleysheridan.co.uk
   wrote:
  
  
   On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:
  
   Ash,
  
   Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see
   how it goes. But just to understand how this all works, will it work with
   Eclipse, too? I am using Ganymede.
  
  
   Regards,
   Shreyas
  
   On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
   a...@ashleysheridan.co.ukwrote:
  
 On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
   
PHP'ers,
   
   
   
 Please do not curse me for this.
   
   
   
 I am having a tough time to get this up and running. Can someone point 
me
to a document which will help me do configure so that I can start 
learning
and working on PHP ASAP? Please. I have attached the files under
consideration.
   
   
   
 Here is my details :
   
   
   
 MySQL - 5.x
   
   
   
 Apache - apache_2.2.4-win32-x86-no_ssl.msi
   
   
   
 PHP base - C:\PHP
   
   
   
Regards,
Shreyas
   
 --
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
Rather than install the separate components have you looked at a 
pre-built
stack? A lot of people swear by the WAMP install on Windows. For my own
experience on Windows, I've found EasyPHP to be an absolute doddle to 
use,
and can have you up and running with all the modules you need within
minutes.
   
  Thanks,
Ash
http://www.ashleysheridan.co.uk
   
   
   
  
  
  
  
  
   The editor you use won't matter. EasyPHP installs Apache, MySQL and PHP in
   one install, and gets it all working together easily on Windows.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
   The install should allow you to choose different ports, but as you already
   have Apache and MySQL installed, have you looked to download the PHP 
   Windows
   installation file from php.net and run that? It should let you attach it
   to an existing Apache install, although I'm not familiar with installing 
   PHP
   this way on a Windows machine.
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
  
 I'm not so good with diagnosing Windows problems these days, haven't
   used it seriously for a few years now, maybe someone else on the list can
   help?
  
  
  
 Thanks,
   Ash
   http://www.ashleysheridan.co.uk
  
  
  
  
  
  
   --
   Regards,
   Shreyas
  
  
   EasyPHP 

RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Hansen, Mike
 

 -Original Message-
 From: Shreyas [mailto:shreya...@gmail.com] 
 Sent: Tuesday, June 01, 2010 10:18 AM
 To: php-general@lists.php.net
 Subject: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.
 
 PHP'ers,
 
 Please do not curse me for this. 
 
 I am having a tough time to get this up and running. Can 
 someone point me to a document which will help me do 
 configure so that I can start learning and working on PHP 
 ASAP? Please. I have attached the files under consideration. 
 
 Here is my details :
 
 MySQL - 5.x
 
 Apache - apache_2.2.4-win32-x86-no_ssl.msi 
 
 PHP base - C:\PHP
 
 
 
 Regards,
 Shreyas
 


I realize that you have used EasyPHP. For others wanting to do this, 
Bitnami(http://bitnami.org/) has a WAMP stack too. What's nice is if you want 
to add Postgre, there's a module that installs into the stack too. There are 
other modules/apps that also integrate into your WAMP stack, so you don't have 
to have separate apache servers running all those different apps.

Mike 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 01:41 +0530, Shreyas wrote:

 Tried that just now and didn't work. 
 
 
 
 The Java code which talks to the DB has a different username and
 password than the one installed with EasyPHP. I might be missing
 something very silly here. Damn me!
 
 
 --Shreyas
 
 
 
 The 
 
 
 On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan
 a...@ashleysheridan.co.uk wrote:
 
 
 On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote:
 
  Ash,
  
  
  Not sure if that would work here. I gave that a shot and
  there was a port conflict. 
  
  
  I actually want to learn how to set PHP environment in bits
  and pieces without a WAMP. Will see what I can do there. 
  
  
  Regards,
  Shreyas
  
  On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan
  a...@ashleysheridan.co.uk wrote:
  
  
  On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote: 
  
   Thanks, Ash.
   
   I was able to set things up with EasyPHP 3.0. I had to 
 uninstall my MySQL
   and Apache to get this work. I have to figure out how I 
 can ask my java code
   to look at a separate instance of MYSQL while the 
 EasyPHP's instance runs
   too.
   
   Anyone has encountered this before?
   
   Regards,
   Shreyas
   
   On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan
   a...@ashleysheridan.co.ukwrote:
   
 On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote:
   
Alright! Point duly noted.
   
I only did not want to spam the list with my very 
 rudimentary questions.
   
On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
   
  On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:

 You have been of great help, Ash.



  I just did some progress and I typed in 
 http://localhost and I see the
 easyphp page. Do you know how I can write my own apps 
 now?





  On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk wrote:


   On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote:

 I did and I miserably failed. I feel like giving up 
 on learning PHP now
 with all these set-up now. Aaah!


 I have uninstalled MySQL now and trying to see how it 
 goes.


 ---Shreyas

 On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk
 wrote:


 On Tue, 2010-06-01 at 22:13 +0530, Shreyas wrote:

 Got it! I already have MySQL and Apache installed for 
 another Java project
 and now it tells me certain ports are used. Where can 
 I look up for answers
 like these?


 --Shreyas

 On Tue, Jun 1, 2010 at 10:10 PM, Ashley Sheridan 
 a...@ashleysheridan.co.uk
 wrote:


 On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote:

 Ash,

 Thanks for the quick reply. I am downloading Easyphp 
 3.0 right now and see
 how it goes. But just to understand how this all 
 works, will it work with
 Eclipse, too? I am using Ganymede.


 Regards,
 Shreyas

 On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan 
 a...@ashleysheridan.co.ukwrote:

   On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote:
 
  PHP'ers,
 
 
 
   Please do not curse me for this.
 
 
 
   I am 

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread shiplu
You can consider XAMPP. (www.apachefriends.org/en/xampp.html)
It has everything in it.

Mysql server, Apache server,  PHPMyAdmin, PHP, Perl and an FTP server
Just install it and its configured.

Just put your files in htdocs and they will be up and running.

I use this to package my intranet php application.


Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 04:48 +0700, shiplu wrote:

 You can consider XAMPP. (www.apachefriends.org/en/xampp.html)
 It has everything in it.
 
 Mysql server, Apache server,  PHPMyAdmin, PHP, Perl and an FTP server
 Just install it and its configured.
 
 Just put your files in htdocs and they will be up and running.
 
 I use this to package my intranet php application.
 
 
 Shiplu Mokadd.im
 My talks, http://talk.cmyweb.net
 Follow me, http://twitter.com/shiplu
 SUST Programmers, http://groups.google.com/group/p2psust
 Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
 


He's got that much (with the exception of the FTP server) up and running
with EasyPHP. The issue he has now is getting his existing Java app to
use the MySQL server from EasyPHP to avoid conflicting ports from the
two MySQL systems installed. It can be run all as one with different
users, and might be better now asking a MySQL list, unless anyone on
here knows an easier way?

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Since I have another Java app running and points to the same port 3306, when
I tried to configure with EasyPHP, I had a conflict.

How about configuring EasyPHP at a different port? In that ways, EasyPHP's
MYSQL and my external MySQL will never have a conflicting situation.

Does that make sense?

--Shreyas

On Wed, Jun 2, 2010 at 3:25 AM, Ashley Sheridan 
a...@ashleysheridan.co.ukwrote:

  On Wed, 2010-06-02 at 04:48 +0700, shiplu wrote:

 You can consider XAMPP. (www.apachefriends.org/en/xampp.html)
 It has everything in it.

 Mysql server, Apache server,  PHPMyAdmin, PHP, Perl and an FTP server
 Just install it and its configured.

 Just put your files in htdocs and they will be up and running.

 I use this to package my intranet php application.


 Shiplu Mokadd.im
 My talks, http://talk.cmyweb.net
 Follow me, http://twitter.com/shiplu
 SUST Programmers, http://groups.google.com/group/p2psust
 Innovation distinguishes bet ... ... (ask Steve Jobs the rest)



 He's got that much (with the exception of the FTP server) up and running
 with EasyPHP. The issue he has now is getting his existing Java app to use
 the MySQL server from EasyPHP to avoid conflicting ports from the two MySQL
 systems installed. It can be run all as one with different users, and might
 be better now asking a MySQL list, unless anyone on here knows an easier
 way?


   Thanks,
 Ash
 http://www.ashleysheridan.co.uk





-- 
Regards,
Shreyas


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread shiplu
On Wed, Jun 2, 2010 at 5:32 AM, Shreyas shreya...@gmail.com wrote:

 Since I have another Java app running and points to the same port 3306,
 when I tried to configure with EasyPHP, I had a conflict.

 How about configuring EasyPHP at a different port? In that ways, EasyPHP's
 MYSQL and my external MySQL will never have a conflicting situation.

 Does that make sense?

 --Shreyas


locate my.cnf file. Its in your mysql directory. And your mysql directory is
somewhere in wamp install directory.
Open the file with notepad/wordpad and change the port number.
Its written just like this,
port= 3306

Change is to
port= 3307 or whatever port you like.

Then restart mysql.

But remember, all you php app need to connect mysql through that 3307 port
which is not standard.
So mysql_connect() functions  params should be tweaked.

Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)


Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Right, Shilpu. I'll try that.

What would be the exact installer which will let me have the MySQL Server
and the Query browser? I know this is the wrong forum but I am just giving
it a shot. When I do Start - All Programs - MYSQL, I used to get only
above options. I have lost the installer and the actual MySQL website has
quite a lot of things.

--Shreyas


On Wed, Jun 2, 2010 at 4:08 AM, shiplu shiplu@gmail.com wrote:


 On Wed, Jun 2, 2010 at 5:32 AM, Shreyas shreya...@gmail.com wrote:

 Since I have another Java app running and points to the same port 3306,
 when I tried to configure with EasyPHP, I had a conflict.

 How about configuring EasyPHP at a different port? In that ways, EasyPHP's
 MYSQL and my external MySQL will never have a conflicting situation.

 Does that make sense?

 --Shreyas


 locate my.cnf file. Its in your mysql directory. And your mysql directory
 is somewhere in wamp install directory.
 Open the file with notepad/wordpad and change the port number.
 Its written just like this,
 port= 3306

 Change is to
 port= 3307 or whatever port you like.

 Then restart mysql.

 But remember, all you php app need to connect mysql through that 3307 port
 which is not standard.
 So mysql_connect() functions  params should be tweaked.

 Shiplu Mokadd.im
 My talks, http://talk.cmyweb.net
 Follow me, http://twitter.com/shiplu
 SUST Programmers, http://groups.google.com/group/p2psust
 Innovation distinguishes bet ... ... (ask Steve Jobs the rest)




-- 
Regards,
Shreyas