Question:
why is PHP MYSQL Apache2 so hard to install?
?
2012-08-03 20:05:20 UTC
One of the problems with this installation is that its difficult to understand how these programs interact and what the configuration scripts do. Most of the installations try to give you a recipe for installation which only works if it works. If it does not, you don't know what to do. I'm not sure why the install scripts can't take care of more things than they do.

If anybody knows if there an explanation of these programs somewhere it would very helpful.
Five answers:
Jon@ComputerGeeks2Go.com
2012-08-03 20:21:33 UTC
It sounds like you are trying to install the standard LAMP stack for something like Wordpress, Drupal or Joomla. LAMP being linux apache mysql php. Basically apache is your web server, my sql your database, php the scripting language used on your web pages to make it all work.



If you have a cpanel environment you may have added to one click installers to take care of all this for you.



If you are building up from a freshly installed environment and are having trouble then this is probably not spaces here to run through the potential problems, tests, and debug to get you working. However in general you must get apache up and running and tested before trying to get each of the other items running.
Jon H
2012-08-06 00:30:29 UTC
Apache is a program that will listen for all requests made on a port that you specify (a port being a "socket" or "hole" opened in the networking interface, like eth0 on a Linux server or "Local Interface" in windows). Usually -- and by default -- the port is 80. Web browsers know to call websites on port 80 by default, so that is why that is done.



MySQL is a database system, which allows you to store information in a transactional fashion. It will store the actual data in a file that can pretty much only be read by the mysqld service, and loads the files at the time that the service is started.



PHP is a compile-on-run CGI language. CGI is Common Gateway Interface, which basically means that if the web server (Apache) has fastCGI or another CGI handler installed, and also has libraries to know how to communicate with PHP, it can then execute PHP scripts and send the output to the client (browser). PHP also needs a library to communicate with MySQL, so it knows how to handle the database connection, the packets it should send, and how to translate the packages received.



So, in summation:



Apache loads PHP, and PHP loads MySQL (in essence).
2016-10-15 12:53:53 UTC
nicely, first you will might desire to port forward port 80, i desire to propose cPanel for the administration panel, and XAMPP it fairly is a equipment it fairly is user-friendly to place in, which is composed of: Apache MySQL FileZilla FTP Mercury Mail. Abyss information superhighway server is an ok application and it has each thing in it, besides the indisputable fact that that's unprofessional.
anonymous
2012-08-03 20:13:31 UTC
I'm currently using this program. I will help you, you can email me, but its easy when you install Wamp Server and all the programs are built in. So you don't have to install the programs separately. These are used to create databases and programs for sites among other things.



http://www.wampserver.com/en/
2012-08-03 20:45:03 UTC
because in PHP MYSQL Apache2 you installs all features manualy



but wamp is easy because it installs many features as a default and you only install some features manually





lol


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...