The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 php, apache integrate with mysql
Author: Peter Kok 
Date:   14-06-00 12:23

Hello all

I have problem of php, apache with mysql

I couldn't connect the mysql by php in apache from freebsd.
I used /stand/sysinstall to install apache + php and mysql
and php and mysql test working respectively
but couldn't work together

tks your help

best regards
Peter



Reply To This Message
 
 RE: php, apache integrate with mysql
Author: anonymous coward 
Date:   14-06-00 13:57

make sure php is configured --with-mysql
otherwise you get 'call to unsupported function'

Reply To This Message
 
 RE: php, apache integrate with mysql
Author: Dan Langille 
Date:   14-06-00 21:26

If you don't get it running, I suggest deinstalling php, then use the mod_php3 port.

And for the record, using ports is far more likely to avoid problems like this, especially with ports that interact with each other. /stand/sysinstall will install packages, which are binaries. With a port, you get the chance to set configuration options. With ports, you don't.

Reply To This Message
 
 RE: php, apache integrate with mysql
Author: Peter 
Date:   21-06-00 11:51

many tks for your reply.
but how do I do it

just add the sentences 'configured --with-mysql' on the rc.conf or httpd.conf???

tks for your help

best regards
Peter

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org