Â
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.
Error when running WordPress on a new server
To override this do the following steps:
-
Login to your cPanel/control Panel
-
Go to phpMyadmin
-
Select your database.
-
Go to wp_options table
-
On the second page (around 58th row) Edit 'upload_path'(For the first time this row may be blank).
-
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.