Hello guys! This project has been taking too long because I am busy at times. I have decided to make videos instead of text based tutorials because the amount of characters in my older thread was way too much and this should also be easy to follow as well. So what I have decided is to just post all of the videos that I have recorded thus far to help guide people for now. I am currently in the process of doing the installation of PHP on RPM based system (centOS) and for some reason the wifi adapter just won’t get recognized. I might have to use Ethernet cable to get this installation done. However, I don’t have a 50 foot cable since my router is out in the living room. I’ll have to get one soon so I can finish this installation. I also have decided not to make videos for every single Linux distro because it will take too long due to the sheer amount of distros out there. This also includes Windows 8 (x32 and x64) and Windows 8.1 (x32 and x64) because I apparently don’t have the ISO files for them.
So, the main purpose of this project and thread is to show everyone how I install PHP on my local environment on Windows, Linux, and Mac. Do keep in mind that every single playlist that you will be seeing in this thread is the complete setup. This will be Apache
, PHP
, MySQL
, PHPMyAdmin
, SSL
, a demonstration video to make sure you can connect to the database, and other optional installations depending on the operating system. Most of these operating systems, I will also post extra videos that may actually have problems without proper configurations. I will list them under the header EXTRA
and give you a reason why those may have problems if you do not configure them correctly.
ERROR REPORTING/ COMMON QUESTIONS OR PROBLEMS
If you happen to ever get stuck or get an error, please explain in full detail. Explain what operating system you are using to install PHP
on, what the exact error message says (you can also take a screenshot of the error to give us a better understanding), what you were installing or doing before the error occurred, and just a brief overview of what you wanted to install or get working.
A bad example is
I have an error message that keeps popping up.
Yes, but what does it say? What were you trying to do? Explain in full detail and it’ll make your life and mine so much easier. Just saying “it doesn’t work” doesn’t explain nothing to me. I need the exact error message and the exact problem so that I can figure out what is going on. This way, I don’t have to try to read your mind through the computer screen because I am not telepathic and cannot read your mind through the computer screen. Just use common sense and explain in full detail. Taking screenshots is also very helpful. I don’t mind looking at screenshots because I can then see what you are attempting to do and what the error message actually says.
A good example is
Hello,
I am trying to install PHPMyAdmin and it doesn't allow me to change the filename from config.inc.sample.php to config.inc.php. I am using Windows 7 x32 bit. The error message says
"You do not have permissions to modify this file"
I will attach a screenshot to illustrate the problem.
This is a good example of what I would like to see. Simply saying “it doesn’t work” tells me absolutely nothing about your problem at all and it will just make your life harder.
EDIT: If you are using cURL
for anything, remember to add CURLOPT_SSL_VERIFYHOST
and CURLOPT_SSL_VERIFYPEER
in your curl_setopt
settings or if you are using the curl_setopt_array
, add those 2 in there. Then set them to either false
or 0
. The reason why we set them to false
or 0
is because we are using Self-assigned Certificates
. This means that the browser doesn’t trust our certificates because we created them ourselves. To get a “green” lock, you have to go through a certificate authority. It doesn’t really matter to us because we know that our certificates are safe since we’ve created them ourselves. So if you get a yellow warning checkmark or if Chrome
gives you a red warning and says it’s not safe, it’s actually pretty safe. Just that we didn’t go through a certificate authority.