#1  
Old 9th March 2010, 14:33
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP FastCGI & Mod PHP

hi guys im having a problem:

if i choose FastCGI, the apache directive php_flag magic_quotes_gpc On doesn't work but php follow symlinks.

if i choose Mod-PHP the apache directive php_flag magic_quotes_gpc On works but php don't follow symlinks.

:S
Reply With Quote
Sponsored Links
  #2  
Old 10th March 2010, 09:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Thats the normal way these php modes work and nothing special related to ispconfig. The php_flag is a function of the apache mod_php module.

If you want to set variables for php on a per site basis, you can e.g. work with a custom php.ini file that you specify in the fcgi wrapper:

http://www.askapache.com/php/custom-...nd-tricks.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th March 2010, 18:45
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks till
now i understand that if i use fcgi i can custom php.ini for every domain, but if i want to use mod_php as i used on ispconfig 2 i can't use symlinks :S symlinks works for html but php cant use it :S how can i solve this?
Reply With Quote
  #4  
Old 11th March 2010, 18:52
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

till i discover why symlinks doesn't work on mod_php it's because a conflict with: php_admin_value open_basedir /var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/usr/share/php5

is this necessary?????? will open security problems????
Reply With Quote
  #5  
Old 11th March 2010, 19:00
killerwake killerwake is offline
Junior Member
 
Join Date: Mar 2010
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

LOL forget it till, i solved the problem by adding on apache directives the path where i wanted to follow the symlink:
php_admin_value open_basedir /var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/usr/share/php5:/home/blabla/

Anyway thanks for you precious support!

Last edited by killerwake; 11th March 2010 at 19:15.
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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 08:59.


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