how to set up wordpress with php-fpm

i have managed to get wordpress running with php-fpm and apache2.4 but the when you click on links the page does not render correctly

this is what I have in /etc/httpd/conf.d/php.conf

#SetHandler “proxy:fcgi://”
AddHandler php5-script .php .phtml .html .css .js
AddType text/html .php

# This is to forward all PHP to php-fpm.
<FilesMatch .php$>
SetHandler “proxy:fcgi://”

# Set some proxy properties (the string “unique-domain-name-string” should match
# the one set in the FilesMatch directive.
<Proxy fcgi://>
ProxySet connectiontimeout=5 timeout=240

# If the php file doesn’t exist, disable the proxy handler.
# This will allow .htaccess rewrite rules to work and
# the client will see the default 404 page of Apache
RewriteCond %{REQUEST_FILENAME} .php$
RewriteRule (.*) – [H=text/html]

the site in question is . how can i fix this?

DNS is in Godaddy and being forwarded to amazon where the site is hosted.

error in see in console log is which is trying to load js files.

Uncaught SyntaxError: Unexpected token <



<title>Bangla Relief </title>
<META name=”keywords” content=”Charity”>
<frameset rows=”100%,*” border=”0″>
<frame src=”″ frameborder=”0″ />
<frame frameborder=”0″ noresize />

<!– pageok –>
<!– 10 –>
<!– –>

Read more here:: how to set up wordpress with php-fpm

Leave a Reply

Your email address will not be published. Required fields are marked *