« first day (4877 days earlier)      last day (289 days later) » 

00:36
No one would have an idea how to capture the exit code within a PHPT?
00:55
@Girgias maybe look at TEST_PHP_EXECUTABLE_ESCAPED in the tests to see if any of them are doing whatever it is you're trying to do?
Huh that might be useful, thanks @Danack !
sapi/cli/tests/bug65275.phpt looks like what I need
 
5 hours later…
06:19
Hello people, good evening, I am new to PHP, and I was passing by because I have a question, I have a test WordPress and I would like to secure or harden my php.ini, this is what I have, what other configurations I could apply. Thank you
```
/etc/php/8.1/apache2/php.ini
```

```
expose_php = Off
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = /var/log/php/php_error.log
ignore_repeated_errors = Off

open_basedir = /var/www/html
allow_url_fopen = Off
allow_url_include = Off
enable_dl = Off
disable_functions = system, exec, shell_exec, passthru, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, putenv, move_uploaded_file, chdir, mkdir, rmdir, chmod, ren
 
2 hours later…
08:09
What's the question?
09:00
how to configure php.ini for production.
use php.ini-production instead of pghp.ini-development ;)
also most directove have comment with default/recommended value for dev/prod
 
9 hours later…
17:33
Is PHP a better programming language for backend development compared to Python and Node.js ? What is recommended after Javascript ? Which is easy to understand and has a fun experience with a smaller learning curve ?
 
2 hours later…
19:54
@UtkarshSharma That probably depends on your use case. Different programming languages have different strengths.
20:43
@James you can check the DDD approach and this diagram: miro.medium.com/v2/resize:fit:992/1*llP2Hq7wnwVIz3X5kILOFA.png
 
2 hours later…
22:18
Fwiw @IluTov I really like the property hooks name. Accessors is a weird name, it also feels unfitting for possible future extensions to the functionality.
22:49
Hey All - just wondering if anyone had heard from Joe Watkins?

I have followed him for a while, his blog was great. I know he wasn't at all well a couple of years ago (diabetes) I think, and he posted this rather worrying post (the last one): http://web.archive.org/web/20230605111310/https://blog.krakjoe.ninja/2022/11/but-is-it-burnout.html
He may just be being quiet and focused on other stuff, but his last blog was a bit worrying and now his site is just full of chatgpt looking spam, and his blog is no longer operating.
Hopefully he is fine and I am just worrying about nothing, but thought I would reach out, I know he used to hang out in here.
@EquinoxMatt He's still alive, but yes, the diabetes problem is still up to date sadly.
@bwoebi Appreciate that. If you speak out to him, please let me know people were asking about him. He doesn't know me, but still I think its important he remembers the positive impact he had on people.
23:44
Auto response, I found a good reference from the OWASP Cheat Sheet Series, PHP Configuration Cheat Sheet. cheatsheetseries.owasp.org

« first day (4877 days earlier)      last day (289 days later) »