简体   繁体   中英

File permissions to lampp in Ubuntu

I gave wrong permissions to the lampp folder (777)

It gave me the error as follows:

phpMyAdmin - Error Wrong permissions on configuration file, should not be world writable!

The image can be previewed here: http://postimg.org/image/8imdihtyr/full/

Later, I changed the file permissions to (755). The screenshot being: http://postimg.org/image/gui4jqrcj/full/ . I now receive the error:

"No file or directory"

I'm able to access the localhost, and the folders inside it, but not phpmyadmin.

How can I make my phpmyadmin available to myself?

Change to Super User

sudo su

Then give permission as 755

chmod -R 755 /opt/lampp/lampp

Then Stop and Start your Lampp

/opt/lampp/lampp stop
/opt/lampp/lampp start

Now open your localhost, localhost/phpmyadmin and the localhost/subfolders

Reply if it helps you.

I had in my case done the following

sudo chmod -R 777 /opt/lampp

and encoutered the php admin issue but was able to fix it with just

sudo chmod -R 755 /opt/lampp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM