Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_fcgid, mysql not working ? |
|
Author |
|
CanUuRead
Joined: 18 Sep 2006 Posts: 38
|
Posted: Sun 08 Oct '06 10:13 Post subject: |
|
|
Steffen,
I see that you are using phpBB, which means you are most likely using MySQL. When trying to connect to a MySQL DB using PHP-FCGI, I continously receive:
Can't create TCP/IP socket (10106)
When I revert back to plain PHP-CGI mode it connects without any problems.
Since you are using this setup (as described above) - I thought you might have some ideas?
Running:
Apache 2.2.3 (from ApacheLounge)
PHP 5.1.6 (from PHP.NET)
MySQL 5.0.24a (with PHP MySQLI extension latest from MySQL AB)
Apache Config for FCGI and PHP:
Code: | LoadModule fcgid_module modules/mod_fcgid.so |
Code: | ScriptAlias /php/ "c:/phpfolder/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/phpfolder/php-cgi.exe" |
Code: | <Directory "c:/phpfolder">
SetHandler fcgid-script
Options +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
FCGIWrapper "c:/phpfolder/php.exe" .php
</Directory>
|
|
|
Back to top |
|
CanUuRead
Joined: 18 Sep 2006 Posts: 38
|
Posted: Mon 09 Oct '06 2:27 Post subject: |
|
|
Steffen, you said in another post:
Quote: | Always nice to know what you did to get it working ? |
Well, I'm asking the same of you, with regards to my previous post. |
|
Back to top |
|
CanUuRead
Joined: 18 Sep 2006 Posts: 38
|
Posted: Mon 09 Oct '06 22:15 Post subject: |
|
|
Steffen,
I have read just about everything there is to read. The Documentation that you alluded to is somewhat vague. It shows how to setup for PHP, but as I have stated it works with PHP as long as I do not try to connect to a MySQL database - specifically via the PHP mysqli_connect. You say you are using the Apache 2.2.x, PHP/FCGI, MySQL (supposition since you are using phpBB) setup here at Apache Lounge. Can you throw me a bone?
What's the big secret? |
|
Back to top |
|
|
|
|
|
|