Since you seem to want to handle the errors yourself, you may try using the
@ operator on the mysql functions.
It'll silence any errors or warning that the functions might usually
generate; but, of course, you'll be left to test for errors yourself.
$link =
Thanks for your input, Jon. Few more observations...
Yes, I have PHP+Apache+MySQL installed for private use. I am just
trying to connect to the database successfully first and will create
other users when I make a successful connection. I made the changes as
below and still cannot connect to the
Manysh -- maybe you missed the MySQL extension installation?
2nd or 3rd screen in the setup process there is a list of extensions -- none
of them are installed by default.
Your manual method of creating the 'ext' directory is a step in the right
direction, but you probably have a missing
Sorry. I can't really help you with server and PHP installation and
configuration issues.
I use XAMPP w/ a separate installation of MySQL.
http://www.apachefriends.org/en/xampp.html
But, find the following in your php.ini:
extension_dir=...
extension=php_mysql.dll
You may already have an ext/
Matt - you're right! I did the manual install and its partially
working now. I say partially because it works fine when I run it from
the command window however when I run it from the web browser I get a
blank page. I restarted Apache but that didn't help. The script is
pasted below. Am I missing
httpd.conf should have something like this:
PHPIniDir C:/Program Files/PHP/
LoadModule php5_module C:/Program Files/PHP/php5apache2.dll
AddType application/x-httpd-php .php
... but all that should have been taken care of by the PHP installer.
-- matt
On Sat, Mar 8, 2008 at 9:16 PM, Manysh
Awesome... that worked! The PHPIniDir was pointing to my earlier
installation. Thanks Matt and Jon! Your help is much appreciated.
Jon, thanks for sending the script.
Manysh
On Sat, Mar 8, 2008 at 9:57 PM, Matt Anderton [EMAIL PROTECTED] wrote:
httpd.conf should have something like this: