Author Topic: PHP User can't change the permitions of the directories.  (Read 8578 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
PHP User can't change the permitions of the directories.
« on: September 15, 2017, 04:15:26 PM »
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?

Offline
**
Re: PHP User can't change the permitions of the directories.
« Reply #1 on: September 16, 2017, 01:33:45 PM »
Is MySQL service running on the server?

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

Offline
*
Re: PHP User can't change the permitions of the directories.
« Reply #2 on: September 27, 2017, 07:13:08 PM »
Code: [Select]
root@server ~]#  service mysql status
 ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists

Offline
*
Re: PHP User can't change the permitions of the directories.
« Reply #3 on: September 28, 2017, 10:45:48 AM »
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.

Offline
*
Re: PHP User can't change the permitions of the directories.
« Reply #4 on: September 28, 2017, 04:00:51 PM »
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?