Error when running WordPress on a new server

Asked By 100 points N/A Posted on -
qa-featured

 

Hi all,

After the setup of a LAMP server with cPanel/WHM, I have made an attempt to install WordPress. But I faced with this error:

Input file not specified.

I searched on the internet, but didn’t get any idea about this. After submitting the problem on wordpress forum, there was one suggestion that it’s a LAMP problem that’s why I should post on LAMP forum.

Can anyone share any idea with me? I am going to setup this server for little online business. And your suggestion is highly appreciated.

Thanks.

SHARE
Best Answer by monsur0099
Best Answer
Best Answer
Answered By 0 points N/A #90840

Error when running WordPress on a new server

qa-featured

To override this do the following steps:

  1. Login to your cPanel/control Panel
  2. Go to phpMyadmin
  3. Select your database.
  4. Go to wp_options table
  5. On the second page (around 58th row) Edit 'upload_path'(For the first time this row may be blank).
  6. Give your correct directory.Eg: /home/username/public_html/folder-name/wp-content/uploads

Change "username" and "folder-name". Username is usually the username you use to login to cPanel, or your domain’s control panel. Folder-name is used for the sites hosted in subfolders. If you hosted the site in root folder, remove it.

Here is a detailed tutorial How to move wordpress to a new server or host.

If you already used WordPress uploader in localhost, you need to do a search in wp_posts table and replace your localhost reference to your live site's reference. There are some plugin available to do these search and replace in database. Check this one

Hope this will solve your problem.

Related Questions