litespeedtech / ls-cloud-image

GNU General Public License v3.0
36 stars 38 forks source link

PhpMyAdmin Permission Errors? #17

Closed KevinB97 closed 4 years ago

KevinB97 commented 4 years ago

Hi there,

I am receiving the following errors when accessing PhpMyAdmin after installing the OpenLiteSpeed-WordPress image via Linode:

https://paste.pics/8XWOF https://paste.pics/8XWOP

Any idea how to fix this?

Thanks

Code-Egg commented 4 years ago

Hi @KevinB97 ,

Can you tell me this issue happens on which OS? Because I just tried it on Ubuntu 18 but did not see it.

About The &cfg['TempDir'].. issue is due to new phpmyadmin missed the tmp folder. Fix method is easy, just create a tmp folder under the phpmyadmin and the warning should just gone.

KevinB97 commented 4 years ago

I am trying this on CentOS 7, should I be using Ubuntu 18 to prevent any bugs now & in future?

Ok sweet

Code-Egg commented 4 years ago

Thanks, I will look into and update here.

Code-Egg commented 4 years ago

I can see the issue and found the solution, you can manually fix it by follow command:

chown -R nobody:nobody /var/www/phpmyadmin

I will fix it on the script at some point.

KevinB97 commented 4 years ago

Ok thanks I will try it out soon.

Do you recommend running Ubuntu 18 instead of CentOS btw?

Code-Egg commented 4 years ago

I recommend both, just choose the one you more comfortable with.

Code-Egg commented 4 years ago

Pushed, should works now.