General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 21st, 2003, 10:41 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
I got a Question About PWS

I want to install Personal Web Server on my WinXP pc, but as Jayesh Jain said in his tutorial,
Quote:
PWS is not supported and cannot be installed on any version of Windows XP

I think it isnt posible. But i still dont lose all hope, Is there a way for me to install PWS or Anyother way to test PHP on my PC?

Reply With Quote
  #2  
Old February 22nd, 2003, 03:14 AM
JayeshJain JayeshJain is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Auckland,New Zealand
Posts: 31 JayeshJain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hi

Yes you cannot install Personal Web Server on Windows XP but you can install Microsoft IIS or Xitami Web Server and can test
PHP on these servers.

I have written article on devarticles.com to install IIS and Xitami.

Hope this Helps

Jayesh Jain
__________________
Cheers

Jayesh Jain

Reply With Quote
  #3  
Old February 22nd, 2003, 08:17 AM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Thumbs up

Thank you. Make sure I'll take a look to your tuts. ;-)

BTW, can i use Apache instead of Xitami or IIS?

or if you recomend me to use Xitami or IIS, i will do.

Thanks again.

Reply With Quote
  #4  
Old February 22nd, 2003, 09:25 AM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Thank you very much, i tried Xitami, and it works very good, already configed all to make it work with php extentions.

But now i dont know how to make mySQL work I have all installed and the db are already done, but i they dont work.

I ran Xitami and mySQLadmin 1.4 at the same time, i dont know if by running those i should be able to have acces to db mSQL. or Do i have to setup somethings before.

Is there anything, tutorial, i can read?

Reply With Quote
  #5  
Old February 22nd, 2003, 09:42 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
According to apache's website, apache 1.3's requirements are a windows operating system with TCP/IP installed, it's runable on win9x so I would guess that you could run it on XP..

http://httpd.apache.org/docs/windows.html#req

as for getting mysql to work, I'm not sure.. I've only gotten it working on win2k.

Reply With Quote
  #6  
Old February 22nd, 2003, 06:55 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Well, thx. But Xitami is running very well and i dont want to unistall it or change now thats it is working

But my problem now is that i cant acces to Database mySQL.

I tried running mySQLadmin and Xitami at the same time but i cant still have acces to database. I read that i got to install or create the database trhu "ODBC". I tried to run it and setup a SQL Server database but i got an error message, saying: "Error=SQL Error 14" ... Well if theres anything i can do, please tell me

Thanks to everyone

Reply With Quote
  #7  
Old February 22nd, 2003, 07:16 PM
iXNAy iXNAy is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Sweden
Posts: 8 iXNAy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
My tip is that you download MyODBC from mysql.com and install it (if you´re using Windows), and then try again and come back with your error message.

Reply With Quote
  #8  
Old February 22nd, 2003, 08:37 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Thx, I did download myODBC and install the mySQL db, but... it isnt working.. i think it is a problem in the cofig of the db or something.... I kinda working on it, but if i dont know what to fix or config.. i wont be doing much... :-P thx again

Reply With Quote
  #9  
Old February 23rd, 2003, 01:08 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Have you tried checking the Xitami website for any documentation on setting up MySQL? I'm not familiar with Xitami, as I run Apache on my server box, but I can't see why you shouldn't be able to run it with MySQL.

If nothing comes up on their site, send an email to their support and see what they say!
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #10  
Old February 23rd, 2003, 08:23 PM
JayeshJain JayeshJain is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Auckland,New Zealand
Posts: 31 JayeshJain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hi Guys,

Sorry for not looking at this post before, but let me tell you few things , MySQL runs independent and not on web server, you can have Xitami,Apache or anything else dosnt matter.

So please install MySQL ( for windows) and make it running first. Ok here are few instruction mysql server does not start on its own so you will have to manually start mysql go to the bin folder in the mysql folder and run command

mysql-shareware start

or

mysql start

i think even running mysqld starts the server
there is also a mysql console exe file in the bin directory to
connect to the database and do some test queries.


Please do not download or install MyODBC those are the drivers which are required if you want to connect mysql with VB/Delphi etc, PHP has inbuild drivers for mysql - trust me you dont need any extra software to run mysql with php and you can vistually use any websever.

Hope this helps

Cheers
Jayesh Jain

Mail me on jainjayesh74@yahoo.com if you need more information

Reply With Quote
  #11  
Old February 23rd, 2003, 10:48 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Hey, thank you it worked. At least i think so.

But i still got a problem

Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'ejviper@IP-ADRESS' (Using password: YES) in C:\web\dbtest.php on line 17
Error: Couldn't connect to database


the line 17 of dbtest is :

$db = mysql_connect($dbhost, $dbuser, $dbpass) or die("Error: Couldn't connect to database");

Well i tried changing the dbpass:

$dbpass = "password-i-use";
to
$dbpass = "";

and i didnt get the same error. i got this one:

Error: Couldn't select database.

Well in line 18 i got this (Would help to fix the problem):
mysql_select_db($dbname, $db) or die("Error: Couldn't select database.");

I dont know that i means that i selected wrong database name, and thats why it iant work.

Reply With Quote
  #12  
Old February 23rd, 2003, 10:52 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
This gotta be bad. I got this in the page that worked:

$dbhost = "localhost";
$dbname = "database";
$dbuser = "";
$dbpass = "";


when this should be the right one, but it didnt work:


$dbhost = "localhost";
$dbname = "database";
$dbuser = "ejviper";
$dbpass = "password";


... Well at least, without user or pwd, works.

I got to thank you all guys who helped me, specialy JayeshJain.
But i still get have the doubt, What do i do to set up user name and password in mySQL?.

Last edited by EJViper : February 23rd, 2003 at 11:05 PM.

Reply With Quote
  #13  
Old February 24th, 2003, 09:47 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
check out this link for instructions on securing MySQL ... it should show you how to make it run with a user/password..

http://www.mysql.com/doc/en/Security.html

Reply With Quote
  #14  
Old February 24th, 2003, 12:59 PM
JayeshJain JayeshJain is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Auckland,New Zealand
Posts: 31 JayeshJain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hi Guys,

Once you got your mysql,PHP and Webserver sorted you can play with the database add table etc. but doing it from mysql console is very tedious, so personally i recommend (even i use this)
download phpMyAdmin which is intended to handle the adminstration of MySQL over the web

http://www.phpwizard.net/projects/phpMyAdmin/

download from http://www.phpmyadmin.net/index.php?dl=3
and unzip the files in your document root folder you might have to configure but once you have done it you will never have to go to mysql console and you can manipulate mysql from the browser.

Reply With Quote
  #15  
Old February 24th, 2003, 01:56 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
Yep! phpMyAdmin is the best.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > I got a Question About PWS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off