Computing.Net > Forums > Web Development > Php/mySql/Phorum problems

Php/mySql/Phorum problems

Reply to Message Icon

Original Message
Name: spaz
Date: September 26, 2004 at 23:12:40 Pacific
Subject: Php/mySql/Phorum problems
OS: Win 2000
CPU/Ram: 733 mhz/128
Comment:

Here's my situation. I'm trying to run a php based web forum I'm using Apache HTTP server 2.0.51 with php 5.0.1 installed as a module and MYSQL 4.1.5 gamma release. I'm releativly new to the php and the newesr release of mysql. I managed to get the php installed correctly and it works just fine. but as far as my sql I have no clue how to correctly make a database and then set up the installer in Invision Power Board 2.0.0 Final. I tried using the test database with the default passworld with mysql but each time it simply dosn't take and it says it can't access the database. If somebody could walk me through the correct steps that would be great. Thanks in advance

-Bruno


Report Offensive Message For Removal


Response Number 1
Name: spaz
Date: September 26, 2004 at 23:22:54 Pacific
Reply: (edit)

Just to be more clear with my problem the installer returns this error when i type all the info in the installer Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\2p0p0\upload\ips_kernel\class_db_mysql.php on line 112

Hopefully it'll help someone out. thanx


Report Offensive Follow Up For Removal

Response Number 2
Name: Laler
Date: September 27, 2004 at 04:13:53 Pacific
Reply: (edit)

your php don't have the mysql module, thus it wont recognize any mysql related functions -> mysql_connect()

http://www.php.net/downloads.php

if you ask me, then I suggest you download the

PHP 4.3.9 installer [1,045Kb] - 22 Sep 2004

one...

^o^
are you in Asia? do you watch Animax Asia? Please Vote


Report Offensive Follow Up For Removal

Response Number 3
Name: spaz
Date: September 27, 2004 at 06:54:18 Pacific
Reply: (edit)

Alright, that makes sense. but how do i install the mysql module?


Report Offensive Follow Up For Removal

Response Number 4
Name: Khalid
Date: September 27, 2004 at 12:58:04 Pacific
Reply: (edit)

Like Laler said; mysql isnt shipped with the installer php5.01. You can either install the version of php Laler suggested, or you can take a look here:
faq php5.02 no mysql (question 2)

good luck


Report Offensive Follow Up For Removal

Response Number 5
Name: safeTsurfa
Date: September 27, 2004 at 16:51:46 Pacific
Reply: (edit)

You should also be aware that not all message board systems work well with php5 as it is still too new. I can't speak for Invision, but phpBB would have problems and is unsupported by the developers if the user has php5.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Php/mySql/Phorum problems

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge