User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder however you set it up both caddy and php-fpm need read access to the files (and their containing directories) and all of them need to be at the exact same paths for both (if i recall correctly. it's certainly the easiest way to pull it off)

php is very clearly not intended for containers
2
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i am doing such gymnastics because i clearly do not want to run any kind of sql on bare metal because the way fedora deals with postgres updates horrifies me
1
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder can't you run the database inside a container and let it expose the port to 127.0.0.1? i do it all the time for dev stuff on my laptop
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i guess i could
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i was even thinking about that but i was like "jesus even more bullshit"
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i'll just do that i suppose
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper oh and just to make it even worse, i am trying to run postgres with it instead of mariadb because fuck that
2
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder oh yeah wordpress by default is still mysql only isn't it
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper yeah
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper anyway i did that and now i just have a blank page
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i have no fucking idea how is this supposed to work
1
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder if you can, try throwing a file with
<?php
phpinfo();


in it somewhere and trying to open it just to make sure php works in the first place. if that works then it's a bug in whatever cursed wordpress mod you're running, otherwise it's your php setup
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper like, i am using this github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper can the file be just these two lines
i literally never dealt with php
2
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder yeah it should just be those two lines. you don't even need the closing ?> (which is actually discouraged in modern php as it can break sending headers due to trailing newlines and all that)
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper yeah i am not getting anything
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper god why is this so broken
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper wait i think why
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper jesus
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper no the path didn't make a difference at all
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper like, this is apparently how you should do this on fedora? but idk it looks weird

and yes that path is where the socket is
0
0
0
0