Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st July 2006, 15:02
lipp9000 lipp9000 is offline
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy PHP & MySQL working, but AREN'T WORKING????

I have MySQL installed and successfully working on ISPconfig, I also have phhmyadmin installed and i can access my databases and add tables and such so thats no problems.

PHP is enabled on a particular domain which has phpBB on it, that i wish to setup. When I'm filling in the install page i set these things:
Database type: MySQL 4.x/5.x
method: install
database server: my server ip
dbname: dbname (works in phpmyadmin)
db user: db user (works in phpmyadmin)
db pass: db pass (works in phpmyadmin)
and then my admin username and password

Then when I click install i get an error:
"The PHP configuration on your server doesn't support the database type that you chose"

Now...is there an extra thing you need to do to configure php with mysql? or should it be set automatically, keep in mind i followed the installation guide on the howtoforge fedoracore 5 page.

Why isnt php configured for mysql on that domain, ispconfig uses mysql and that works fine i can go to that.

Also i get an error in dreamweaver when im trying to connect to mysql, when i click test i get an error "HTTP Error code 405. Method not allowed". It's as if MySQL isnt there at all!!!

Any suggestions?? thanks very much in advance
Reply With Quote
Sponsored Links
  #2  
Old 21st July 2006, 15:05
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

Try "database server: localhost"
Reply With Quote
  #3  
Old 21st July 2006, 15:31
lipp9000 lipp9000 is offline
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nah that won't work because im trying to install it from a remote machine. But i'll try it on the linux box and see wot happens...

Nup, even on the linux box i get "The PHP configuration on your server doesn't support the database type that you chose"

Last edited by lipp9000; 21st July 2006 at 15:33.
Reply With Quote
  #4  
Old 21st July 2006, 15:42
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

"localhost" as a server name works when the web page is on the same machine the mysql is. It doesnt matter if you are installing from New Zealand over a Iexplorer, because the php code runs on your server.

As i said, check your install steps, you miss something with php and its modules. Maybe you dont install the mysql modules.
Reply With Quote
  #5  
Old 21st July 2006, 17:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Please try waht fobicodam suggested, additionally some infos as you seem to meix something up.

Zhe IPCOnfig controlpanel uses its own PHP for the backend, if the backend works this does not mean that you installed PHP with mysql enabled for your websites.

Make sure that you have the php4-mysql or php5-mysql package from your linux distribution installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 domains, 1 site wadims Installation/Configuration 13 31st May 2006 00:21
how to make php to work with mysql (php installed with apt-get, (no mysql support) grafik Installation/Configuration 3 15th May 2006 23:18
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 21:27
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 21:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.