TAG: PHP

Why Won’t my PHP Script send mail?

There are many reasons you may be unable to send emails from your PHP code. One of the most common reasons would be that the script is not using authentication. Most email servers require that you authenticate the email account before you can send emails from it. This is to prevent any potential spoofing of…

How To Change PHP Version Per Domain

If you have a fair amount of domains on a single cPanel account, there may come a time when you want to set a different PHP version to be used with each domain name. This can be due to dependency issues with the different PHP Versions that make your site not work. For example, the…

How to Install PHP In CentOS 7

How To Install PHP In CentOS 7 PHP is a very popular open-source scripting language that is ideal for web based development. It is executed on the server side and is used in a variety of websites/web based applications. PHP is also an integral part of a LAMP stack, a widely used method to host…

How to Manually Migrate Accounts from Another Non cPanel Environment

How do I move my non-cPanel site to cPanel?   Follow the steps below to move your non-cPanel site to cPanel.  If you’re on a Cloud or Dedicated server and you have access to editing DNS, follow the DNS steps through the How to transfer/migrate a server with no downtime of any kind (or database lag)…

Application Cannot Connect to Database

What causes an application cannot connect to database error? There are several things that could cause an application cannot connect to database error. It means for some reason, the PHP code isn’t able to retrieve information from the database where everything is stored. You may be using the wrong database name, the wrong username/password, the…

500 Internal Server Error

The Problem: 500 Internal Server Error Help This error normally will look something like this:   Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@example.com and inform them of the time the error occurred, and anything you might have done…