Re: [PHP-INST] php cgi install

2001-01-11 Thread Nat Sakimura
Try inserting the following statements after each and every mysql functions and see what is going on. echo mysql_errno().": ".mysql_error().""; Then, you should get a better indication of what is actually going. I suspect that mysql_connect is already failing to start with. Regards, Nat -

[PHP-INST] PHP options in .htaccess not read?

2001-01-20 Thread Nat Sakimura
Hi. I installed PHP4.0.4pl1 on Apache. I want to prepend a file to every page so I put php_value auto_prepend_file default-header-php in .htaccess file. This does not seem to work. Writing equivalent into php.ini works. Do you have any idea? All responses are very much appreciated.

[PHP-INST] MySQL Connection Failed: Can't initialize character set 13. Why?

2001-01-26 Thread Nat Sakimura
Hi! I get a strange error as follows: MySQL Connection Failed: Can't initialize character set 13 (path: default) in /home/httpd/clubaa/testdb.php on line 2 testdb.php has only one line of code: mysql_connect('localhost','username','passwd'); What is wrong with this? Thanks in advance. Nat