[olug] PHP Modules/Libraries

Jon H. Larsen relayer at omahadirect.net
Wed Aug 21 21:51:36 UTC 2002


Here is a copy of the compile time options per the red hat rpm:

 './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' 
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' 
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' 
'--with-exec-dir=/usr/bin' '--with-gd' '--with-gdbm' '--with-gettext' 
'--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' 
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' 
'--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' 
'--enable-bcmath' '--enable-debugger' '--enable-ftp' 
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' 
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' 
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' 
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' 
'--with-ldap=shared,/usr' '--with-mysql=shared,/usr' 
'--with-pgsql=shared,/usr' '--with-unixODBC=shared,/usr' 
'--with-apxs=/usr/sbin/apxs'

The Sybase option isn't listed - as it shouldn't, because it's Red Hat's 
generic RPMS.

My ultimate goal is to access MS SQL 7 tables from PHP running on 
Linux/Apache.  I was using this as my guide: 
<http://www.peceny.de/misc/freetds.html>

Has anyone been able to query MS SQL 7 tables from a Linux box on this 
list?  If so, did you use FreeTDS?  An inquiring mind wants to know. :)

What's funny about this is that the PHP script that is executing doesn't 
display in a browser, it's actually a cron job running a PHP script to 
update some tables.  The PHP script does what it's supposed to, updating 
tables, but the cron job is giving me "debug" output on the job when 
it didn't before.

>From root at localhost Wed Aug 21 13:08:52 2002
Date: Wed, 21 Aug 2002 12:51:01 -0500
From: Cron Daemon <root at localhost>
To: root at localhost
Subject: Cron <root at localhost> /usr/local/bin/jobentrylogwatch.sh > 
/dev/null

PHP Warning:  Unable to... blah blah...

Puzzled...
Jon L.


On Wed, 21 Aug 2002, Adam Haeder wrote:

> Date: Wed, 21 Aug 2002 15:25:57 -0500 (CDT)
> From: Adam Haeder <adamh at omaha.org>
> Reply-To: olug at olug.org
> To: olug at olug.org
> Subject: Re: [olug] PHP Modules/Libraries
> 
> Create the following php script:
> 
> <html>
> <body>
> <?
> phpinfo()
> ?>
> </body>
> </html>
> 
> and save it as "info.php" somewhere in your webroot. Then view that page 
> from a browser. It should give you all the config options for your version 
> of php, including compile-time options.

-- 
 [ Jon H. Larsen  - email: relayer at omahadirect dot net         ]
 [ ICQ#: 10412618 - http://www.animesunday.org/jonl               ]
 [ PGP Pubkey - http://www.animesunday.org/jonl/relayerpubkey.txt ]




More information about the OLUG mailing list