php-install Digest 12 Sep 2002 20:22:31 -0000 Issue 1021
Topics (messages 8422 through 8427):
Re: No Answer to This? : include_path
8422 by: Minh Nguyen
Re: How to 'define a variable'
8423 by: Jim Thome
Install extension
8424 by: NoWhErEMan
Why are my letters to the list being forwarded to abuse at verizon.net
8425 by: Glen Lee Edwards
php-4.2.3 and apache 2.0.39 on linux
8426 by: Himanshu Soni
Apache2.0.40 + PHP 4.2.3 + SSL + Solaris 8
8427 by: Danny Auble
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Peter,
Thank for the response. I have tried both way, first with the path
C:/php/pear comment out and later without any comment. And that does not
fix the problem. Any other suggestion would be appreciate. Thank you
"Peter Houchin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> check your php.ini for the correct path to pear and check that pear is
> there or if u want just comment out the line that references pear if u
don't
> want to use it
>
> > -----Original Message-----
> > From: gilang4 [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 12 September 2002 2:38 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] No Answer to This? : include_path
> >
> >
> > Warning: Failed opening '/apache/htdocs/test.php' for inclusion
> > (include_path='.;c:\php4\pear') in Unknown on line 0
> >
> >
> > I got this message when try to swith PHP CGI to PHP module with Apache.
> >
> > Apache is 1.3.2
> > PHP is 4.2.3
> >
> > Apache is working fine by itself, and PHP CGI is working fine ( version
> > 4.2.2 ). But PHP module is not working at all. Thanks for any help.
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--- End Message ---
--- Begin Message ---
The "undefined variable" message is a warning, not an error, and can therefore be
safely ignored. You can find detailed information on assigning variables here:
http://www.php.net/manual/en/language.variables.php
~Jim
>>> "Doug Young" <[EMAIL PROTECTED]> 09/11/02 09:56PM >>>
> Turn down the error reporting in your script.
>
> http://us2.php.net/manual/en/function.error-reporting.php
>
Well I guess that would 'hide' the problem, but not fix it .... or
am I missing something here ??
--- End Message ---
--- Begin Message ---
Hi all,
I want to add a stemmer extension on my php. I worked fine with windows
platform and precompiled DLL. Now i have to switch to unix server and need
to build it from source. But i am newbie on building from source. And want
to get some helps.
What i want is to add the extension "stem-php" avaible on this site
http://www.tutorbuddy.com/software/
The source can download from here
http://www.tutorbuddy.com/software/download.php/stem-php-1.2.1.tar.gz
I read the README, have this few lines:
----------------------------------------
4. How do you compile it?
You compile it as you would any other PHP extension.
On UNIX-like systems:
0. Unpack the source into /path/to/php/ext.
1. Run buildconf.
2. Configure using the --enable-stem argument.
3. Run make.
-----------------------------------------------------------
However, i dont know where are "buildconf" and "make" ??
Thanks for advance
Nowhereman
--- End Message ---
--- Begin Message ---
The last 2 letters I posted to the php-insall list I received automated
letters back from [EMAIL PROTECTED] Is anyone else getting these?
Glen
---------- Forwarded Message ----------
Subject: [PHP-INST] Why does PHP need unix.h? [T20020912059U]
Date: Thu, 12 Sep 2002 11:45:13 GMT
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Thank you for bringing this matter to our attention. We are sorry for
any inconvenience it has caused you. Because we receive a large
number of complaints each day at [EMAIL PROTECTED], regretfully, a
personalized response to each message is not possible.
Please be assured that Verizon investigates each reported occurrence
of unsolicited e-mail or spamming. We maintain a zero-tolerance
policy in regard to spamming and will take the appropriate action as
permitted by Verizon's Acceptable Use Policy. To view our policy,
please refer to one of the two following links:
Former Bell Atlantic users:
http://www.bellatlantic.net/help/faqs/#faqpolicies
Former GTE users:
http://www.gte.net/hotlinks/policies/agreement.html
To better understand the problems with unsolicited e-mail, we have
provided information about filtering Spam with your e-mail software,
answers to several frequently asked questions and links to some useful
online information about Spam at the following link:
http://www.gte.net/announcements/spam.html
You may also link directly to our page about unsolicited e-mail:
http://www.gte.net/contact/spam.html
If you are reporting an issue of hacking or other security issues not
related to e-mail abuse, please submit your report to
[EMAIL PROTECTED] for investigation.
Sincerely,
Verizon Internet Services
[EMAIL PROTECTED]
-------------------------------------------------------
--- End Message ---
--- Begin Message ---
Hi
I was trying to compile php-4.2.3 with apache 2.0.39 on linux. My
configure was like this:
freaky:~/php-4.2.3$ ./configure --prefix=/home/himanshu/apache
--with-apxs2=/home/himanshu/apache/bin/apxs
--with-config-file-path=/home/himanshu/apache/php
--with-pgsql=/usr/local/postgresql/
I get the following error when I make:
/bin/sh /home/himanshu/php-4.2.3/libtool --silent --mode=compile gcc
-I. -I/home/himanshu/php-4.2.3/sapi/apache2filter
-I/home/himanshu/php-4.2.3/main -I/home/himanshu/php-4.2.3
-I/home/himanshu/apache/include -I/home/himanshu/php-4.2.3/Zend
-I/home/himanshu/php-4.2.3/ext/mysql/libmysql
-I/usr/local/postgresql//include
-I/home/himanshu/php-4.2.3/ext/xml/expat -D_REENTRANT
-I/home/himanshu/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:567: incompatible type for argument 3 of
`ap_register_output_filter'
sapi_apache2.c:567: too many arguments to function
`ap_register_output_filter'
sapi_apache2.c:568: incompatible type for argument 3 of
`ap_register_input_filter'
sapi_apache2.c:568: too many arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/home/himanshu/php-4.2.3/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/himanshu/php-4.2.3/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/himanshu/php-4.2.3/sapi'
make: *** [all-recursive] Error 1
When I looked into the apache header file util_filter.h, the
ap_register_input_filter and ap_register_output_filter were defined as
following:
AP_DECLARE(ap_filter_rec_t *) ap_register_input_filter(const char *name,
ap_in_filter_func filter_func,
ap_filter_type ftype);
AP_DECLARE(ap_filter_rec_t *) ap_register_output_filter(const char
*name,
ap_out_filter_func
filter_func,
ap_filter_type ftype);
So then I changed sapi_apache2.c to:
static void php_register_hook(apr_pool_t *p)
{
ap_hook_pre_config(php_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_post_config(php_apache_server_startup, NULL, NULL,
APR_HOOK_MIDDLE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL,
APR_HOOK_MIDDLE);
ap_hook_post_read_request(php_post_read_request, NULL, NULL,
APR_HOOK_MIDDLE);
/*
ap_register_output_filter("PHP", php_output_filter, NULL,
AP_FTYPE_RESOURCE);
ap_register_input_filter("PHP", php_input_filter, NULL,
AP_FTYPE_RESOURCE); */
ap_register_output_filter("PHP", php_output_filter,
AP_FTYPE_RESOURCE);
ap_register_input_filter("PHP", php_input_filter,
AP_FTYPE_RESOURCE);
}
After this, I was able to successfully compile php with apache2.0.39.
Thanx
Himanshu Soni
Software Engineer
PKI Innovations, Inc.
http://www.pk3i.com
Suite 420 - 1122 Mainland Street
Vancouver, BC, Canada
V6B 5L1
Phone: 604.484.7544 ext 107
--- End Message ---
--- Begin Message ---
does anyone has this combo working? I can't seem to get PHP to like apache,
or apache to like Solaris. I get ld.so.1: /export/www/bin/httpd: fatal:
libdb-3.0.so: open failed: No such file or directory when I run apachectl.
Any configure lines would be great. I have this working under apache
1.3.19.
thanks,
Danny
--- End Message ---