Solved

PHP Code for LAMP / WAMP / XAMP

Posted on 2014-02-28
10
610 Views
Last Modified: 2014-03-01
Hi Experts,

I am getting into PHP programming, just learning, and I'm wondering does the PHP syntax have any variation between LAMP / WAMP / XAMP / IIS environments?

By the way, does WAMP = IIS

Thanks
0
Comment
Question by:APD_Toronto
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 167 total points
ID: 39895572
PHP is PHP no matter the platform
LAMP etc are just installers for the various software, nothing more.  They are not some different version of the software packages.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39895645
WAMP is Not IIS.  IIS is a web server by Microsoft and it is only the web server.  LAMP / WAMP / XAMP all use Apache for the web server and include PHP and MySQL and some other programs.  You can use PHP and MySQL with IIS.  I am doing that on one computer and Godaddy Windows hosting does that also.
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 166 total points
ID: 39895723
0
 

Author Comment

by:APD_Toronto
ID: 39895733
Okay, one other question...

I know AMP = Apache MySQL PHP

LAMP = Linux Apache MySQL PHP

WAMP = Windows Apache MySQL PHP

XAMP = ??? Apache MySQL PHP
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895763
AMP, LAMP, WAMP, XAMPP = Apache, MySQL and PHP

There is no difference between any of them except
LAMP is for installing on Linux
WAMP/XAMPP is for installing on Windows.

(oh XAMPP comes with Perl as well, not sure about the others)
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39895767
Some of us like MAMP!
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895773
LOL
0
 

Author Comment

by:APD_Toronto
ID: 39895875
If I install XAMP on the same machine as IIS, can I go back and forth as long as one server is stopped?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39895882
Yes
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 167 total points
ID: 39895908
IIS is very greedy about port 80 as is Skype.  If either are running, Apache will not work on port 80 (which is the standard 'web' port).  I have one machine that runs both IIS and Apache but I had to put Apache on another port (8080 is a common choice).
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now