Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2010, 14:13
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default PHP cgi wrapper created with wrong paths

I'm having an issue with PHP cgi wrapper created with the wrong paths.
It creates "client\[client_id\]" in the path instead of "client1".

Running latest version.
Tried switching between FastCGI to MODPHP and then back. No luck.
For now I've edited the path manually to have the client1 instead of above. Any fix for this, or cause of it?


Code:
#!/bin/sh
PHPRC="/etc/php5/cgi/"
export PHPRC
PHP_DOCUMENT_ROOT="/var/www/clients/client1/web1"
export PHP_DOCUMENT_ROOT
# The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache
# mod_fcgi will control the number of childs themself and never use the additional processes.
# PHP_FCGI_CHILDREN=8
# export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php-cgi \
 -d open_basedir="/var/www/clients/client\[client_id\]/web1/web:/var/www/clients/client\[client_id\]/web1/tmp:/var/www/domain.com/web:/srv/www/domain.com/web$
-d upload_tmp_dir=/var/www/clients/client1/web1/tmp \
-d session.save_path=/var/www/clients/client1/web1/tmp \
 $1
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2010, 15:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's your ISPConfig version?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th November 2010, 13:25
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Latest version.
Although the this problem appeared in an older.

But the newer didnt fix it.
__________________
http://www.xh.se
Reply With Quote
  #4  
Old 20th November 2010, 15:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I've added this to our bugtracker.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 8th December 2010, 14:11
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
 
Default

It seems to only affect our oldest sites on this server


/var/www/php-fcgi-scripts/web1/.php-fcgi-starter

has the wrong paths added after apache configuration changes through ISPconfig

but /var/www/php-fcgi-scripts/web15/.php-fcgi-starter
is created properly even when they are the same client.

Hope this helps in finding the issue probably something from an old ISPconfig version that still lingers in a database or something.
__________________
http://www.xh.se
Reply With Quote
Reply

Bookmarks

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
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
How to add a subdomain? malinens Installation/Configuration 2 10th March 2008 23:16
Virtual Hosting Not Working stirfry Installation/Configuration 26 7th August 2007 10:53
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 16:56
can't make work joomla + sef + .htaccess bochenn General 9 4th April 2007 13:47


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


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