I have a "mysql" section but MYSQL_INCLUDE and MYSQL_LIBS have "no value". I think that's what causing my problem.
Do I need mod_php4 and php4-extensions or php4 and php4-extensions? Alhagie Puye - Network Engineer Datawave Group of Companies (604)295-1817 > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On Behalf Of falz > >Sent: October 20, 2005 5:14 AM > >To: [email protected] > >Subject: Re: [jffnms-users] Jffnms on FreeBSD > > > >Have you created a test php page with the phpinfo(); > >function? It will spit out all info about your php install. > >See if you have a "mysql" > >section. Perhaps it wasn't compiled in? Assuming you used > >ports, did you use lang/php4-extensions to do so? It's the > >easiest way to get the extensions you want (via 'make config') > > > >--falz > > > >On 10/19/05, Alhagie Puye <[EMAIL PROTECTED]> wrote: > >> When I run the "PHP Tester", under the MySQL section, both > >> MYSQL_INCLUDE and MYSQL_LIBS have "no value". Could that > >be causing my problem? > >> > >> How do I fix it? > >> > >> Thanks, > >> > >> Alhagie Puye - Network Engineer > >> Datawave Group of Companies > >> (604)295-1817 > >> > >> > >-----Original Message----- > >> > >From: [EMAIL PROTECTED] > >> > >[mailto:[EMAIL PROTECTED] On Behalf Of > >> > >Alhagie Puye > >> > >Sent: October 19, 2005 9:06 PM > >> > >To: 'Javier Szyszlican' > >> > >Cc: [email protected] > >> > >Subject: RE: [jffnms-users] Jffnms on FreeBSD > >> > > > >> > >This is what I have installed. > >> > > > >> > >bash-2.05b# pkg_info > >> > >adns-1.1 Easy to use, asynchronous-capable DNS > >> > >client library and > >> > >ut > >> > >analog-6.0,1 An extremely fast program for analysing > >> > >WWW logfiles > >> > >apache-1.3.33_2 The extremely popular Apache http > >> > >server. Very fast, > >> > >very > >> > >atk-1.9.1 A GNOME accessibility toolkit (ATK) > >> > >autoconf-2.53_3 Automatically configure source code > >on many Un*x > >> > >platforms > >> > >autoconf-2.59_2 Automatically configure source code > >on many Un*x > >> > >platforms > >> > >automake-1.5_2,1 GNU Standards-compliant Makefile > >generator (1.5) > >> > >bash-2.05b.007_4 The GNU Bourne Again Shell > >> > >bison-1.75_2,1 A parser generator from FSF, (mostly) > >> > >compatible with > >> > >Yacc > >> > >bitstream-vera-1.10_1 Bitstream Vera TrueType font collection > >> > >cgilib-0.5 A library of procedures for developing > >> > >CGI programs in C > >> > >cvsup-without-gui-16.1h_2 General network file > >distribution system > >> > >optimized for CVS > >> > >ethereal-0.10.12 A powerful network analyzer/capture tool > >> > >expat-1.95.8_3 XML 1.0 parser written in C > >> > >ezm3-1.2 Easier, more portable Modula-3 > >> > >distribution for building > >> > >CV > >> > >fontconfig-2.2.3,1 An XML-based font configuration API > >for X Windows > >> > >fping-2.4b2 Quickly ping N hosts w/o flooding > >the network > >> > >freetype2-2.1.10_1 A free and portable TrueType font rendering > >> > >engine > >> > >fwanalog-0.6.4 A firewall log summarizer that uses Analog > >> > >gd-2.0.33_1,1 A graphics library for fast > >creation of images > >> > >gdbm-1.8.3_1 The GNU database manager > >> > >gettext-0.14.5 GNU gettext package > >> > >glib-2.6.6 Some useful routines of C programming > >> > >(current stable > >> > >versi > >> > >gmake-3.80_2 GNU version of 'make' utility > >> > >graphviz-2.2 Graph Visualization Software from AT&T > >> > >and Bell Labs > >> > >gtk-2.6.10_1 Gimp Toolkit for X11 GUI (current > >stable version) > >> > >help2man-1.35.1 Automatically generating simple > >manual pages from > >> > >program o > >> > >hicolor-icon-theme-0.5 A high-color icon theme shell from the > >> > >FreeDesktop project > >> > >imake-6.8.2 Imake and other utilities from X.Org > >> > >intltool-0.34.1 Tools to internationalize various kinds > >> > >of data files > >> > >isc-dhcp3-server-3.0.3 The ISC Dynamic Host > >Configuration Protocol > >> > >server > >> > >jffnms-0.8.1_1 Very advanced network monitoring and > >> > >control system > >> > >jpeg-6b_3 IJG's jpeg compression utilities > >> > >libXft-2.1.7 A client-sided font API for X applications > >> > >libart_lgpl2-2.3.17 Library for high-performance 2D graphics > >> > >libiconv-1.9.2_1 A character set conversion library > >> > >libtool-1.3.5_2 Generic shared library support script (1.3) > >> > >libtool-1.5.20 Generic shared library support script (1.5) > >> > >libxml2-2.6.21 XML parser library for GNOME > >> > >linux_base-7.1_7 The base set of packages needed in > >Linux mode > >> > >m4-1.4.3 GNU m4 > >> > >mysql-client-4.1.14 Multithreaded SQL database (client) > >> > >mysql-server-4.1.14 Multithreaded SQL database (server) > >> > >net-snmp-5.2.1.2 An extendable SNMP implementation > >> > >nmap-3.81 Port scanning utility for large networks > >> > >ntop-3.1_1 Network monitoring tool with > >command line and web > >> > >interface > >> > >p5-Authen-SASL-2.09 Perl5 module for SASL authentication > >> > >p5-Compress-Zlib-1.37 Perl5 interface to zlib > >compression library > >> > >p5-Digest-1.10 Modules that calculate message digests > >> > >p5-Digest-MD5-2.33 Perl5 interface to the MD5 algorithm > >> > >p5-HTML-Parser-3.45 Perl5 module for parsing HTML documents > >> > >p5-HTML-Tagset-3.04 Some useful data table in parsing HTML > >> > >p5-MIME-Base64-3.05 Perl5 module for Base64 and > >Quoted-Printable > >> > >encodings > >> > >p5-Net-1.19,1 Perl5 modules to access and use > >network protocols > >> > >p5-URI-1.35 Perl5 interface to Uniform Resource > >> > >Identifier (URI) > >> > >refere > >> > >p5-XML-Parser-2.34_1 Perl extension interface to James > >Clark's XML > >> > >parser, expat > >> > >p5-gettext-1.03 Message handling functions > >> > >p5-libwww-5.803 Perl5 library for WWW access > >> > >pango-1.8.2 An open-source framework for the layout > >> > >and rendering of > >> > >i1 > >> > >pcre-6.3 Perl Compatible Regular Expressions library > >> > >perl-5.8.5 Practical Extraction and Report Language > >> > >php4-4.4.0 PHP Scripting Language (Apache > >Module and CLI) > >> > >php4-ctype-4.4.0 The ctype shared extension for php > >> > >php4-extensions-1.0 A "meta-port" to install PHP extensions > >> > >php4-gd-4.4.0 The gd shared extension for php > >> > >php4-mysql-4.4.0 The mysql shared extension for php > >> > >php4-overload-4.4.0 The overload shared extension for php > >> > >php4-pcre-4.4.0 The pcre shared extension for php > >> > >php4-posix-4.4.0 The posix shared extension for php > >> > >php4-session-4.4.0 The session shared extension for php > >> > >php4-snmp-4.4.0 The snmp shared extension for php > >> > >php4-sockets-4.4.0 The sockets shared extension for php > >> > >php4-tokenizer-4.4.0 The tokenizer shared extension for php > >> > >php4-xml-4.4.0 The xml shared extension for php > >> > >php4-zlib-4.4.0 The zlib shared extension for php > >> > >pkgconfig-0.17.2 A utility to retrieve information > >about installed > >> > >libraries > >> > >png-1.2.8_2 Library for manipulating PNG images > >> > >portupgrade-20041226_7 FreeBSD ports/packages > >administration and > >> > >management tool s > >> > >python-2.4.1_3 An interpreted object-oriented > >> > >programming language > >> > >rpm2cpio-1.2_2 Convert .rpm files for extraction with > >> > >/usr/bin/cpio, > >> > >needs > >> > >rrdtool-1.2.11 Round Robin Database Tools > >> > >ruby-1.8.2_4 An object-oriented interpreted > >scripting language > >> > >ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision > >> > >1.8x with full > >> > >featu > >> > >shared-mime-info-0.16_1 A MIME type database from the > >FreeDesktop > >> > >project > >> > >t1lib-5.0.1,1 A Type 1 Rasterizer Library for UNIX/X11 > >> > >tcl-8.4.11,1 Tool Command Language > >> > >tiff-3.7.3 Tools and library routines for working > >> > >with TIFF images > >> > >tk-8.4.11,2 Graphical toolkit for TCL > >> > >tmpwatch-2.9.0 A utility for removing files based on > >> > >when they were > >> > >last a > >> > >xorg-clients-6.8.2 X client programs and related files > >from X.Org > >> > >xorg-fonts-encodings-6.8.2 X.Org font encoding files > >> > >xorg-fonts-truetype-6.8.2 X.Org TrueType fonts > >> > >xorg-libraries-6.8.2 X11 libraries and headers from X.Org > >> > >xterm-204 Terminal emulator for the X Window System > >> > > > >> > >Alhagie Puye - Network Engineer > >> > >Datawave Group of Companies > >> > >(604)295-1817 > >> > > > >> > >> >-----Original Message----- > >> > >> >From: [EMAIL PROTECTED] > >> > >> >[mailto:[EMAIL PROTECTED] On > >> > >Behalf Of Javier > >> > >> >Szyszlican > >> > >> >Sent: October 19, 2005 9:03 PM > >> > >> >Cc: [email protected] > >> > >> >Subject: Re: [jffnms-users] Jffnms on FreeBSD > >> > >> > > >> > >> >try adding -h localhost to the mysql command. > >> > >> > > >> > >> >Do you have the php-mysql module complied? > >> > >> > > >> > >> >Javier > >> > >> > > >> > >> >Alhagie Puye wrote: > >> > >> >> Yep. Here is the output: > >> > >> >> > >> > >> >> bash-2.05b# netstat -na | more Active Internet connections > >> > >> >> (including servers) > >> > >> >> Proto Recv-Q Send-Q Local Address Foreign > >> > >> >Address (state) > >> > >> >> tcp4 0 0 *.80 *.* > >> > >> > LISTEN > >> > >> >> tcp4 0 0 *.3306 *.* > >> > >> > LISTEN > >> > >> >> tcp4 0 0 192.168.42.1.22 > >192.168.42.53.2759 > >> > >> >> ESTABLISHED > >> > >> >> tcp4 0 0 192.168.42.1.22 > >192.168.42.53.1264 > >> > >> >> ESTABLISHED > >> > >> >> tcp4 0 0 127.0.0.1.25 *.* > >> > >> > LISTEN > >> > >> >> tcp4 0 0 *.22 *.* > >> > >> > LISTEN > >> > >> >> tcp4 0 0 127.0.0.1.953 *.* > >> > >> > LISTEN > >> > >> >> tcp4 0 0 192.168.42.1.53 *.* > >> > >> > LISTEN > >> > >> >> udp4 0 0 *.161 *.* > >> > > > >> > >> >> udp4 0 0 *.67 *.* > >> > > > >> > >> >> udp4 0 0 *.59626 *.* > >> > > > >> > >> >> udp4 0 0 192.168.42.1.53 *.* > >> > > > >> > >> >> udp4 0 0 *.514 *.* > >> > > > >> > >> >> icm4 0 0 *.* *.* > >> > > > >> > >> >> Active UNIX domain sockets > >> > >> >> Address Type Recv-Q Send-Q Inode Conn Refs > >> > >> >Nextref Addr > >> > >> >> c1107d20 stream 0 0 c19bea50 0 > >> > >0 0 > >> > >> >> /tmp/mysql.sock > >> > >> >> c1107690 stream 0 0 c18cb840 0 > >> > >0 0 > >> > >> >> /tmp/ssh-kimFaWKjlW/agent.87553 > >> > >> >> c1107578 stream 0 0 0 c1107604 > >> > >0 0 > >> > >> >> c1107604 stream 0 0 0 c1107578 > >> > >0 0 > >> > >> >> c1107b7c stream 0 0 c1a56948 0 > >> > >0 0 > >> > >> >> /tmp/ssh-ZzNKMEtWpc/agent.72541 > >> > >> >> c110794c stream 0 0 0 c11079d8 > >> > >0 0 > >> > >> >> c11079d8 stream 0 0 0 c110794c > >> > >0 0 > >> > >> >> c1108000 stream 0 0 c1105528 0 > >> > >0 0 > >> > >> >> /var/run/devd.pipe > >> > >> >> c11074ec dgram 0 0 0 c1107e38 > >> > >0 c1107af0 > >> > >> >> c1107af0 dgram 0 0 0 c1107e38 > >> > >0 c1107c94 > >> > >> >> c1107c08 dgram 0 0 0 c1107ec4 > >> > >0 0 > >> > >> >> c1107c94 dgram 0 0 0 c1107e38 > >> > >0 c1107dac > >> > >> >> c1107dac dgram 0 0 0 c1107e38 > >> > >0 0 > >> > >> >> c1107e38 dgram 0 0 c1106b58 0 > >> > >c11074ec 0 > >> > >> >> /var/run/logpriv > >> > >> >> c1107ec4 dgram 0 0 c1106c60 0 > >> > >c1107c08 0 > >> > >> >> /var/run/log > >> > >> >> bash-2.05b# mysql --user=jffnms --password jffnms Enter > >> > >password: > >> > >> >> Reading table information for completion of table and > >> > >> >column names You > >> > >> >> can turn off this feature to get a quicker startup with -A > >> > >> >> > >> > >> >> Welcome to the MySQL monitor. Commands end with ; or \g. > >> > >> >> Your MySQL connection id is 843 to server version: 4.1.14 > >> > >> >> > >> > >> >> Type 'help;' or '\h' for help. Type '\c' to clear > >the buffer. > >> > >> >> > >> > >> >> mysql> > >> > >> >> > >> > >> >> Alhagie Puye - Network Engineer Datawave Group of Companies > >> > >> >> (604)295-1817 > >> > >> >> > >> > >> >> > >> > >> >>>>-----Original Message----- > >> > >> >>>>From: [EMAIL PROTECTED] > >> > >> >>>>[mailto:[EMAIL PROTECTED] On > >> > >> >Behalf Of Javier > >> > >> >>>>Szyszlican > >> > >> >>>>Sent: October 19, 2005 8:02 PM > >> > >> >>>>Cc: [email protected] > >> > >> >>>>Subject: Re: [jffnms-users] Jffnms on FreeBSD > >> > >> >>>> > >> > >> >>>>CHeck if your MySQL is listeining on port 3306 on > >> > >> >localhost and not > >> > >> >>>>just on the UNIX socket. > >> > >> >>>> > >> > >> >>>>Javier > >> > >> >>>> > >> > >> >>>>Alhagie Puye wrote: > >> > >> >>>> > >> > >> >>>>>Hello all, > >> > >> >>>>> > >> > >> >>>>>I'm having the toughest time getting jffnms to work on a > >> > >> >>>> > >> > >> >>>>FreeBSD 5.4 box. > >> > >> >>>> > >> > >> >>>>>Anyone have instructions on the steps involved? > >> > >> >>>>> > >> > >> >>>>>I have spent about 2 days getting apache to work with > >> > >> >php but the > >> > >> >>>>>mysql component isn't working. > >> > >> >>>>> > >> > >> >>>>>When I get to the jffnms setup page, it says "DB(mysql): > >> > >> >Could not > >> > >> >>>>>connect to the Database" and even before that page, it > >> > >> >>>> > >> > >> >>>>says "Is The > >> > >> >>>> > >> > >> >>>>>Database Working? ......No" > >> > >> >>>>> > >> > >> >>>>>I can connect to the databases using the credential using > >> > >> >>>> > >> > >> >>>>in the main > >> > >> >>>> > >> > >> >>>>>setup page. > >> > >> >>>>> > >> > >> >>>>>Any help is greatly appreciated. > >> > >> >>>>> > >> > >> >>>>>Thanks, > >> > >> >>>>> > >> > >> >>>>>Alhagie Puye > >> > >> >>>>> > >> > >> >>>>> > >> > >> >>>>> > >> > >> >>>>> > >> > >> >>>>>------------------------------------------------------- > >> > >> >>>>>This SF.Net email is sponsored by: > >> > >> >>>>>Power Architecture Resource Center: Free > >content, downloads, > >> > >> >>>>>discussions, and more. > >> > >> >http://solutions.newsforge.com/ibmarch.tmpl > >> > >> >>>>>_______________________________________________ > >> > >> >>>>>jffnms-users mailing list > >> > >> >>>>>[email protected] > >> > >> >>>>>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > >> >>>> > >> > >> >>>>-- > >> > >> >>>>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >> > >> >>>>Javier Szyszlican, Project Leader, JFFNMS > >[EMAIL PROTECTED] > >> > >> >>>> > >> > >> >>>>I hope JFFNMS or I were helpful to you, if you can, > >> > >> >please donate at > >> > >> >>>>http://jffnms.org/donate > >> > >> >>>> > >> > >> >>>> > >> > >> >>>> > >> > >> >>>>------------------------------------------------------- > >> > >> >>>>This SF.Net email is sponsored by: > >> > >> >>>>Power Architecture Resource Center: Free content, > >downloads, > >> > >> >>>>discussions, and more. > >> > >http://solutions.newsforge.com/ibmarch.tmpl > >> > >> >>>>_______________________________________________ > >> > >> >>>>jffnms-users mailing list > >> > >> >>>>[email protected] > >> > >> >>>>https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > >> >> > >> > >> >> > >> > >> >> > >> > >> >> > >> > >> >> > >> > >> >> ------------------------------------------------------- > >> > >> >> This SF.Net email is sponsored by: > >> > >> >> Power Architecture Resource Center: Free content, > >downloads, > >> > >> >> discussions, and more. > >> > >http://solutions.newsforge.com/ibmarch.tmpl > >> > >> >> _______________________________________________ > >> > >> >> jffnms-users mailing list > >> > >> >> [email protected] > >> > >> >> https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > >> > > >> > >> >-- > >> > >> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > >> > >> >Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED] > >> > >> > > >> > >> >I hope JFFNMS or I were helpful to you, if you can, > >> > >please donate at > >> > >> >http://jffnms.org/donate > >> > >> > > >> > >> > > >> > >> > > >> > >> >------------------------------------------------------- > >> > >> >This SF.Net email is sponsored by: > >> > >> >Power Architecture Resource Center: Free content, downloads, > >> > >> >discussions, and more. > >http://solutions.newsforge.com/ibmarch.tmpl > >> > >> >_______________________________________________ > >> > >> >jffnms-users mailing list > >> > >> >[email protected] > >> > >> >https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > > > >> > > > >> > > > >> > > > >> > >------------------------------------------------------- > >> > >This SF.Net email is sponsored by: > >> > >Power Architecture Resource Center: Free content, downloads, > >> > >discussions, and more. > >http://solutions.newsforge.com/ibmarch.tmpl > >> > >_______________________________________________ > >> > >jffnms-users mailing list > >> > >[email protected] > >> > >https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: > >> Power Architecture Resource Center: Free content, > >downloads, discussions, > >> and more. http://solutions.newsforge.com/ibmarch.tmpl > >> _______________________________________________ > >> jffnms-users mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/jffnms-users > >> > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: > >Power Architecture Resource Center: Free content, downloads, > >discussions, > >and more. http://solutions.newsforge.com/ibmarch.tmpl > >_______________________________________________ > >jffnms-users mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
