True. I set up an Openbsd with httpd+mariadb+php5.
Httpd was fast to configure.
The only surprise i got was that i couldn't connect to mysql through php.
The problem was that the mysql socket was outside the httpd chroot and php-mysqli was looking for that socket (because i used 'localhost' as host).
I changed 'localhost' to 127.0.0.1 in order to use the network instead of the socket.
I spent some times figuring this out. Although this problem was answered on #misc and some other forum, i though i would add it here too.
|