Skip to content
#

PHP

php logo

PHP is a popular general-purpose scripting language that's particularly suited for server-side web development. PHP runtime is generally executed by webpage content, and can be added to HTML and HTML5 webpages. PHP was originally developed in 1994 by Rasmus Lerdorf.

Here are 64,118 public repositories matching this topic...

symfony
B-Galati
B-Galati commented Nov 8, 2019

Description
At the moment it's quite hard to debug HTTP errors because the only information we get is:

HTTP/1.1 400 Bad Request returned for "https://example.com/".

It would be nice to have an opt-in option that would automatically open response payload and headers in order to log them in Sentry for example. It may require to handle a max lenght on the response payload.

Seldaek
Seldaek commented Apr 1, 2020

As we are getting Composer 2.0 closer and closer to a stable release,
and would like to get more people involved with testing it, it is
quite important to get the most common plugins to support our 2.0
branch. Otherwise many users will not be able to try the latest
Composer snapshots when we switch them to 2.0.

If you maintain a Composer plugin and would like to help, here is how:

  • Get
marekstodolny
marekstodolny commented Jan 29, 2020

Description
Sending empty files in a multipart POST form is a proper use case due to web browsers supporting it.

I worked on a API layer using guzzle that had to work with an existing legacy codebase and trigger some actions (a proxy of some sort). There was a case where files had to be sent with empty content and would not work if you would omit them.

Example
_Currently no implem

wangch7
wangch7 commented May 22, 2019

Problem Description: No instruction of how to contribute in readme.rst. First time users will probably want to see information of how to contribute (which includes how to set up environment, communicate, and submit changes, etc.).

Solution Description: Add a contributing section in readme.rst with general contributing information, and include a link to file "contributing.md" (https://github.com

aftabnaveed
aftabnaveed commented Jun 1, 2018

PHP Version 7.1.9

The documentation says that Swoole coroutine cannot be used with xdebug, while developling applications xdebug is very helpful tool. For smaller application it may not be a problem but larger applications makes it necessary to use it.

My question is how can I debug applications while still using Swoole Coroutines ?

PHPMailer
PhilippGrashoff
PhilippGrashoff commented Jan 22, 2020

Hi there,
after spending quite some time figuring why Email sending with a certain smtp server does not work, I found its an SSL issue.

Most widely on the web the found solution is to unset some ssl checks:

$mail->SMTPOptions = array(
    'ssl' => array(
        'verify_peer' => false,
        'verify_peer_name' => false,
        'allow_self_signed' => true
    )
);

However

Krinkle
Krinkle commented Mar 30, 2020

I learned this by digging through the code base for a while, and uncovered:

https://github.com/matomo-org/matomo/blob/a345c2f22b8356dd3300d66f5ade3df24f69d900/core/Config.php#L149-L151

From which I deduce that in the same directory where I might have a config/config.ini.php file, I can also have a config/blog.example.org.config.ini.php file - which, if it exists will be used instead.

server
matiasdelellis
matiasdelellis commented Apr 13, 2020

Steps to reproduce

  1. Inside the server, set the language to a translation, for example, Spanish Argentina
  2. Find some plural translations. For example the summary of the current folder.
  3. Just check if the plural works.

Expected behaviour

In summary expect:

6 carpetas y 5 archivos 8,5 GB

Actual behaviour

In summary i see:

6 carpeta y 5 archivo 8,5 GB

![imagen

rentalhost
rentalhost commented Dec 9, 2019

Currently the first parameter $base is a string that could be: top-left (default), bottom-right or transparent as the doc: trim().

There some way to trim by color? In my case, I need trim transparent and/or white color, only. Eg.: trim([ 'transparent', 'white', '#FF0000']) to trim transparent, white and red. The problem is that first parameter

igorsantos07
igorsantos07 commented Apr 15, 2020

Up to v3 there were a couple of easy ways to write out responses to a path:

  • simply return a string from the function: $app->get('/', fn() => 'hello world');
  • write to the response: $app->get('/', fn($req, $res) => $res->write('hello world'));
  • write JSON with $res->withJson() (this one is completely gone and we've got to default to json_encode() calls)

The first met

cphalcon
october
monica
xNinjaKittyx
xNinjaKittyx commented Mar 13, 2020

It would be good to specify what version of MySQL is currently supported... I was trying to set it up with mysql 8, and running into all sorts of problems. I know this is written in some places, but it would be nice to have it consistent throughout the README.md and the setup pages. I also saw that there has been some work on postgresql, but no documentation regarding on how to do it. However, I d

Created by Rasmus Lerdorf

Released June 8, 1995

Organization
php
Website
secure.php.net
Wikipedia
Wikipedia

Related Topics

language
You can’t perform that action at this time.