Web Hosting Forum | Lunarpages

Author Topic: Softaculous Error Installing Wordpress  (Read 7271 times)

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Softaculous Error Installing Wordpress
« on: July 07, 2015, 04:33:15 PM »
I am trying to use Softaculous to install Wordpress to an add-on domain and keep receiving the following error after about 11% completion:

       Could not open the Configuration File wp-config.php

The directory permissions to the add-on domain are 755.

I tried installing it into the add-on domain home directory and to a /wp directory with the same results.

I also tried installing WP into a /wp directory on my primary domain with the same results.

I am using LPCP

Any ideas?

Thanks,
Roger
« Last Edit: July 07, 2015, 04:39:16 PM by roger44 »

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6206
Re: Softaculous Error Installing Wordpress
« Reply #1 on: July 07, 2015, 04:41:56 PM »
More importantly, what are the permissions on wp-config.php? If they are "world writable" (such as 666 or 777), you will not be able to access the file. Permissions on the file should normally be 644. Could it have been prematurely set to 444 (read only)? Usually configuration files are set to read-only (444), but only after they've been updated and tuned.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Re: Softaculous Error Installing Wordpress
« Reply #2 on: July 07, 2015, 07:51:26 PM »
Thanks Phil.

I think I know now why it can't be opened is because it doesn't seem to exist.   I looked through both my primary domain and the add-on domain and it doesn't look like anything was installed there for WP.

There is probably something basic that is keeping Softaculous from getting into my account.   I just don't know what it is.

Roger

P.S.  After more digging around in phpMyAdmin and MySQL Manager, I see a message in phpMyAdmin that says "Your PHP MySQL library version 5.0.95 differs from your MySQL server version 5.1.73. This may cause unpredictable behavior."   

Here is info from MySQL Manager:
Server Information
Operating System    CentOS release 5.11 (Final)
Kernel Version    2.6.18-238.12.1.el5PAE
Apache Version    2.2.3
MySQL Version    5.0.95
PHP Version    5.3.14
PHP53 Version    5.3.14

I did do a Gallery installation years ago on my primary domain that I never fully followed up on including not deleting it.   Maybe I need to figure out how to wipe clean the SQL and PHP installs that might currently be associated with my account...
« Last Edit: July 07, 2015, 08:13:34 PM by roger44 »

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Re: Softaculous Error Installing Wordpress
« Reply #3 on: July 07, 2015, 08:37:44 PM »
More information.   The .htaccess file that was in my add-on domain top directory was empty.   I added the following per this wiki page "http://wiki.lunarpages.com/Create_htaccess".   I created an appropriate on in my primary domain as well.  "username" and "domainname" were replaced with the actual names.

-----------------------------
<Files .htaccess>
order allow,deny
deny from all
</Files>

suPHP_ConfigPath /home/username/public_html/domainname/
--------------------------------

In trying these changes, I sometimes get a similar error message as before with another error that leads me to believe Softaculous is not getting access to my directories.

    Could not unzip the Language files.
    Could not open the Configuration File wp-config.php



« Last Edit: July 07, 2015, 08:40:04 PM by roger44 »

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6206
Re: Softaculous Error Installing Wordpress
« Reply #4 on: July 08, 2015, 05:25:32 AM »
What is in your /home/<username>/public_html/<domainname>/php.ini file? Anything unusual? From the messages, it sounds like something in the WP install process is running, so I don't think you're locked out of PHP entirely.

What is the history of this site? Was there another application there before, or is it brand new? Did you manually create the directories (cPanel or LPCP), or with an application? I'm wondering if file permissions are wrong somewhere (should be 755 for directories except for the top, and 644 for files). This is a Linux/Apache server, and not a Windows server? Did the installation appear to have loaded up all the necessary files? Do their permissions (directories and files) look normal?
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Re: Softaculous Error Installing Wordpress
« Reply #5 on: July 08, 2015, 07:11:04 AM »

There is no php.ini file anywhere on the web site (primary domain or addon domain).   The Softaculous install gets to 11-15% complete before it dies (it varies each time).

All permissions look normal.

The directories were manually created via FTP software and then I later added the formal Addon Domains via LPCP.  I tried deleting one addon domain from both file structure and Addon Domains tool and then just recreating via Addon Domains tool with no change.

I did have a Gallery application installed at the primarydomain level a few years ago but it was subsequently removed.

I talked to a support rep this morning and he tried the install with the same error.  He thinks there might be a Softaculous installation problem on my server and is having that looked at.   He is also going to investigate the PHP MySQL library version issue I highlighted previously.   I am going to wait them out at this point and will report back their findings.

Thanks again for the help.

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6206
Re: Softaculous Error Installing Wordpress
« Reply #6 on: July 08, 2015, 08:35:31 AM »
If you have no php.ini file anywhere, comment out (with #) the suPHP_ConfigPath entry in your .htaccess. I don't think it's stopping your PHP cold, but it could be messing up something.

If the directories and files had their permissions set by FTP, check to make sure directories are 755 and files 644. Sometimes FTP clients have odd ideas about what to set permissions to.

If support is helping you out on this, be keep them apprised of what changes you are making.
« Last Edit: July 09, 2015, 10:17:11 AM by MrPhil »
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Re: Softaculous Error Installing Wordpress
« Reply #7 on: July 09, 2015, 10:02:24 AM »

Lunarpages support fixed the issue last night.   I was able to install Wordpress with no issues this morning.   I will update this post further if I get any more details about what the issue was.

Thanks for your help and advice on this Phil.

Roger

Offline roger44

  • Space Explorer
  • ***
  • Posts: 9
Re: Softaculous Error Installing Wordpress
« Reply #8 on: July 09, 2015, 08:53:45 PM »
Here is what I received from the Lunarpages support team.

"The issue was with the wp-config.php used on the installation files which didn't had the corrected permissions. This problem was corrected and now all should work properly. This issues was on the server side and cannot be corrected by you. "

Phil, you were absolutely correct at the start.  My guess is that Softaculous copied the files into my directories but when it couldn't access the wp-config.php file and error'd out that it cleaned up the install and removed any installed files.   That is why I couldn't see the incorrect permissions.

 

Share |