#33827 [NEW]: Problem of connecting apche,php and mysql together.
| From: | jirilmongeorge at rediffmail dot com | Date: | Fri, 22 Jul 2005 17:30:11 +0000 |
| Subject: | #33827 [NEW]: Problem of connecting apche,php and mysql together. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82334@lists.php.net to get a copy of this message | ||
From: jirilmongeorge at rediffmail dot com
Operating system: windows-xp
PHP version: 5.0.3
PHP Bug Type: *Web Server problem
Bug description: Problem of connecting apche,php and mysql together.
Description:
------------
Sir, I am a beginner in PHP. I am using windows-xp. I can easily connect
PHP with APACHE WEB SERVER-2.0 and PHP with MYSQL-4.1 independently. But
when I tried to connect these three things each other, then a problem
arised. I will explain the problem. I started apache webserver2.0 and then
I pass the values of an html form to a php file which is residing in the
htdocs directory of the webserver. In the php file, I have wrote the code
to store the form values in to a mysql table.
The action attribute of that html form is set to the name of the php file
mentioned above. The problem is that, when i submit this html form, it call
the php file and then an ERROR named: "UNKNOWN COMMAND MYSQL_CONNECT" is
displayed. Is it necessary to include any addtional files in the php file?
Please help me.
--
Edit bug report at http://bugs.php.net/?id=33827&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33827&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33827&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33827&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33827&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33827&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33827&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33827&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33827&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33827&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33827&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33827&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33827&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33827&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33827&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33827&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33827&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33827&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33827&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33827&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33827&r=mysqlcfg