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 26th April 2010, 20:33
GoremanX GoremanX is offline
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
Default Site Directives and Custom php.ini

I've been trying to setup a custom php.ini file for virtual hosts. There's a lot of good info about this on the web, but none of it seems to be working for me using ISPConfig 3.

I'm running ISPConfig 3.0.2.1 on Ubuntu 10.04 (RC1) with PHP 5.3.2 and Apache 2.2.14. The site is set to use suPHP 0.7.1.

First, I tried adding the following to the site directives:

Code:
suPHP_ConfigPath /var/www/fpzhosting.com/etc/
and I have a custom php.ini file in that directory. But none of the settings in that php.ini file are being applied. For example, the file clearly states:

Code:
open_basedir /var/www/fpzhosting.com/web/
But when I look at that site's phpinfo(), open_basedir is set to "none".

So I tried to look at the /etc/apache2/sites-available/fpzhosting.com.vhost file to make sure the directive I added was in fact present. It was, but it was at the bottom of the file. I don't know if this line needs to be between the same <directory> tags as the other suPHP directives, so I moved it there just to be sure and tried again. Still no joy, the custom php.ini file isn't being used.

So next I tried adding the directive to the site's root .htaccess file. Again, it didn't work. The file at /var/www/fpzhosting.com/etc/php.ini does not appear to get used at all.
Reply With Quote
Sponsored Links
  #2  
Old 26th April 2010, 23:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

Remove the / at the end of the config path. It has to be:

suPHP_ConfigPath /var/www/fpzhosting.com/etc

and add the line just to the apache directives field. I use it like this on many sites.
__________________
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:
feeninuoumn (16th January 2014)
  #3  
Old 30th April 2010, 01:48
GoremanX GoremanX is offline
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
Default

This still doesn't work. My custom php.ini file still isn't being used.

Additionally, I notice there's a PHP open_basedir field right in the options for the site in ISPConfig, and it already has all the necessary values filled in, but phpinfo() still shows "open_basedir" as "none". What is the point of this field if it doesn't actually do anything?

I'd like to point out how incredibly frustrating ISPConfig 3 has been to work with so far... the documentation is miserable, the options in the control panel are not clear (some make no sense at all), and half the features don't appear to function as expected. I keep coming back here for help, and the help I get is usually inadequate and sometimes takes days to receive. Sometimes I get no help at all unless I practically beg. I REALLY REALLY want to give ISPConfig 3 a chance, but so far, my experience has been very discouraging. I feel like I'm wasting my time, and my server will never be up and running.

Are there paid support options for ISPConfig 3 which would give me _adequate_ support? I'm ripping my hair out trying to get things setup properly, and strongly considering changing to a paid product. If the paid support options are no better than this, then I give up.
Reply With Quote
  #4  
Old 30th April 2010, 10:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

Quote:
Additionally, I notice there's a PHP open_basedir field right in the options for the site in ISPConfig, and it already has all the necessary values filled in, but phpinfo() still shows "open_basedir" as "none". What is the point of this field if it doesn't actually do anything?
This depends on the PHP type that you selected. Not all options are possible for all php settings. suPHP_ConfigPath is an option that is only working when you select suphp. It does not work when you use mod_php or php as fastcgi.

Quote:
I'd like to point out how incredibly frustrating ISPConfig 3 has been to work with so far... the documentation is miserable, the options in the control panel are not clear (some make no sense at all), and half the features don't appear to function as expected. I keep coming back here for help, and the help I get is usually inadequate and sometimes takes days to receive. Sometimes I get no help at all unless I practically beg. I REALLY REALLY want to give ISPConfig 3 a chance, but so far, my experience has been very discouraging. I feel like I'm wasting my time, and my server will never be up and running.
So your compliant here is that poeple do not work fast enough in their free time for you? How many hours do you work for free for others every day? If you need faster support, you can order paid support.

By the way, there are ten thousands of servers systems running ISPCOnfig without problems, so if you have problems with your installation, then this does not mean that there are any problems with ISPCOnfig in general.

Quote:
Are there paid support options for ISPConfig 3 which would give me _adequate_ support? I'm ripping my hair out trying to get things setup properly, and strongly considering changing to a paid product. If the paid support options are no better than this, then I give up.
See ispconfig.org > support. To contact us for paid support, send an email to support [at] projektfarm [dor] de
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th April 2010, 10:35
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 143
Thanks: 48
Thanked 13 Times in 10 Posts
Default

"There's worst, but it's more expensive" .
Reply With Quote
  #6  
Old 30th April 2010, 11:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

So why do you think that its worst?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 30th April 2010, 11:14
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
Default

I think (hope) that yoplait is saying that there are worse control panels that cost more.

In my experience, that is true!

IPSConfig is an excellent control panel and its free!
...and what is better, if it doesn't do something the way I want it to do it, I can change it myself.

What could be better?
Reply With Quote
The Following 2 Users Say Thank You to mike_p For This Useful Post:
falko (30th April 2010), till (30th April 2010)
  #8  
Old 30th April 2010, 21:52
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 143
Thanks: 48
Thanked 13 Times in 10 Posts
Default

Sorry for my english if it's not the good sentence, but mike_p has well understood what I wanted to say .
(maybe it's just a french free sentence ? ... I was thinking about "There's better, but it's less expensive....")


Free is beautiful, Ispconfig too !
Reply With Quote
  #9  
Old 1st May 2010, 04:10
GoremanX GoremanX is offline
Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
This depends on the PHP type that you selected. Not all options are possible for all php settings. suPHP_ConfigPath is an option that is only working when you select suphp. It does not work when you use mod_php or php as fastcgi.
Well obviously suPHP_ConfigPath only works for suPHP. I haven't quite reached that level of dumbness yet. But right now, for me, it's not working. Also, I clearly stated in my OP that I was using suPHP.

Also, I referred to the field directly above the "Apache Directives" text area which is labeled "PHP open_basedir" and contains a bunch of directories which all point to the web root. Why doesn't this field actually do anything? phpinfo() still shows open_basedir as "none". Nothing is working for enabling open_basedir.



Quote:
Originally Posted by till View Post
So your compliant here is that poeple do not work fast enough in their free time for you? How many hours do you work for free for others every day? If you need faster support, you can order paid support.
Nope, not at all. That's not my complaint in the least, my apologies if I expressed myself poorly. My complaint is that the documentation for ISPConfig 3 is almost non-existent. What little documentation there is is terrible. ISPConfig 3 is so different from ISPConfig 2 that using the latter's documentation with the former is impossible. When something doesn't work as intended or expected, there's nowhere to turn for help except this forum, and apparently the only people who actively participate are the main developers. This is in stark contrast to other forums like Joomla, phpBB and others, where help can be found readily from countless contributing members who aren't necessarily developers. I would love nothing more than learn ISPConfig 3 properly and then contribute on this forum, but learning it is a very aggravating task so far.

Quote:
Originally Posted by till View Post
By the way, there are ten thousands of servers systems running ISPCOnfig without problems, so if you have problems with your installation, then this does not mean that there are any problems with ISPCOnfig in general.
There are billions of smokers in the world. Millions of people choose to bite their nails. Countless people think the iPad is the best thing since sliced bread. Your argument is meaningless.

Your software is not a perfect nirvana. Like all such software, it currently has bugs and is missing some key things. If it were perfect, it would never need updates and it wouldn't currently be at version 3.0.2.1.

For example, what the heck are these two fields supposed to be? They're not even labeled!!!



Sure, eventually I figured out they were the UID and GID because it's essentially the same field layout as on the FTP User screen, but this is just another example of small things that generate confusion. Another thing that needs work: there's no option (that I found) to auto-create the DNS zone when creating a new site. This was an excellent feature in ISPConfig 2 that I can't find in ISPConfig 3 anymore.

Please don't sit there and pretend that "there aren't any problems with ISPCOnfig in general".

Quote:
Originally Posted by till View Post
See ispconfig.org > support. To contact us for paid support, send an email to support [at] projektfarm [dor] de
I don't know anymore... is paid support as bad as this? Where all my concerns get thrown back in my face and blamed on me? I already get that for free, I don't need to pay for it.
Reply With Quote
  #10  
Old 1st May 2010, 08:42
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
 
Default

The big problem matey is that your approach has been very rude and you tried to 'blame' ISPConfig for problems in the software that it controls.

For example there is no way that ISPConfig shoudl be held repsonsible for the 'deprecated #' warnings from PHP. That warning did not exist before version 5.3. Do you think ISPConfig should be repsonsible for replacing those comments in all the ini files that come with the other software packages?

And all your problems with localised PHP.ini: they're not down to ISPConfig yet you're having a rant about ISPCOnfig when you can't get it to work. Go to the PHP forums and have a hissy fit there instead.

If you set out to blame people, it's always going to come back in your face.

Troubleshooting at a distance requires a very careful analysis of what is going wrong: you then have to rule out any simple obvious causes. When offering support (whether free or paid) the last thing you need is having the person you're trying to help throw his toys out of his pram when you go through these steps.

You must know the famous story of the Wordperfect support line...

Last edited by mike_p; 1st May 2010 at 08:51.
Reply With Quote
The Following User Says Thank You to mike_p For This Useful Post:
till (1st May 2010)
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
Provide a path for custom php.ini with php-fcgi oncletom Feature Requests 1 11th May 2009 13:21
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Can't start apache Musty Server Operation 12 9th March 2008 13:58
DNS manager faults when having custom directives martinfst Developers' Forum 2 27th January 2007 14:08
Custom directives automatically added to ftpd virtual hosts whitty Feature Requests 2 16th May 2006 23:15


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


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