Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Changing www root path on MAC

1


Threaded Mode | Print  

 Changing www root path on MAC (34 Replies, Read 18321 times)
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I was using MAMP on MAC and my www root is /www  directly at the root of my hard disk, I don't want to change it
How can I set AMPPS  to have the localhost  on /www ?

thank you
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I dont find the way to edit my post

I want /www  and not /Applications/AMPPS/www
IP: --   

Changing www root path on MAC
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Sorry the DocumentRoot is not flexible yet.

But you can create an alias or domain from Enduser Panel to point to that directory.


Edited by tidus : September 3, 2013, 11:29 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
thank you
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I have tried but I find it too complicated and un-flexible , I shall keep on using MAMP

thanks anyway
IP: --   

Changing www root path on MAC
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : erickb September 5, 2013, 8:09 am
I have tried but I find it too complicated and un-flexible , I shall keep on using MAMP

thanks anyway


You can also create a symlink.
Code

ln -s /your/directory /Applications/AMPPS/www





-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
thanks but I get
Database connection error (2): Could not connect to MySQL.


the migration from MAMP to AMPPS  is too tricky
IP: --   

Changing www root path on MAC
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Quote From : erickb September 5, 2013, 9:41 am
thanks but I get
Database connection error (2): Could not connect to MySQL.


the migration from MAMP to AMPPS  is too tricky


Is the AMPPS mysql server running ?

And Did you get this message in phpmyadmin ?


Edited by tidus : September 5, 2013, 9:43 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
Quote From : tidus September 5, 2013, 9:43 am


Is the AMPPS mysql server running ?

And Did you get this message in phpmyadmin ?

yes the server is running but of course all my SQL  databases are in /Applications/MAMP/db/mysql 
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
a small migration tools  from  WAMP/MAMP to AMPPS will be useful
IP: --   

Changing www root path on MAC
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

You can copy the databases to /Applications/AMPPS/var

OR

Both the stacks have phpMyAdmin you can use import/export feature to migrate database.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I have copied all the databases but now all my joomla connexion strings are wrong I guess  because I cannot connect

public $host = 'localhost';
public $user = 'root';
public $password = 'root';
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
the databases are in phpmyadmin
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I have changed the password mysql  and now I can connect but on Joomla website I get

Table 'abcd.123_session' doesn't exist SQL=INSERT INTO `123_session` (`session_id`, `client_id`, `time`) VALUES ('h0bejgcm6ptqu313bgij59t436', 0, '1378386248')
IP: --   

Changing www root path on MAC
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
or I get
Error displaying the error page: Application Instantiation Error
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, 5:21 pm.

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