New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Internal Server Error

Started by tewfik, July 27, 2018, 07:18:36 PM

Previous topic - Next topic

bullten

Hello,

I just replicated the same thing on my test server. You need to go to

cd /usr/local/apache/htdocs/folderinwhichfilesare

run the command below

find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;


Then you can access your files


tewfik


Hello,
Sorry for yesterday, I have access to the file but now I have another problem
Connection to the database
I have the following message:
An error occurred while connecting to the database
Connection attempt failed: SQLSTATE [HY000] [1045] Access denied for user 'root' @ 'localhost' (using password: NO)

I have configured my connection to the database

bullten

The error means no you are not using password for root connection of mysql.

studio4host

you should install all your applications under the user which you create, you can assign subdomains to the user account for testing.
It's not recommended to have anything custom added into /usr/local/apache/htdocs folder, also it's NOT recommended to use the root password in any script...you have mysql manager for that to create new databases and users.

Additionally to fix permissions for the folder /usr/local/apache/htdocs you can use in cwp.admin under user account option fix permissions and there you have a user nobody.
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.

mirkazka

Hello,
Thank you for helping me solve this problem
"
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at info@centos-webpanel.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.



[Sun Feb 06 01:02:34.182072 2022] [core:error] [pid 11990:tid 139790565431040] [client 10.10.9.1:64893] End of script output before headers: index.php
[Sun Feb 06 01:02:34.348744 2022] [:error] [pid 14667:tid 139790716499712] [client 10.10.9.1:64894] SoftException in Application.cpp:350: UID of script "/usr/local/apache/htdocs/index.php" is smaller than min_uid


rcschaff

f script "/usr/local/apache/htdocs/index.php" is smaller than min_uid   <<< This is your error

chown "/usr/local/apache/htdocs/index.php" to nobody, or a user account other than root
Google Hangouts:  rcschaff82@gmail.com