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 2nd April 2009, 23:09
andypl andypl is offline
Member
 
Join Date: Mar 2006
Location: Radom, Poland
Posts: 93
Thanks: 1
Thanked 1 Time in 1 Post
Default MySQL connect php-fcgi

Next problem in last release ISPConfig.
Problem is in connection to MySQL when websites have enabled php-fcgi.
When the website have enabled mod-php can normally connect to MySQL.

This is on error.log
[Thu Apr 02 22:49:58 2009] [error] [client xx.xx.xx.xx] client denied by server configuration: /var/www/php-fcgi-scripts/
[Thu Apr 02 22:49:58 2009] [error] [client xx.xx.xx.xx] client denied by server configuration: /var/www/clients/
This is config apache virtual host:

<VirtualHost xx.xx.xx.xx:80>

ServerName domain.ltd
ServerAdmin webmaster@domain.ltd
DocumentRoot /var/www/domain.ltd/web

ErrorLog /var/log/ispconfig/httpd/domain.ltd/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/domain.ltd>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<Directory /var/www/domain.ltd/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web1/web>
Options FollowSymLinks
AllowOverride Indexes AuthConfig Limit
Order allow,deny
Allow from all
</Directory>

# php as fast-cgi enabled
<Directory /var/www/domain.ltd/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

Last edited by andypl; 2nd April 2009 at 23:13.
Reply With Quote
Sponsored Links
  #2  
Old 2nd April 2009, 23:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
Default

Which exact URL did you enter in the webbrowser to connect to the site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd April 2009, 23:51
andypl andypl is offline
Member
 
Join Date: Mar 2006
Location: Radom, Poland
Posts: 93
Thanks: 1
Thanked 1 Time in 1 Post
Default

Ok the problem with phpmyadmin fcgi is logging in with HTTP think of as set by the authorization cookie should be ok.
Reply With Quote
  #4  
Old 3rd April 2009, 09:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
 
Default

Ok, you did not mention that you tried to access phpmyadmin, thats something completely different then that mysql is not working or can not be accessed! You can not access the phpmyadmin from the linux distribution when you use fastcgi as the linux distribution installs phpmyadmin in the wrong directory. The solution is to create a website in ispconfig and then install your own instance of phpmyadmin into it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
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
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 16:04.


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