logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



help me about php mysql and apache

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
zerocool



Joined: 08 Jan 2007
Posts: 6

PostPosted: Tue 09 Jan '07 8:43    Post subject: help me about php mysql and apache Reply with quote

hello every body
i have installed php mysql and apache on my machine php and apache are working fine but cannot connect to mysql it do all the step in the following link for installing php apache and mysql

http://www.ricocheting.com/server/

got this error
Fatal error: Call to undefined function mysql_connect()

help me plz
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Tue 09 Jan '07 10:33    Post subject: Reply with quote

Download the mysql test and check out if php_mysql.dll is loaded in php.ini
Back to top
zerocool



Joined: 08 Jan 2007
Posts: 6

PostPosted: Tue 09 Jan '07 15:43    Post subject: php mysql apache Reply with quote

u send me the good example it working good with cli but not working in web pages. it give me error extention not installed

php MySQL extension not loaded

but it working good with cli plz help me little bit what's the problem.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Tue 09 Jan '07 16:13    Post subject: Reply with quote

run a simple script

<?php
phpinfo();
?>

There is shown where your php.ini is located. maybe you have to set that in httpd.conf

Please the the php section of this tutorial for that

http://www.apachelounge.com/viewtopic.php?t=570
Back to top
zerocool



Joined: 08 Jan 2007
Posts: 6

PostPosted: Tue 09 Jan '07 21:25    Post subject: here is my php.ini file linke Reply with quote

hello
here im sending the my php.ini file link which i uploaded plz check and tell me what the problem here is....

http://zerocard.siteburg.com/info.php.htm

# configure the path to php.ini
PHPIniDir "c:/php5"

in above line configure path to php.ini file but we put php.ini file in windows folder can we set the path of

PHPIniDir "c:/windows"

to or not
Back to top
zerocool



Joined: 08 Jan 2007
Posts: 6

PostPosted: Wed 10 Jan '07 7:38    Post subject: really works Reply with quote

its really work i set the PHPIniDir to the windows thanx for helping

# configure the path to php.ini
PHPIniDir "c:/php5"

i set the
PHPIniDir "c:/windows"

now mysql php and apache working good
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1