Unable to log in to phpmyadmin - php

Folks,
I am unable to log to a remote MySQL server using phpMyAdmin. Here is the error
[Wed Mar 01 12:33:24 2017] [error] [client 'remoserverIP'] client denied by server configuration: /usr/share/phpMyAdmin/
When I try to log in directly in the MySQL server using remote server's CLI, I am able to log in without any problem. Other users are able to log in using phpMyAdmin. What am I doing wrong?
FYI, I do not have root/sudo access to change and restart anything.

Related

Client denied by server

I am trying to insert into my sql database, however that is not working. So I went through my logs and found this error repeat many times. But when I go to the path that it is telling me to configure I can't find the file. I am using mamp, on a MacBook Pro, and I have successfully inserted into a sql database before.
The Error:
[Mon Jan 25 15:22:25.136850 2021] [authz_core:error] [pid 21937] [client ::1:53684] AH01630: client denied by server configuration: /Applications/MAMP/htdocs/untitled Project website V5/.DS_Store, referer: http://localhost:8888/

Problem to upload file on server php bitnami

I'm deploying a web server, and the server is running bitnami. When I try to upload a file to the server, it returns 400 errors, bad request. I read the error log of bitnami (because the code works on another server) and It has the following message:
[Wed Feb 10 15:11:33.103754 2021] [proxy_fcgi:error] [pid 10113:tid 140226278139648] (11)Resource temporarily unavailable: [client xxxxxxxx:64905] AH01075: Error dispatching request to : (reading input brigade), referer: http://xxxxxxx/test.php
I have verified the limit to upload, timely execution, php.ini, etc. And I search for information about the error but I can't find information about it. What do the reasons maybe? Thank you for your comments

Why am I getting a 403 forbidden on my entire local wampserver?

I have wampserver installed locally and I run about 20 different projects on it. I recently made some changes to some config files but I forget what I did exactly. I believe I edited the php.ini.
Anyways I get a 403 forbidden on every webpage on the server. How can I determine what's causing the 403? The Apache error is the same every time and it looks something like this:
[Sun Oct 04 21:36:07 2015] [error] [client ::1] client denied by server configuration: C:/wamp/apps/phpmyadmin3.4.10.1/
this worked for me..
<Location />
Allow from all
Order Deny,Allow
</Location>
I have included this code in my /etc/apache2/apache2.conf
Edit : This code is only for local server not safe for production server.

Long respond time because of Mod_SPDY or Session , Apache2 server

I'm work on an apache2 server (nginx) and for some reason the respond times have been very long. It can take up to 30Sec to get a respond from the server.
I have check the PHP code and also added a timer to it so it can’t be the code. I have also created a very simple dummy file but the delay is still there.
I have also restarted all services but the problem is still there.
I keep seeing the following Errors in the error-log and suspecting that it might be related to a session problem:
[Sun Oct 06 16:50:03 2013] [error] [client 69.201.188.61] [mod_spdy/0.9.4.1-397] [32734:32734:ERROR:spdy_session.cc(304)] Session error: INVALID_CONTROL_FRAME
[Sun Oct 06 15:32:13 2013] [error] [client 84.168.213.116] [mod_spdy/0.9.4.1-397] [18811:18811:ERROR:apache_spdy_session_io.cc(88)] ap_get_brigade failed with status 104: Connection reset by peer
I Googled these error logs but couldn’t really find anything.
Any suggestions?
Thank you for your help

500 Internal Server Error - Error logs do not show anything significant

First of all, thank you for your time in reading this :)
I am managing a server which runs apache2 and mod_fcgi which host a few sites via Virtual Hosts. Some sites are straight PHP, the others are all WordPress. The WordPress sites are all functioning great, however, any other site throws up a 500 Internal Server Error when you try to access them.
If you navigate to a non-php file on the web directory (like an image) it will display, but any .php file throws up this error.
The Apache2 error log shows nothing.
When I tail the error log of the site, I get this:
[Wed May 22 15:12:15 2013] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed May 22 15:12:15 2013] [error] [client x.x.x.x] Premature end of script headers: php-fcgi-wrapper
[Wed May 22 15:12:15 2013] [debug] mod_deflate.c(615): [client x.x.x.x] Zlib: Compressed 612 to 377 : URL /fcgi-bin/php-fcgi-wrapper/index.php
The root of the website is located in /var/www/site1/
I have quadrouple-checked my permissions and ownerships.
I have increased more memory for PHP.
I tried looking at the php.log file, but nothing is being written.
Can anyone point anything else out that could be causing this?
Thank you!
I don't have the time at the moment to back up my cgi-conflict suggestion, but it occurred to me that you may be using php short tags, when the server doesn't allow it. Wordpress I believe uses full open tags which would explain why it works.
Instead of using:
<? //some php code
?>
Try:
<?php //some php code
?>
Are you using short tags? This could be your issue.

Categories