PHP User can't change the permitions of the directories.

Started by vivekan, September 15, 2017, 04:15:26 PM

Previous topic - Next topic

vivekan

Hello to all users of CWP,

I have met a problem with my PHP + mysql  that I own by a second developer.
When i try to connect to mysql over php script i get the message first of

PHP User can't change the permitions of the directories. [If i go and fix Permission at CWP Panel for both "nobody" + "user" it will pop up message > Can't connect to DataBase. Please check connection data.]

Any thoughts?

24x7servermanagement

Is MySQL service running on the server?

service mysql status
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

vivekan

root@server ~]#  service mysql status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists

studio4host

you need to check your mysql server it can be that its dead or over connection limit number...but you need to check it before restarting
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

vivekan

Problem is that i have already tried to re-install it over 10 times and same resaults.
Cent OS 6 & 7 x86 and x64 versions always end up with this problem.

any way to reset it somehow?