|
||||||
| Database & Database Programming MySQL, Oracle, SQL, PL/SQL, ABAP, Smart Forms, and other databases and languages. A database is an organized body of related information used in many websites (including CC). |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
I normally use apt-get commands to install php, php-mysql, mysql-client, mysql-server. Apt-get does the rest of the configuration.
It sounds like you did a manual compile, but version 8.10 doesn't exist, are you using 8.04 or 7.10? If you compiled manually, you need to go into the php.ini and enable the php-mysql extension. If you didn't install the module files, you are going to have to recompile php with mysql support. I trust that mysql works correctly out of the box as I have never had to configure it, even after a build compile. |
|
|||||
|
Quote:
I installed it just like you said, and also tried it with the SPM, neither provided the php.ini file where it should be, I did however manage to restore that, but not the MySQL support. Heh, I VNC'd to my pc from work and copied the php.ini to php.txt in the public_html folder, lol. http://68.165.192.156/php.txt |
|
|||||
|
Mysql is enabled in php from that txt file.
Apt get makes most everything easier and does the configuration for you, so you don't have to think lol. Why not attempt uninstalling it? I'm sure there must be a way to uninstall it. If not, just try installing it from apt-get, I'm sure the server will fix the conf files to point to the apt-get install version. If you aren't that far into configuring the server, perhaps starting over is the best way. To install apache, I believe its apt-get install httpd or apache2. In centos, I know that will also enable service restart httpd (a command I frequently use lol). Hope this helps! |
|
|||||
|
Thats strange. Must be since you already compiled it, apt-get won't let you uninstall it.
Try apt-get remove php etc. See if its already installed. Feel free to contact me when I get on IM later tonight (I'm kind of on the road atm), maybe I can help you then ![]() |
|
|||||
|
I have removed MySQL and PHP multiple times, and each time I do a complete install, it wont install the php.ini file. which puts me back to step 1.
I didnt even know php would work without php.ini. lol php.ini is fixed tho, its about getting php to work with MySQL |
|
|||||
|
As mentioned last month (when you first started setting up a LAMP), why not compile it from source?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Storing Images in MySQL with PHP | Jordan | PHP Tutorials | 13 | 09-23-2008 07:11 PM |
| MYSQL CheatSheet - A must for MySQL Users | reachpradeep | Database & Database Programming | 1 | 03-03-2007 04:05 PM |
| MySQL Resources | dirkfirst | Database & Database Programming | 1 | 05-25-2006 03:31 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%