Page 1 of 2
Starting from scratch
Posted: Wed Dec 26, 2007 10:16 pm
by QuickSnail
Ok.. i have tryed tuts.. I just can't seem to get everything right or everything i need..
Heres what i have..
Apache 2.0 running.
Php 5
I need... A Nice and easy phpbb3 Forum.
I've downloaded Mysql 5.0 and 4.1 and both are ..supposley running..
But when i go to install the forum it doesn't find any mysql.
What else do i do? am i missing something?
Do i have to add an ext line like with php in the apache conf file? if so what do i add?
Do i add something to the php.ini?
I'm Starting from scratch pretty much so i need to know EVERYTHING to do. ... EVERYTHING.
Posted: Thu Dec 27, 2007 1:00 am
by Christopher
You need to compile MySQL support into PHP. You need MySQL installed to do that. Now that you have that (I would recommend removing MySQL4), recompile PHP using the "--with-mysql=/path/to/mysql" directive.
Posted: Thu Dec 27, 2007 11:22 am
by QuickSnail
Where would i add that?
Posted: Thu Dec 27, 2007 6:16 pm
by alex.w474
Which operation system do you use?
It you prefer to install manually, you can use the instruction
http://www.witsuite.com/support/knowled ... ll-php.php.
If you want to save your time, use XAMPP software bundle or WITSuite EasyInstaller (WITSuite installation video:
http://www.witsuite.com/products/installer/). It is most simple way to install Apache, PHP, MySQL on Windows.
Posted: Thu Dec 27, 2007 6:31 pm
by Ambush Commander
Since PHP 5, the mysql extension was unbundled from PHP, so you need to include with php.ini like this:
As far as I can remember, you may need to download the
PECL binaries to get php_mysql.dll.
Posted: Thu Dec 27, 2007 11:09 pm
by QuickSnail
Ok i have added the
To php.ini and php_mysql.dll is in the php folder.
Now what do i do?
alex.w474 Thanks for the help but i really don't want to have to spend money for something that is free if you know how to set it up.
Posted: Thu Dec 27, 2007 11:10 pm
by Ambush Commander
Try installing the forum. If you are using PHP as an Apache module, you'll need to reboot Apache, but otherwise it should work/give a big fat error message saying dynamic library could not be loaded,
Posted: Thu Dec 27, 2007 11:18 pm
by QuickSnail
It comes out as mysql Unavailable
Code: Select all
Firebird: Unavailable
MySQL with MySQLi Extension: Unavailable
MySQL: Unavailable
MSSQL Server 2000+: Unavailable
MSSQL Server 2000+ via ODBC: Available
Oracle: Unavailable
PostgreSQL 7.x/8.x: Unavailable
SQLite: Unavailable
Posted: Thu Dec 27, 2007 11:19 pm
by Ambush Commander
Have you rebooted Apache? Checked Apache's error logs?
Posted: Thu Dec 27, 2007 11:23 pm
by QuickSnail
I have rebooted apache
I don't see anything in the error log from todays date.
Posted: Thu Dec 27, 2007 11:25 pm
by Ambush Commander
Wait, I am assuming Windows. Are you on Windows or Unix?
Posted: Thu Dec 27, 2007 11:27 pm
by QuickSnail
windows xp
Posted: Fri Dec 28, 2007 12:38 am
by ianhull
Just noticed you mentioned that you said
php_mysql.dll is in the php directory,
it needs to be in the C:/php/ext directory.
Posted: Fri Dec 28, 2007 3:28 am
by s.dot
You have to move libmysql (or something similar) to the extension folder, too. Thought I should note that. What is your extensions path? Make sure that the loaded extensions are a) uncommented from the php.ini file and b) in the proper extension directory and c) you are rebooting apache after you make changes (make sure you save the changes, too!)
Posted: Fri Dec 28, 2007 11:16 am
by QuickSnail
My bad hit the submit button twice. (look on next page)