Unable to install the Wordpress through Site Software
Hi,
We are facing the issue in installing Wordpress through cPanel >> Site Software.
In " Site Software " you will get 2 Options to install WordPress
1> WordPress (legacy)
2> WordPress
Here I'm facing issue with 2> option. It will say "Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation."
Any suggestion
-
Hello, Can you verify which version of cPanel is installed on this system? Also, can you confirm if the issue persists if you browse to "WHM >> Install cPAddons Site Software", select the "Force Refresh of All cPAddons Site Software Sources" option, and click on "Update cPAddon Config"? Thank you. 0 -
I had the same error here, the following message appears on the screen: Error: The system could not run the "/usr/local/cpanel/3rdparty/bin/php" install script and received the error code "1": Could not open input file: /usr/local/cpanel/3rdparty/bin/wp I have checked my system and the file: "/usr/local/cpanel/3rdparty/bin/wp" does not exist, I believe the problem is the lack of this binary file for wordpress installation, I''m using cpanel version 66.017. I already tried "Update cPAddon Config" but this did not solve the problem. 0 -
Hello @Murilo_Rocha, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you. 0 -
I opened the ticket following your instructions and the support was able to solve my problem in a short time. Thank you so much! 0 -
Hello, I'm glad to see the issue is now solved. It looks to have related to the use of a third-party repo that provided the incorrect version of the wp-cli RPM. Thank you. 0 -
I am having the same problem and this post does not provide the solution that was determined. One difference, I show legacy and 4.8.2, but do not have this choice when attempting to install. Just gives the error: "Error: The system could not run the "/usr/local/cpanel/3rdparty/bin/php" install script and received the error code "1": Could not open input file: /usr/local/cpanel/3rdparty/bin/wp" 0 -
Hello @Mad River Host, Could you post the output from the "yum list wp-cli" command on the affected system? Thank you. 0 -
I don't know how to do that. I opened a support ticket #8903687. Hoping you could apply the same solution from above to my server. 0 -
Having the same issue, what was the solution? Error: The system could not run the "/usr/local/cpanel/3rdparty/bin/php" install script and received the error code "1": Could not open input file: /usr/local/cpanel/3rdparty/bin/wp 0 -
New Having the same issue, what was the solution?
Hello, To update, the issue was determined to be caused by a custom YUM repo implemented by the hosting provider. This was confirmed via the use of the following command:yum info wp-cli|grep Repo
The normal output of this command should resemble this:# yum info wp-cli|grep Repo Repo : cpanel-addons-production-feed/7/x86_64
In ticket number 8903687, it showed:From repo : ul
The solution was to exclude the wp-cli package in the /etc/yum.repos.d/UL.repo file by appending the following entry to it:exclude=wp-cli
Once that was done, the "yum remove wp-cli" and "yum install wp-cli" commands were used to reinstall the package from the correct Yum repo. Thank you.0 -
Hrmm.. mine returns this: root@host [~]# yum info wp-cli|grep Repo Repo : installed Installed Packages Name : wp-cli Arch : noarch Version : 0.22.0 Release : 0.el7.centos Size : 1.4 M Repo : installed From repo : stable-noarch Summary : A Wordpress CLI URL : Command line interface for WordPress | WP-CLI License : MIT Description : A Wordpress CLI 0 -
From repo : stable-noarch
It looks like the same issue. You'd take the same steps to solve the issue, except to edit /etc/yum.repos.d/stable-noarch.repo instead. Thank you.0 -
Sorry to bother with this issue AGAIN. I am pretty tech savy in general but this deep dive into cPannel is new to me. I am getting the same error as everyone before me and read through all the comments. The problem is I don't understand how to implement the solution. The weird thing is I installed on one domain, wordpress without any issues. When I came to set up one on a second and third subdomain it created this error. As I wrote this I thought maybe the error was related to installing wordpress in subdomains only but no... I tried another subdomain and it worked fine. #1 I have cPanel version 76.0.9 #2 Where do I type the commands you suggested to solve this issue #3 What is Yum? #4 what is repo? Maybe after these questions are answered I may be able to figure things out. Again sorry for these dumb noob questions Thanks 0 -
Hello @ramzez, Can you confirm if you have root access to this system, or if you are using cPanel as part of an account with a shared hosting provider? Without root access, you'd need to report this issue to your web hosting provider and reference the link to this thread to explain the problem. Thank you. 0 -
Just noticed my error message is a little different on the end. Does this make a difference? The system could not run the "/usr/local/cpanel/3rdparty/bin/php" install script and received the error code "1": Error: The 'wp-config.php' file already exists. I included a screen capture Still in the process of answer your question. "Can you confirm if you have root access to this system..." 0 -
Still in the process of answer your question. "Can you confirm if you have root access to this system..."
Hi @ramzez, Did you purchase a shared hosting package from a web hosting provider, or did you purchase a VPS or dedicated server package? Thank you.0 -
Hi @ramzez, Did you purchase a shared hosting package from a web hosting provider, or did you purchase a VPS or dedicated server package? Thank you.
Sorry took so long to answer. Holidays and stuff. #1 I have been provided with temporary SSH Access (is that root access)? My host says this is command line access to the server. #2 I don't have a dedicated server that I know for sure. I can't say if I have a VPS (Don't even know what that means). I host here - Removed -0 -
Hello @ramzez, The information you have provided suggests you do not have root access to the system. Your web hosting provider will need to solve this error message for you. You can open a support request with them and direct them to the following post for information on how to solve the issue: SOLVED - Unable to install the Wordpress through Site Software Thank you. 0 -
Hello Wanted to simply follow up on how I solved the issue. A couple of clues: the wordpress files were properly set up in the folder and when I tried to go to the site created it indicated a database error. Not being able to find it (or something like that). Essential I found that the default placement in public_html folder of a new domain or subdomain was removed and that I had to add it manually during it's creation/setup. Once the domain or subdomain folder was properly located it was able to connect with the database. I know I may not be using the exact techy terms. Hope this helps someone else in the future who might have similar issues. 0
Please sign in to leave a comment.
Comments
19 comments