[PHP] trying to activate php4 module

2001-05-04 Thread Jeff Orrok

Below is the transcript of my attempt and the error that results:

[gatchaman:/packages/apache_1.3.19] root# ./configure --enable-module=so 
--activate-module=/src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.19
 + using installation path layout: Mac OS X Server (config.layout)
configure:Error: Module source already has to be below src/modules/ to
be activated
[gatchaman:/packages/apache_1.3.19] root# cd ../php-4.0.5/sapi/apache
[gatchaman:php-4.0.5/sapi/apache] root# ls
.deps   apMakefile.tmpl mod_php4.h  php_apache_http.h
.libs   config.m4   mod_php4.lo sapi_apache.c
CREDITS libphp4.module.in   php.sym sapi_apache.lo
Makefilelibsapi.la  php4apache.dsp
Makefile.in mod_php4.c  php_apache.c
apMakefile.libdir   mod_php4.expphp_apache.lo

What do I need to do??

thanks for your help

jeff

--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mosxs build error

2001-05-04 Thread Jeff Orrok

I've gotten up to step 9 on http://php.net/manual/en/install.macosx.php
and this happens:

===> src/modules/php4
cd: can't cd to php4
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

Apparantly, src/modules/php4 was NOT created for me in step 7.  

--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok

I started by reading http://php.net/manual/en/install.macosx.php
"Example 2-4. Mac OS X server install"

cd /packages
wget http://apache.vitts.com/dist/apache_1.3.19.tar.gz
gnutar zxf apache_1.3.19.tar.gz
cd apache_1.3.19/

Instead of step 2, I did a ./configure --layout to confirm that I did
not need to type all of this stuff in, and instead just typed:

./configure --enable-module=so
make clean
make
make install

I realized after the fact that the make's were premature, but I didn't
think that would hurt anything...

I was told in order to use frontbase I had to follow the instructions
from http://www.frontbase.com/download/PHP4/index.html instead of step
5.  I was also told I had to upgrade autoconf to 2.13.  This I did
without incident.  So then:

cd ..
wget 
'http://www.php.net/do_download.php?download_file=php-4.0.5.tar.gz&source_site=www.php.net'
gnutar zxf php-4.0.5.tar.gz
cd php-4.0.5/
autoconf configure.in > c
chmod u+x c
./c --with-fbsql --enable-bcmath --enable-calendar --enable-trans-id
--enable-ftp --enable-sockets --with-apxs=/usr/sbin/apxs

It seemed to go well, so resuming with step 6:

make
make install
cd ../apache_1.3.19
./configure --enable-module=so --activate-module=src/modules/php4/libphp4.a
make clean
make

lots of stuff gets made, but then I get:

===> src/modules/php4
cd: can't cd to php4
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2


--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mosxs build error -- more detail

2001-05-04 Thread Jeff Orrok

Cameron wrote:
> in here you want --with-apache=/path/to/your/apache/source instead of
> the withapxs, the --activeate-module compiles a static php

thank you.  :-)  I'm curious about the difference between apache and apxs...

Anyway, everything built, but now when I try to start, I get

dyld: /usr/sbin/httpd multiple definitions of symbol _DayNameLong
/usr/sbin/httpd definition of _DayNameLong
/System/Library/Apache/Modules/libphp4.so definition of _DayNameLong
/usr/sbin/apachectl start: httpd could not be started


--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] still getting multiple definitions of symbol _DayNameLong

2001-05-07 Thread Jeff Orrok

Thanks to Andrew and Cameron for assisting with my mosxs build of php
and apache.

But I am still stuck with the following:

dyld: /usr/sbin/httpd multiple definitions of symbol _DayNameLong
/usr/sbin/httpd definition of _DayNameLong
/System/Library/Apache/Modules/libphp4.so definition of _DayNameLong
/usr/sbin/apachectl start: httpd could not be started


--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] NaN

2001-06-22 Thread Jeff Orrok

I was wondering how I would test to see if a number was NaN.  When I
assign log(-1) to a constant, it does not seem to equal another variable
that is NaN.
--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] can I fopen an https url?

2001-07-07 Thread Jeff Orrok

and assuming I can, will this dump the resulting page to the browser?

$fp = fopen( $buildURI, "r" );
fpassthru( $fp );
fclose( $fp );

--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] can I fopen an https url?

2001-07-09 Thread Jeff Orrok

Christian Reiniger wrote:
> 
> On Saturday 07 July 2001 09:27, Jeff Orrok wrote:
> > and assuming I can, will this dump the resulting page to the browser?
> >
> > $fp = fopen( $buildURI, "r" );
> > fpassthru( $fp );
> > fclose( $fp );
> 
> Why don't you just try it?

*heavy sigh*  OK, let me rephrase my inquiry.  What must I do to be able
to fopen an https url?  For some reason, php tries to find it in the
path that the executing script resides in.

--
:-J
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]