Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Apache won't start after moving Ampps to new computer

1


Threaded Mode | Print  

 Apache won't start after moving Ampps to new computer (15 Replies, Read 13882 times)
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

I really need your help. I recently bought a new computer with Windows 10, and I would like to continue building on my Wordpress website on this. I have managed to transfer Ampps across from my laptop to my new computer but apache won't start, although my SQL will. When I press 'start' nothing actually happens.

I would really appreciate any advice on this.

Thank you! 
Claire
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
On windows 10 IIS server is by default runs on port 80.
You have to stop IIS server to Run Ampps Apache.

Try this:

In run(windows+R) type services and press enter.

Search for following services and stop them if they are running.

World Wide Web Publishing Service.
IIS.
Web Deployment Agent Service.

Follow this guide:
https://technet.microsoft.com/en-us/library/cc732317%28v=ws.10%29.aspx

Also check for Skype, because Skype uses by default port 80.

If you are still facing the same issue then please copy paste your Apache Error Log here.

AMPPS Control panel --> Apache --> Error Log files. Copy last few lines and paste here.
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

I have tried that and don't seem to have either of these services on my computer. I can't seem to open the error log files- it's just a blank page. I've attached two screenshots of the error messages that I have received. Do you know what this means?

Thank you so much!
Claire
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

Try this:
AMPPS Control panel --> PHP --> change PHP version --> Select php-5.6 or 7.0 and click on apply button.

Now restore all config files.

AMPPS Control panel --> Apache --> click on Restore default configuration.
AMPPS Control panel --> PHP--> click on Restore default configuration.

Now start Apache and if you are still facing the issue then open command prompt, run following commands and copy paste output.

cd /path/to/your/Ampps/folder/apache/bin
httpd
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

Thank you so much for your help with this, I have fixed that particular problem. I have been unable to move my wordpress website across using back up and restore. Do you know how to do this? If so, please could you give me the exact steps because I've already tried using the guidelines from Softaculous and it didn't work. I am no computer expert so I need things explaining very simply without skipping anything. When I try and open my wordpress website, I get the following message:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
•Are you sure you have the correct username and password?
•Are you sure that you have typed the correct hostname?
•Are you sure that the database server is running?

Thank you for your time,
Claire
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:

First follow this guide to take backup of your installation.
https://www.softaculous.com/docs/How_to_Backup_an_Installation

Your backups are created in \path\to\Ampps\private\softaculous_backups\ folder

Copy following files on your new computer on same path.

\path\to\Ampps\private\softaculous_backups\backup_file_name.tar.gz

\path\to\Ampps\private\.softaculous\backups\backup_file_name

Now follow this guide to restore your backup. :angel:

https://www.softaculous.com/docs/How_to_Restore_a_Backup
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

Thank you for this information. I think the problem I have is that the installation paths are different. On my first computer, the path is C:/ProgramFiles/Ampps where as on my new computer the path is C:/Program Files (x86)/Ampps
When I first installed Ammps, I created the folder called 'ProgramFiles' since I don't know much about computers and thought that would be a good thing to do- now I realise that it probably wasn't!
Is there any way of getting around this?  :squi: Also, if I delete something from Ampps on say computer one, will it automatically be deleted from computer two as well?
Thanks again for all your help!

IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

Sorry for misunderstanding.
Quote From : Rishi_P July 6, 2016, 7:49 am

Copy following files on your new computer on same path.

Copy following files on your new computer on same folder.

In your case:

Copy backup file: C:/ProgramFiles/Ampps/private/softaculous_backups/backup_file_name.tar.gz to C:/Program Files (x86)/Ampps/private/softaculous_backups/backup_file_name.tar.gz

Copy backup entry: C:/ProgramFiles/Ampps/private/.softaculous/backups/backup_file_name to C:/Program Files (x86)/Ampps/private/.softaculous/backups/backup_file_name

If .softaculous and backup folders are not present in your New computer then make one and copy.
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

Thank you. All seemed like it was working but after I tried to restore the backup on my new computer I got this message:

Could not connect to the database Access denied for user 'wp967'@'localhost' (using password: YES)

Do you know what that means? I'm completely stumped :|

Thank you
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

Check your MySQL is running or not. Also can you login to phpMyAdmin ?
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Hello,

Yes, my SQL is running and I can log in to my php. Any ideas what this means?

Thank you
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
It means wp967 user has not assign to that wordpress database or password is wrong for wp967 user.

Try this:

simple way to resolve this issue is go to http://localhost/ampps/index.php?act=installations

Select edit details option of your installation.

set Database User= root
set Database Password = mysql

Save it, Now try to access your wordpress.

Another solution is login to phpMyAdmin select your wordpress database --> select Privileges tab --> click on Add user button --> create wp967 user and assign all privileges.

Now Follow first solution if you have set new password for wp967.
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Thank you for this- I'm definitely getting further now! I changed the username and password to what you suggested, then tried restoring the Wordpress backup and it said it completed successfully. However, when I click on it (the address is http://127.0.0.1/wp) it won't open and I get the message 'HTTP 500 error, Microsoft edge cannot find this page'. I have been able to open my Wordpress blog this whole time, which is at http://127.0.0.1/dir. Do you know why I'm unable to open my actual site?

Thank you for your time and patience :-)
IP: --   

Apache won't start after moving Ampps to new computer
Clairey1988
Group: Member
Post Group: Newbie
Posts: 10
Status:
Also, I would just like to add, that when I try and open the Wordpress admin page for my site, I get the message:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
•Are you sure you have the correct username and password?
•Are you sure that you have typed the correct hostname?
•Are you sure that the database server is running?

Thank you again
IP: --   

Apache won't start after moving Ampps to new computer
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

Open support ticket here:
https://www.softaculous.com/support/
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 11:58 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024