I have tried launching the built-in PHP server using the command as seen in the code but I'm getting a 500 server error which seems to have something to do the SSL of my browser. To clarify, I'm not asking how to serve the php serve with SSL. I'm seeking a solution as to why my php artisan serve is throwing an SSL error.
php artisan serve
I have tried going incogonito, using another browser
Here's the logs from the command line:
Laravel development server started: <http://127.0.0.1:8000>
[Sun Sep 8 17:27:00 2019] 127.0.0.1:64517 Invalid request (Unsupported SSL request)
[Sun Sep 8 17:27:01 2019] 127.0.0.1:64523 [200]: /favicon.ico
[Sun Sep 8 17:27:23 2019] 127.0.0.1:64531 [200]: /favicon.ico
[Sun Sep 8 17:27:29 2019] 127.0.0.1:64532 Invalid request (Unsupported SSL request)
[Sun Sep 8 17:27:29 2019] 127.0.0.1:64533 Invalid request (Unsupported SSL request)
[Sun Sep 8 17:27:32 2019] 127.0.0.1:64534 Invalid request (Unsupported SSL request)
[Sun Sep 8 17:27:37 2019] 127.0.0.1:64536 Invalid request (Unsupported SSL request)
[Sun Sep 8 17:27:42 2019] 127.0.0.1:64549 [200]: /favicon.ico
[Sun Sep 8 17:31:41 2019] 127.0.0.1:64730 [200]: /favicon.ico
Related
I have installed php server on my vscode with a proper php server from php.net used at $PATH
But when I try to press
PHP Server: Serve project
I get the following error:
[Tue Oct 25 21:30:53 2022] PHP 8.1.11 Development Server (http://localhost:3000) started
[Tue Oct 25 21:34:55 2022] [::1]:62162 Accepted
[Tue Oct 25 21:34:55 2022] [::1]:62163 Accepted
[Tue Oct 25 19:34:55 2022] [404] / - No such file or directory
[Tue Oct 25 21:34:55 2022] [::1]:62163 [404]: GET / - No such file or directory
[Tue Oct 25 21:34:55 2022] [::1]:62163 Closing
[Tue Oct 25 21:36:07 2022] [::1]:62162 Closed without sending a request; it was probably just an unused speculative preconnection
[Tue Oct 25 21:36:07 2022] [::1]:62162 Closing
After installing SSL on the server, the .php files stopped working and gave an error 500:
https://freshfinance.pl/empty.php
HTML works fine:
https://freshfinance.pl/
I have 2 entries in error.log:
[Sun Nov 07 13:01:47.229672 2021] [fcgid:warn] [pid 4630]
(104)Connection reset by peer: [client 162.158.102.105:56384]
mod_fcgid: error reading data from FastCGI server [Sun Nov 07
13:01:47.229742 2021] [core:error] [pid 4630] [client
162.158.102.105:56384] End of script output before headers: empty.php
I have read other forum posts about a similar issue but none have been helpful (e.g. 500 Internal Server Error for php file not for html)
What could be causing the problem on my server?
i install laravel 5.5 in my server
it's work well in local host and in one of my servers
when i transfer it to another server it give me error
mydomain.com is currently unable to handle this request.
HTTP ERROR 500
and i get this error on my cpanel error
[Wed Aug 29 13:27:12.060112 2018] [cpanel:warn] [pid 24177:tid 140535283795712] mod_cpanel cpanel_open_htaccess(): Cache-miss: htaccess request for '/home/username/public_html/projectfolder/.htaccess'
[Wed Aug 29 13:27:12.060104 2018] [cpanel:warn] [pid 24177:tid 140535283795712] mod_cpanel cpanel_open_htaccess(): Caching htaccess request for '/home/username/public_html/.htaccess'
[Wed Aug 29 13:27:12.060093 2018] [cpanel:warn] [pid 24177:tid 140535283795712] mod_cpanel cpanel_open_htaccess(): Cache-miss: htaccess request for '/home/username/public_html/.htaccess'
[Wed Aug 29 13:27:12.059812 2018] [cpanel:warn] [pid 24177:tid 140535283795712] mod_cpanel cpanel_open_htaccess(): Cache-miss: htaccess request for '/home/username/.htaccess'
I have encountered "zend_mm_heap corrupted" Error on my app server.
error_log trace is below
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] zend_mm_heap corrupted
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] Premature end of script headers: index.php
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] zend_mm_heap corrupted
[Fri Oct 16 23:25:57 2015] [error] [client "client ip"] Premature end of script headers: index.php
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] zend_mm_heap corrupted, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] Premature end of script headers: index.php, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] zend_mm_heap corrupted, referer: http://domain/
[Fri Oct 16 23:25:58 2015] [error] [client "client ip"] Premature end of script headers: index.php, referer: http://domain/
I tried different approach bu no luck. Any Idea how this problem can be fixed.
Thanks in advance
Update : Issue is resolved now.
Made two changes in app server to clear the issues.
One reinstalled the frame work used in the server. that resolved the issue of zend_mm_heap.
Secondly removed unwanted extension of homeloader.so from php.ini to end the error of Premature end of script headers: index.php.
I'm using Apache/2.2.16 (Debian) Server as a test server. It has stopped working. What I mean is whenever I try to access a page at say x.x.x.x/foo/bar.php my browsers status bar says waiting for x.x.x.x and the server never responds.
This is what the error logs at says:
[Thu Jun 25 11:30:22 2015] [error] [client 94.200.27.10] PHP Parse error: syntax error, unexpected T_STRING in /usr/share/drupal6/abdi-test/index.php on line 28
[Thu Jun 25 11:30:59 2015] [error] [client 94.200.27.10] PHP Parse error: syntax error, unexpected T_STRING in /usr/share/drupal6/abdi-test/index.php on line 28
[Thu Jun 25 11:31:20 2015] [error] [client 94.200.27.10] PHP Fatal error: Call to undefined method DbConnector::dbQuery() in /usr/share/drupal6/abdi-test/index.php on line 31
[Thu Jun 25 11:57:41 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 11:59:03 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:15:33 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:31:56 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:49:47 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
[Thu Jun 25 12:50:15 2015] [error] [client 151.80.123.208] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Thu Jun 25 12:56:29 2015] [error] [client 94.200.27.10] Directory index forbidden by Options directive: /usr/share/drupal6/abdi-test/
I'm just an intern so I only have ftp access to this test server. My supervisor says there is a problem with the code on one of the pages somewhere on the server but he's too busy with something else to fix it right now.
Does anyone know what might be wrong?