Re: [PHP-INST] Mac OSX PHP Install Trouble

2003-02-21 Thread Steve Cayford
Did you install the developer tools from Apple? You'll need them to compile php. -Steve On Friday, February 21, 2003, at 03:41 AM, EOS Technologies wrote: while installing the latest version of php on my mac i cam across the following problem: [Jezebel:/apps/php-4.3.0] root# ./configure --wit

Re: [PHP-INST] what is the difference between intall as cgi and module

2003-02-20 Thread Steve Cayford
Installing as CGI means you get a separate php interpreter (php.exe I think on windows), so you can run php programs without going through the web or needing apache or another web server. A significant downside to this is that php programs which _are_ called via the web server will be slower si

Re: [PHP-INST] Help, getting nothing from $_GET

2002-11-18 Thread Steve Cayford
I cut and pasted this code onto my machine and realized that you've got some bogus hidden characters in there. Don't know if that's your issue or not, but once I cleared them out it worked fine for me. -Steve On Monday, November 18, 2002, at 03:22 PM, Robert Duran wrote: {{ -- PHP Instal

Re: [PHP-INST] Malicious code allows people to browse thru /

2002-10-08 Thread Steve Cayford
...and? It's a programming language. If you want to program a file browser into your website why should PHP try to stop you? -Steve On Tuesday, October 8, 2002, at 12:31 PM, Thiago Vinhas wrote: > > Hi. I found something that is really dangerous. I hope there is a > configuration variable on

Re: [PHP-INST] Build PHP 4.2.1 on OS X: "Multiple Definitions"

2002-07-23 Thread Steve Cayford
The entropy.ch site has a brief mention of building php 4.2.x way down at the bottom of the page: http://www.entropy.ch/software/macosx/php/#build As far as what I did, I've gotten in the habit of writing shell scripts with the configuration command and comments listing all the steps I took.

Re: [PHP-INST] Build PHP 4.2.1 on OS X: "Multiple Definitions"

2002-07-22 Thread Steve Cayford
On Monday, July 22, 2002, at 02:10 PM, Frank Bitterlich wrote: > Hi, > > newbie alert! I've never built anything on OS X, so I thought I'd better > follow the docs by the letter. Still, no go... Building PHP on OSX is tricky, at least the last time I did it (a couple months ago). What directio

Re: [PHP-INST] PHP doesn't except parameters?

2002-07-09 Thread Steve Cayford
On Thursday, July 4, 2002, at 05:59 PM, Alex P. wrote: > Hi all, I'm a newbie to PHP. When I installed PHP 4.2 and apache 1.3 > onto my > computer, it all worked. I can generate web pages and all that, but > when I > tri to pass a parameter through the URL to the PHP script, it doesn't > wor

Re: [PHP-INST] one more 'can't do this':

2002-02-20 Thread Steve Cayford
On my machine httpd is in /usr/sbin. That's not commonly listed on a bash path, so try /usr/sbin/httpd instead (if that's where it is). -steve On Wednesday, February 20, 2002, at 12:26 PM, Ryan Snow wrote: > > the command 'httpd -l' yields bash: httpd: command not found. > > any insight? > >

[PHP-INST] Tips for php 4.0.6, pdflib 4.0.1, and Mac OS X 10.1.1

2002-01-30 Thread Steve Cayford
Hello. I had a brutal time figuring out how to get these three to work together, so I thought I should post the solution that worked for me. pdflib: 1. unpack the tarball 2. setenv LDFLAGS '-flat_namespace' # I don't know if this was entirely necessary 3. ./configure \ --enable-shar

Re: [PHP-INST] APXS and ./configure problem

2002-01-23 Thread Steve Cayford
Did you try --with-apxs=/usr/apache/bin/apxs ? It looks like it's trying to execute /usr/apache/bin -Steve On Wednesday, January 23, 2002, at 03:30 PM, Sidney Richards wrote: > Hey all, > > Tried a search but couldnt find a solution for the following problem. > > When using the './configure -

Re: [PHP-INST] Problem with question mark !

2002-01-04 Thread Steve Cayford
Don't remember if register_globals is on by default. If not you'll need to use: echo "t=$HTTP_GET_VARS['t']"; On Friday, January 4, 2002, at 11:02 AM, Marios Karagiannopoulos wrote: > I have just installed the PHP4.0.6 and apache 1.3.20 > With the appropriate configuration. I tried a test fil

[PHP-INST] Building php on OSX 10.1

2001-10-16 Thread Steve Cayford
There's a new article on stepwise (http://www.stepwise.com) with directions on building Apache with PHP on OSX 10.1. I haven't tried it yet though. -Steve On Monday, October 15, 2001, at 10:45 PM, Brian Mita wrote: > Have you found a solution to this yet? A friend of mine is trying to > com

Re: [PHP-INST] php "make" error

2001-10-10 Thread Steve Cayford
You should be able to specify LDFLAGS as -flat_namespace somewhere, but I haven't been able to get it to work on my machine either. (see http://www.stepwise.com/Articles/Technical/2001-09-29-01.html). I tried messing with config and make files, but I was out of my depth and didn't get anywhere

Re: [PHP-INST] PDFlib 4.0.1 and PHP 4.0.6 - success!

2001-09-18 Thread Steve Cayford
I wasn't sure if I did or not, but the directions that came with pdflib included that step. I might go back now and try it again on mac osx..., but maybe another day. By the way, PHP is a great language and lots of fun. Thanks for all your work. -Steve On Tuesday, September 18, 2001, at 04:3

[PHP-INST] PDFlib 4.0.1 and PHP 4.0.6 - success!

2001-09-18 Thread Steve Cayford
I finally got these two working together. I tried several times on mac OSX and decided maybe it just wasn't going to happen so I've been trying LinuxPPC 2000. In case there are others with the same problem, here are the steps I took that finally worked. Following the directions with pdflib I d

Re: [PHP-INST] where is build info stored?

2001-09-18 Thread Steve Cayford
Ok. It seemed that using make distclean wasn't getting rid of all the pieces so I unpacked a fresh archive, shutdown httpd, deleted libphp4.so, then recompiled and installed and its up to date now. I don't understand why it didn't work before. libphp4.so had today's datestamp, but phpinfo() st

[PHP-INST] where is build info stored?

2001-09-18 Thread Steve Cayford
I'm trying again to get PDFlib (from source) to work for me with PHP 4.0.6. I gave up on Mac OSX for now and switched to LinuxPPC 2000. I noticed that when I recompile and re-install php the information displayed by phpinfo() is not updated, which makes me suspect that I'm still running off th

Re: [PHP-INST] PHP-4.0.6 / Apache 1.3.20 / Linux 7.2 / Kernel 2.4.4: LEX

2001-09-14 Thread Steve Cayford
On my machine (Redhat 7.0) lex is at /usr/bin/lex and is a symbolic link to /usr/bin/flex. Do you have either of these programs? -Steve On Friday, September 14, 2001, at 08:14 AM, Netpower wrote: > Hi! > I use PHP-4.0.6 / Apache 1.3.20 / Linux 7.2 / Kernel 2.4.4 ... > > My Problem is, that ev

Re: [PHP-INST] php configure problem

2001-09-07 Thread Steve Cayford
t; > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char gdbm_open(); > > int main() { > gdbm_open() > ; return 0

Re: [PHP-INST] php configure problem

2001-09-07 Thread Steve Cayford
Does config.log have anything more about the error? -steve On Friday, September 7, 2001, at 06:28 AM, Bob wrote: > Hi everyone, if you can help me with this I would really appreciate it. > > If I configure php with this then it works: > > # ./configure > --with-apxs=/usr/sbin/apxs > --without-

[PHP-INST] Anyone else getting SMTP import error #-5 ?

2001-08-31 Thread Steve Cayford
I keep getting this error when I post to this list. From: [EMAIL PROTECTED] Date: Sun Aug 31, 300 10:36:38 AM US/Central Subject: SMTP import error #-5 Return-Path: <[EMAIL PROTECTED]> Note the year. -Steve -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re: [PHP-INST] php 4.0.6, pdflib 4.0.1, mac osx

2001-08-31 Thread Steve Cayford
he > installation directory like PHP install instructions say. > > Let me know how that goes if there is anything else you need to try. > > Regards, > > > Jim Thome > Web Technology Administrator > City of Fort Collins > 215 N. Mason > Fort Collins, CO 80522 &g

Re: [PHP-INST] php 4.0.6, pdflib 4.0.1, mac osx

2001-08-31 Thread Steve Cayford
type of a gcc2 > builtin and then its argument prototype would still apply. */ > char PDF_show_boxed(); > > int main() { > PDF_show_boxed() > ; return 0; } > On Fri, 31 Aug 2001, Steve Cayford wrote: > >> Yup, tried it. >> >> ./configure --with-xml --with-

Re: [PHP-INST] php 4.0.6, pdflib 4.0.1, mac osx

2001-08-31 Thread Steve Cayford
figure options you would succeed: > > --with-pdflib=/usr/local > > You might also need to use --with-jpeg-dir , --with-png-dir , > --with-tiff-dir if these libraries are not in your libpath. > > --Jani > > > On Fri, 31 Aug 2001, Steve Cayford wrote: > >> From

[PHP-INST] php 4.0.6, pdflib 4.0.1, mac osx

2001-08-31 Thread Steve Cayford
From browsing the archives, it looks like getting pdflib into php takes luck and persistence to achieve the magical configure options, and I'm running low on both. I'm trying to get pdflib 4.0.1 to work with php 4.0.6 and apache 1.3.20 on mac osx 10.0.3 php and apache work great and I'm eage