CZPortal4Gamers Posted May 18, 2020 Posted May 18, 2020 Hello. After updating php then i cant access froxlor panel, because apache is targeting var/www/froxlor instead of var/www even when i have var/www set in 000-default Do u know where the problem can be? Thanks for answer
1 d00p Posted May 18, 2020 Posted May 18, 2020 then just copy the lib/userdata.inc.php to your froxlor installation and it will use the database specified there and won't say its not installed
1 d00p Posted May 18, 2020 Posted May 18, 2020 A PHP Update does not alter your Webserver configs. Also usually froxlor generates its own vhost (10_froxlor_*) so you don't need the default one.
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Yeah, i know it shouldnt change, but it worked before so i dont really dong know what happened. I see, i deleted default configs and as i see froxlor configs looks alright, but apache is still targeting wrong folder 😕
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Oh, no. My bad, froxlor configs are wrong, they are targetting var/www/froxlor instead of var/www/html/froxlor
0 d00p Posted May 18, 2020 Posted May 18, 2020 Froxlor uses (if not overwritten) the folder where its located in as docroot
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Is there way to change that somehow when i cant acces that panel?
0 d00p Posted May 18, 2020 Posted May 18, 2020 you can always manually adjust the configs and restart apache - but be aware that the cronjob will overwrite it again (if anything changed). But it might be helpful to regain access and fix up a few things
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Oh, so should i move that froxlor or can i safely change doc root to var/www/html ?
0 d00p Posted May 18, 2020 Posted May 18, 2020 noone said anything about moving froxlor....just adjust the docroot in the webserver-vhost config to regain access to the panel so you can check what might be wrong
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Yeah i know, sorry for that im just seeing your reply delayed every time
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 How can i change doc root when apache2 is ignoring default configs?
0 d00p Posted May 18, 2020 Posted May 18, 2020 Sorry, don't know what you mean. You sould have a bunch of vhost configs from froxlor in /etc/apache2/sites-enabled/, if not, either the cronjob never ran or your settings are wrong. As said, froxlor uses its own vhost config which is the one starting with 10_froxlor_[...].conf
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 I changed it and it says froxlor isnt installed 😕 But it was
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 It looks like something deleted my previous installation and i had it in var/www/froxlor the whole time, because there is froxlor folder with just lib and userdata in it
0 CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Thank you, you are the best. Sorry for me beind dumb, i dont know how i removed all the files there
Question
CZPortal4Gamers
Hello. After updating php then i cant access froxlor panel, because apache is targeting var/www/froxlor instead of var/www even when i have var/www set in 000-default
Do u know where the problem can be? Thanks for answer
15 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now