Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql and apache

Status
Not open for further replies.
Apr 16, 2002
65
US
apache is up and running great alone with php.
having trouble connecting to mysql through php.

i believe i don't have the module loaded correctly in apache.

i've done:

<?php
phpinfo();
?>

and it states --without-mysql

any info on reconfiguring and any direction would be appreciated. I have read through many articles, but am still coming up empty.

Thanks
 
I'm not familiar with PHP or MySQL, but I do know Apache. To see a list of the compiled modules in Apache, run httpd -l. For example...

/usr/local/apache/bin/httpd -l

ChrisP If someone resolves an issue for you, or was helpful, please click the link on the bottom left hand corner of their post to give them a &quot;star&quot; letting them know you helped them.
 
That has little to nothing to do with Apache. Your PHP module obviously wasn't configured with MySQL, so you would have to reconfigure it with the --with-mysql=/path/to/mysql option. Then you would, of course, have to make and make install again. //Daniel
 
Yes, that is where I believe I went wrong, I typed all those options in, but it must have gone wrong.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top