Home Forums Gamescan Chat42 About
* Login   * Register * FAQ    * Search
It is currently Thu 06-26-2025 2:26AM

All times are UTC - 6 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Apache + PHP + mySQL
PostPosted: Tue 04-18-2006 11:23PM 
Offline
Major General
User avatar

Joined: Mon 08-08-2005 5:09PM
Posts: 2338
Location: STL

Source: TJ North
Ok so I've done the usual webserver install, but for some reason PHP cant access the SQL installation. I've set the proper info in php.ini under the mySQL section, yet I keep getting the error "The PHP configuration on your server doesn't support the database type that you chose" I've been up and down google and was wondering if anyone else has had the same problem.

_________________
"This is not my sig", it said. - I looked at it suspiciously; Who's sig was it, then?


Top
 Profile E-mail  
    
 Post subject:
PostPosted: Wed 04-19-2006 1:02AM 
Offline
Major
User avatar

Joined: Mon 09-09-2002 5:37PM
Posts: 474

Source: Fidelity
Which versions of the software are you using, did you compile them, and if you did what parameters did you give for configuring?


Top
 Profile  
    
 Post subject:
PostPosted: Wed 04-19-2006 11:22AM 
Offline
Major General
User avatar

Joined: Mon 08-08-2005 5:09PM
Posts: 2338
Location: STL

Source: MST Wireless
Apache v2.0.55
PHP v5.1.2
mySQL v5.0.19

All are running under WinXP so no compiling. I did a default install except for configuring Apache to work with PHP

_________________
"This is not my sig", it said. - I looked at it suspiciously; Who's sig was it, then?


Top
 Profile E-mail  
    
 Post subject:
PostPosted: Wed 04-19-2006 2:17PM 
Offline
Colonel
User avatar

Joined: Sun 08-18-2002 10:33AM
Posts: 751
Location: Kansas City, KS

Source: MST Wireless
WAMP?

_________________
It is by caffeine alone I set my mind in motion.
It is by the beans of Java the thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.


Top
 Profile E-mail  
    
 Post subject:
PostPosted: Wed 04-19-2006 3:06PM 
Offline
Brigadier General

Joined: Tue 01-22-2002 12:35PM
Posts: 1057
Location: Shawnee Mission, KS

Source: Off Campus
There's a module (from PHP, I think) that you have have to install to let PHP know about the MySQL installation. Then you have to go hack php.ini to tell PHP about that module. I think I ran into problems similar to yours last summer when I tried the same thing (WAMP). As I recall, php.ini is really sensitive about things like trailing slashes after directories, and spaces in directory names and crap like that.

Search php's site for the MySQL/PHP "driver". If that doesn't work try searching MySQL's site for a PHP driver.


Top
 Profile E-mail  
    
 Post subject:
PostPosted: Thu 04-20-2006 6:24PM 
Offline
Brigadier General
User avatar

Joined: Sun 08-24-2003 3:47PM
Posts: 1049
Location: Behind YOU!

Source: Kelly Hall
I don't remember the file name exactly, but there is a file that PHP stopped shipping after version 3. Just snag the missing file. I know it worked for php4. Can't say anything about 5.

_________________
"Why is it that we must always choose between certain death and probable death?" ~ Clank, Ratchet and Clank Future: Tools of Destruction


Top
 Profile  
    
 Post subject:
PostPosted: Fri 04-21-2006 10:04AM 
Offline
Major
User avatar

Joined: Mon 09-09-2002 5:37PM
Posts: 474

Source: Fidelity
If you are just doing windows you can try: http://www.apachefriends.org/en/xampp.html

Easy install, it's all there. It comes with some crap you don't need, but yeah... if you just want to play around it works.


Top
 Profile  
    
 Post subject:
PostPosted: Tue 05-16-2006 11:13PM 
Offline
Colonel
User avatar

Joined: Sun 03-31-2002 10:08PM
Posts: 707
Location: Over your shoulder

Source: Off Campus
zkissane wrote:
There's a module (from PHP, I think) that you have have to install to let PHP know about the MySQL installation. Then you have to go hack php.ini to tell PHP about that module. I think I ran into problems similar to yours last summer when I tried the same thing (WAMP). As I recall, php.ini is really sensitive about things like trailing slashes after directories, and spaces in directory names and crap like that.

Search php's site for the MySQL/PHP "driver". If that doesn't work try searching MySQL's site for a PHP driver.

you are 100% correct. The module to add is all in the installation instructions included with the zipped form of PHP5. They even state that it is a good idea to install PHP this way instead of the msi.

_________________
Phil the Lame goat is a stupid fucking 'tard

c : enter : push push push

If the women don't find you handsome, they should at least find you handy.

I wouldn't be caught dead with a necropheliac... -- Ebay auction


Top
 Profile E-mail  
    
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group