Page 1 of 1

how to change lampp repository for mediawiki?

PostPosted: 11. June 2019 13:38
by darulezpl
hi ,


my lamp installation that hosts mediawiki 1,32 on the Cenots OS 7 is having problem with overfilling space. (due to some logs) so I copied over whole /opt/lampp/ into new different file system with more space available: /opt/cloudhost/lampp.

In my /opt I made symbolic link for like:

lampp -> /opt/clouldhost/lampp

I renamed the orginal /opt/lampp hoping the system would use the new location from synonym..

but now the main web page cannot be displayed and showing that it cannot access the database.


What else (confing?) needs to be adjusted to fix it?

Re: how to change lampp repository for mediawiki?

PostPosted: 04. July 2019 16:16
by tasso85
XAMPP has its installation path hardcoded as /opt/lampp, so you cannot just move it, nor you can change where it is installed.

What you COULD do is, move the installation folder, and then create a symbolic link back to the original location.

In your case, having already moved the installation from /opt/lampp to /opt/cloudhost/lampp, you can create the symbolic link by using the command

Code: Select all
ln -s /opt/cloudhost/lampp /opt/lampp

as root.