Thread: pkg_add php-fpm
View Single Post
  #5   (View Single Post)  
Old 27th March 2016
psypro psypro is offline
Shell Scout
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 124
Default

On the positive side: WordPress have been installed and configured. Gave up sqlite3 and used mariadb.

The problem:
wp-content folder, where uploads go needs

/etc/httpd
Code:
ext_if="egress"
 types { include "/usr/share/misc/mime.types" }
server "default" {
    listen on $ext_if port 80
    directory {index "index.php" }
    location "/*.php*" {
        root { "/htdocs" }
        fastcgi socket "/run/php-fpm.sock"
    }
    location "/*" {
        root { "/htdocs" }
    }
}
Anybody have a solution idea?

Last edited by psypro; 29th March 2016 at 04:36 PM.
Reply With Quote