Reply to A webserver (PHP 5) with a few database server (MySQL)

Your name:

Reply:


Posted by ₯|₯J on 10/25/04 11:53

Dear all,

Please help~~

I have a problem in connecting my new FC5 webserver (apache 2.2 + php 5.1.4)
to a few database servers through the PHP scripts (RH9, FC2, FC3). I have
set host privileges correctly for the database servers. It seems that after
I migrated the php files (originally in each database server) to the
centralised FC5 webserver, it failed to work. Is it because of the PHP5 is
compiled with MySQL version 4 +? Since those RH9 / FC2 and FC3 are equipped
with only MySQL 3.2x.

What I have done:

1. Rebuild the Apache 2.2.0, PHP 5.1.4 with mysql support (both mysqli &&
mysql) on FC5 webserver
2. Host privileges in each of the database servers.
3. Firewall rules for port 3306 on each server.

What is successful:
1. The FC5 webserver is able to connect to its own MySQL server (version
4.x)

What is failed:
1. There wasn't any error message from PHP 5 (display through the browser),
until I pop into console and type at the prompt let say "php index.php",
then all the error message was displayed through the console.


Many thanks
M.

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация