bruceleung2000
IS-IT--Management
Hello,
I have 2 problems which I still cannot solve after reading the documentation in this site :
1) Originally, I wrote a test program (php) to call mysql_connect(). I found a suggestion from PHP documentation from and change it to mysql_real_connect().
I still get the error message :
*** Fatal error: Call to undefined function: mysql_real_connect() in /var/ on line 37 ***
I am stuck now and don't know how to carry on, please help !!!
2) When I tried to install phpBB2 by and fill in all questons, I got the error msg even I try ALL the database types from mysql 3,4 and MS access from the list of install.php :
*** An error has occurred during installation
The PHP configuration on your server doesn't support the database type that you chose ***
3) However, when I recompile PHP with :
./configure --with-apxs2 , --with-mysql and --enable-track-vars OPTIONS
then make, and make install successfully.
I still got the same errors, could you tell whether I missed my steps or options for installation of PHP ???
Regards,
BL
I have 2 problems which I still cannot solve after reading the documentation in this site :
1) Originally, I wrote a test program (php) to call mysql_connect(). I found a suggestion from PHP documentation from and change it to mysql_real_connect().
I still get the error message :
*** Fatal error: Call to undefined function: mysql_real_connect() in /var/ on line 37 ***
I am stuck now and don't know how to carry on, please help !!!
2) When I tried to install phpBB2 by and fill in all questons, I got the error msg even I try ALL the database types from mysql 3,4 and MS access from the list of install.php :
*** An error has occurred during installation
The PHP configuration on your server doesn't support the database type that you chose ***
3) However, when I recompile PHP with :
./configure --with-apxs2 , --with-mysql and --enable-track-vars OPTIONS
then make, and make install successfully.
I still got the same errors, could you tell whether I missed my steps or options for installation of PHP ???
Regards,
BL