Click to See Complete Forum and Search --> : Can I use both ASP(IIS) and PHP(XAMPP) in my laptop? Please help.


marksquall
12-20-2007, 09:56 PM
Hello Dear WebDeveloper administrators and members,


A pleasant day to everyone. I hope everyone is enjoying the holidays upon reading this forum. I have been practicing web programming using ASP for a while, then one of my mentors says I should also try PHP even just a try, so he recommended me to download xampp-win32-1.5.3a-installer.exe, he said it has a PHP, MySQL and APACHE( APACHE is similar to IIS, right?Please correct me if I'm wrong, and MYSQL is similar to Microsoft Access application, and I guess PHP is similar to ASP?), but one of the "warnings" said XAMPP needs/requires port 80 to work, thus it is highly recommended to disable or to uninstall IIS. I just want to ask, is there any way I could do so that I can still have my ISS(Inetpub folder) and the XAMPP working in my desktop/laptop? Can I change the port 80? Is there any port I could use aside from port 80? I am not familiar with these stuff. But for my additional information, what's port 80 anyway? What is it "look like"? Is it a hardware of a software stuff...

Thank you very much for any information you could share with me. Plus, I also want to ask sincerely if you have any ebooks or recommended websites for PHP programmming for a total beginner like me. God bless everyone and happy holidays.


Respectfully yours,
Mark Squall

TheBearMay
12-21-2007, 07:24 AM
You can have both, and run both simultaneously if you like, just need to tell one to use something other than port 80 (8080 is a common substitute) - one line change in the config. If you really want to, you can also configure PHP and MySQL to run under IIS, but it takes a little tweaking and is probably more hassle than it's worth if you're just using this to learn on.

The port is nothing more than a piece of the IP header packet that identifies the destination or intent of the packet, and can range from 0-65535.

marksquall
12-28-2007, 02:18 AM
First of all I want to thank you for the information you've shared. It's a sudden idea of that port 8080 as a substitute (but I can't remember where did I read it, hahaha). But I just want to know how to change the port setting from 80 to 8080? Let's say I want my IIS installed to use port 8080 instead of port 80 (or maybe vice-versa, i.e. APACHE will use the port 8080 instead of port 80). I hope you could help me set this up. Thank you very much Sir and God bless you and everyone reading this forum.

Also, I just want to ask if the idea I have in mind is correct:

1. APACHE is similar to IIS
2. MYSQL is similar to Microsoft Access application
3. PHP is similar to ASP, they're both scripting language (I'm 100% sure on this though :D, the first two is the thing I really don't know ).

Please correct me if I'm wrong with these ideas.

Respectfully yours,

MarkSquall

TheBearMay
12-28-2007, 09:21 AM
To change the port for IIS see: http://support.microsoft.com/kb/149605
To change the port for Apache edit the httpd.conf file and search for "listen" and the 80 to the new port; then search for "servername" and change the value after the colon.

To answer the other questions:
#1 Both provide services to display web pages - yes
#2 Both are databases, MySQL is more of backend DB though while Access is more of an end user tool.
#3 You are correct.

bradmasterx
12-28-2007, 09:31 AM
Flash & Php (http://cartoonsmart.com)
Php (http://w3schools.com/php/)
Php with JS, SQL (www.tizag.com/phpT/)