Current location: Hot Scripts Forums » Programming Languages » PHP » Several questions for PHP and MySql starting in Windows XP


Several questions for PHP and MySql starting in Windows XP

Reply
  #1 (permalink)  
Old 10-12-04, 12:25 PM
artaco2000 artaco2000 is offline
New Member
 
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Several questions for PHP and MySql starting in Windows XP

I am trying to install and configure PHP for working in my Windows XP Pro, and have several questions not explained anywhere:
1.- I have the IIs installed and running. Can I use PHP and MySql with this server or should I use Apache?
2.- If IIs is OK, how to configure things for working correctly?
3.- The same question comes if I need to install Apache.
4.- For testing my web pages before hosting them, what are the steps to follow?. For ASP applications, I have one directory in C:\WebDevelops where I put the web pages for testing and another one in C:\Inetpub\www\... where I put them too. Once it is done, running my Internet Explorer and typing http://localhost/(name of the page to test) is enough to start the page. But I don't know how to do this under PHP.
If there is anyone who can help me, please, Email me to artaco2000@yahoo.com
Thanks in advance.
Best regards
Paco
Reply With Quote
  #2 (permalink)  
Old 10-12-04, 06:15 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
IIS is for Microsoft products.

Try visiting developerside.net. There's a great All-In-One Apache/Perl/MySQL/PHP package there. You need Apache to run PHP
Reply With Quote
  #3 (permalink)  
Old 10-12-04, 06:56 PM
mdhall's Avatar
mdhall mdhall is offline
Aspiring Coder
 
Join Date: Oct 2003
Posts: 510
Thanks: 1
Thanked 1 Time in 1 Post
I have Apache/PHP/MySql set up on WinXP with no problems. You can download a package from Apache to install it on your system ( pretty basic ). Once Apache is installed, there is a sub-directory in Apache called "htdocs". This is where you can put your programs. Then, open your browser and use the "localhost" address to access them ( as you're already doing ). You should be all set.
Reply With Quote
  #4 (permalink)  
Old 10-13-04, 02:39 AM
<?Wille?> <?Wille?> is offline
Junior Code Guru
 
Join Date: Jan 2004
Location: Helsinki, Finland
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nekeno12
IIS is for Microsoft products.

Try visiting developerside.net. There's a great All-In-One Apache/Perl/MySQL/PHP package there. You need Apache to run PHP
php runs on IIS also..

ill post configuration steps when ill get home (if they fixed my net)..

Last edited by <?Wille?>; 10-13-04 at 02:41 AM.
Reply With Quote
  #5 (permalink)  
Old 10-14-04, 12:25 PM
<?Wille?> <?Wille?> is offline
Junior Code Guru
 
Join Date: Jan 2004
Location: Helsinki, Finland
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
IIS config:

first.. when you install IIS make sure you choose atleast thease:
- Common Files
- Internet Information Services Snap-In
- Personal web manager (if its there)
- World Wide Web Server

1. find php4ts.dll and a php.ini in your php folder and copy them to C:\Windows\System32\

2. do the required ini settings

3. open Control Panel -> Administrative Tools -> Internet Information Services -> local computer -> Default web site properties

4. add ISAPI filters:
Filter Name: PHP
Executable: php4isapi.dll OR php5isapi.dll (in your php folder)

5. Homedir -> Configuration -> Mappings -> add
executable: php4isapi.dll OR php5isapi.dll (in your php folder)
extensions: .php (NOTE the dot)

6. click OK to close web site properties

7. restart World Wide Web Publishing service (Control Panel -> Administrative Tools -> Services)

then your all set.. save all php files in C:\Inetpub\wwwroot\ and use them with http://localhost/file.php

btw.. sorry that you had to wait so long.. got my net working today..
hope it helps
Wille
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
questions in mysql procedure scorpioy PHP 1 09-07-04 06:41 AM
two questions....deleting mysql values and adding array value through forms mlbpa2 PHP 16 03-18-04 09:41 PM
Matrix Reseller - Windows 2003 and FreeBSD vortech General Advertisements 0 11-02-03 10:06 PM


All times are GMT -5. The time now is 04:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.