PHP Code for LAMP / WAMP / XAMP

APD Toronto
APD Toronto used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Expert of the Year 2014
Top Expert 2014
Commented:
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.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
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.
Most Valuable Expert 2011
Top Expert 2016
Commented:
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

APD TorontoSoftware Developer

Author

Commented:
Okay, one other question...

I know AMP = Apache MySQL PHP

LAMP = Linux Apache MySQL PHP

WAMP = Windows Apache MySQL PHP

XAMP = ??? Apache MySQL PHP
Expert of the Year 2014
Top Expert 2014

Commented:
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)
Most Valuable Expert 2011
Top Expert 2016

Commented:
Some of us like MAMP!
Expert of the Year 2014
Top Expert 2014

Commented:
LOL
APD TorontoSoftware Developer

Author

Commented:
If I install XAMP on the same machine as IIS, can I go back and forth as long as one server is stopped?
Expert of the Year 2014
Top Expert 2014

Commented:
Yes
Fixer of Problems
Most Valuable Expert 2014
Commented:
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).

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial