Jump to content

Apache/PHP Wiki Server Restore? Made a Pig's Ear of it...


Recommended Posts

Posted

Hello all,

 

Nothing essential this end, just a bit annoying. We've had an internal wiki of sorts just plain stop working. I'm not sure exactly what did it in, but probably upgrading to php7 smushed it. Or even php5.

 

I've restored the folders of it to a fresh LAMP server, only really want to load it up again for a day or two to get all our old guides off it then bin it again, but can't get the pesty thing to spit our it's regular wiki.

 

777-ed the world on the folders (currently it's in /var/www/html/oracle/public_html/) and I can browse from another PC to the folder structures within eg http://tempserver/oracle/ and also to eg http://tempserver/oracle/public_html/docs/ but I cannot get to http://tempserver/oracle/public_html/ as it gives me an http 500 error.

 

Can anyone just bodge me working perhaps maybe?

 

Thanks in advance for any pointers! :)

Posted

Is the ownership of the files correct (i.e. owned by www-data and not root)?

 

Something like this would set that right.

sudo chown -R www-data:www-data /var/www/html/oracle

 

Also check for paths to that folder being correct in any config files for the site (would depend on the wiki system in question).

 

One of the reasons I like using DokuWiki is that there's no database involved, just text files. Makes backup and restore dead simple.

  • Thanks 1
Posted

There's some solid gold in here, thanks so so much folks. Restoring the, er, mediawiki whilst following their instructions was definitely a good 'un!

 

I'll rummage through all these now, cheers again everybody!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...