Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd February 2013, 00:18
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default 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? :-(
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2013, 22:44
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

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...
Reply With Quote
  #3  
Old 4th February 2013, 13:41
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

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...

Last edited by Rashef; 4th February 2013 at 14:00.
Reply With Quote
  #4  
Old 4th February 2013, 13:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Are there any items listed in the jobqueue in the ispconfig monitor?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Rashef (4th February 2013)
  #5  
Old 4th February 2013, 14:02
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
Are there any items listed in the jobqueue in the ispconfig monitor?
No it's empty...
Reply With Quote
The Following User Says Thank You to Rashef For This Useful Post:
robertoshulze2257 (15th October 2014)
  #6  
Old 4th February 2013, 16:27
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
Default

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?
Reply With Quote
  #7  
Old 5th February 2013, 12:02
Rashef Rashef is offline
Member
 
Join Date: Nov 2008
Posts: 60
Thanks: 8
Thanked 2 Times in 2 Posts
 
Default

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!
Reply With Quote
Reply

Bookmarks

Tags
nginx, wordpress

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Zoneminder 1.25 source wi Ubuntu Server 11.10 64bit, libjpeg-turbo, Cambozola letsharehowto HOWTO-Related Questions 0 15th November 2011 17:23
Install ispconfig 3 with nginx alexistkd Installation/Configuration 1 24th October 2011 10:45
Some problems after upgrade OS lenny to squeeze matiasCU Installation/Configuration 3 31st May 2011 23:53
ISPConfig3 plugable mail subsystem (for Google Apps) and nginx as alternative eugenesan Developers' Forum 49 20th February 2011 20:04
User constantly loggin into mail? bswinnerton Installation/Configuration 2 24th March 2008 01:12


All times are GMT +2. The time now is 05:51.


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