HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Install Wordpress on ISPconfig3 (NGINX webserver) (http://www.howtoforge.com/forums/showthread.php?t=60417)

Rashef 2nd February 2013 23:18

Install Wordpress on ISPconfig3 (NGINX webserver)
 
Sorry to bother again, But NGINX is driving me crazy! :(

I clueless migrated most of the Wordpress instances on ISPconfig3 running NGINX. Thanks to previous posts and Google I solved all the issues so far.

Now I need to install a Wordpress from scratch. I created a new website on ISPconfig3, I uploaded the last version of Wordpress and when I try and open index.php (as well as any other address) I get a 500 Internal Server Error.

I noticed this error in the log:
Code:

FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(wp-config.php) is not within the allowed path(s):
I don't really understand this error, but I manually created the wp-config.php anyway. Now I keep getting the Error 500, but there's no error in any log (system, NGINX nor php-fpm).

Anything else I can try? :-(

Rashef 3rd February 2013 21:44

Let me correct myself! It's not only about Wordpress installation because also the new migration are failing. Precisely, the instances I migrated the very first days are working like a charme, now it looks like every new site (VHOST) could only show the welcome HTML page... :-S

And I cannot find any error anywhere yet...

Rashef 4th February 2013 12:41

Ok, I'm trying with a Wordpress, wp-config already configured (otherwise I get open_basedir restriction in effect. File(wp-config.php) is not within the allowed path(s), that I don't understand either). I get 500 Internal Server Error if I try and open index.php. A test PHP page with a PHPinfo works.

This is the access.log:
Code:

[04/Feb/2013:12:50:46 +0100] "GET / HTTP/1.1" 500 1851 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17"
Error.log is empty...

till 4th February 2013 12:58

Are there any items listed in the jobqueue in the ispconfig monitor?

Rashef 4th February 2013 13:02

Quote:

Originally Posted by till (Post 291546)
Are there any items listed in the jobqueue in the ispconfig monitor?

No it's empty...

Rashef 4th February 2013 15:27

I have the feeling I'm overshooting some threshold or limit because I already migrated 4 Wordpress instances and 2 single-HTML-page websites flawlessly.

I'm trying and migrating other Wordpress instances following the same procedure and with the same directives:
Code:

location / {
                try_files $uri $uri/ /index.php?$args;
      }

      # Add trailing slash to */wp-admin requests.
      rewrite /wp-admin$ $scheme://$host$uri/ permanent;

      location ~*  \.(jpg|jpeg|png|gif|css|js|ico)$ {
                expires max;
                log_not_found off;
      }
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;

(just in case you're wondering, I also tried with no directives).
I know that NGINX has this "generic 500 error" as a security measure, but there must be some more specific log, isn't it?

Rashef 5th February 2013 11:02

After many hours spent on this, I have to give up. I'm afraid that despite the amazing performances I was experiencing with NGINX I'll have to switch back to Apache.

Thanks for your immeasurable support, as usual!


All times are GMT +2. The time now is 21:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.