Re: MySQL problems on FBSD 5.2.1

2004-11-19 Thread Zeroke
Don't know if the ports automaticly compile PHP with MySQL support.
Maybe install PHP from source with the --with-mysql parameter?
(Since version 5 of PHP it does not include MySQL support from its own.)
Good luck,
Zeroke
[EMAIL PROTECTED]
- Original Message - 
From: steveb99 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:39 PM
Subject: MySQL problems on FBSD 5.2.1


I installed mod_PHP which installed Apache 2 from ports.   All that works 
fine.  I then install MySQL4 port and have it working fine standalone. 
What I can't get to work is calling MySQL from PHP code.   The code hits 
the call to MySQL functions and does nothing, just stops at that line and 
the web server puts up a blank screen.   I have looked at http error logs 
and nothing.  I have put debug statements in the PHP code and it does 
execute up to the first  MySQL line trying to connect.

 $db = MySQL_pconnect('localhost', 'mysqlacct', 'mysqlpw');
What am I missing.   I have been reading articles on the internet and 
everything is talking about old versions or doing it from source not 
ports.  I assume this can be done from ports?   From reading I get the 
feeling I installed in the wrong order, or there is more configuration I 
am missings.
Can someone help point me to what I am missing here.

Thanks,
Steve B.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sysctl: unknown oid 'kern.ps_argsopen'

2004-11-17 Thread Zeroke
Dear users,
I recently upgraded my FreeBSD 4.10 tot FreeBSD 5.3.
But I have a problem with one sysctl, with other words, I can't find the 
5.3 one for it.

sysctl: unknown oid 'kern.ps_argsopen'
Can someone help?
Thanks and kind regards,
Zeroke
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]