php-install Digest 25 Aug 2002 12:19:46 -0000 Issue 993
Topics (messages 8204 through 8209):
unable to compile php4.2.2 with apache 2.0
8204 by: Luis E. Collado T.
8205 by: William Nyden
8208 by: Laurent Larquère
Re: win xp, apache 2.40, and php4.2.2
8206 by: Timothy Sawyers
Re: Help... Apache 1.3.26 with php 4.2.2 .php pages appear as text pages..
8207 by: Timothy Sawyers
browser bug?
8209 by: arch
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 ---
i tried to installling PHP and Apache 2 using URL:
http://www.geocities.com/honey_jal/. I got the following error:
Making all in apache2filter
make[2]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
make[3]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
/bin/sh /php-4.2.2/libtool --silent --mode=compile gcc -I.
-I/php-4.2.2/sapi/apache2filter -I/php-4.2.2/main -I/php-4.2.2 -I/wwwroot/include
-I/php-4.2.2/Zend -I/php-4.2.2/ext/mysql/libmysql -I/php-4.2.2/ext/xml/expat
-D_REENTRANT -I/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c
sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter' makes
pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function `ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter' makes pointer
from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Saliendo directorio `/php-4.2.2/sapi'
make: *** [all-recursive] Error 1
may any help me?
Thanks
--
Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@Netscape!
http://shopnow.netscape.com/
--- End Message ---
--- Begin Message ---
I get the same errors. Red Hat 7.3 evaluation.
Luis E. Collado T. wrote:
> i tried to installling PHP and Apache 2 using URL:
> http://www.geocities.com/honey_jal/. I got the following error:
>
> Making all in apache2filter
> make[2]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
> make[3]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
> /bin/sh /php-4.2.2/libtool --silent --mode=compile gcc -I.
> -I/php-4.2.2/sapi/apache2filter -I/php-4.2.2/main -I/php-4.2.2
> -I/wwwroot/include -I/php-4.2.2/Zend -I/php-4.2.2/ext/mysql/libmysql
> -I/php-4.2.2/ext/xml/expat -D_REENTRANT -I/php-4.2.2/TSRM -DTHREAD=1
> -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
> sapi_apache2.c: In function `php_register_hook':
> sapi_apache2.c:534: warning: passing arg 3 of
> `ap_register_output_filter' makes pointer from integer without a cast
> sapi_apache2.c:534: too few arguments to function
> `ap_register_output_filter'
> sapi_apache2.c:535: warning: passing arg 3 of
> `ap_register_input_filter' makes pointer from integer without a cast
> sapi_apache2.c:535: too few arguments to function
> `ap_register_input_filter'
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Saliendo directorio `/php-4.2.2/sapi'
> make: *** [all-recursive] Error 1
>
> may any help me?
>
> Thanks
--
Bill Nyden
37° 23' 28" N 122° 04' 09" W
======================================================
One of these days I've got to stop procrastinating.
[EMAIL PROTECTED]
http://www.maturin.org/
http://www.Calif-Sport-Divers.org/
http://www.HMSSurprise.org/
--- End Message ---
--- Begin Message ---
This question has been often answered ...
If you have no time or dont want to use 4.3-dev,
you can just insert a NULL as third parameter of the two calls
to ap_register_input_filter and ap_register_output_filter
lines 534 and 535 of /....../php-4.2.2/sapi/apache2filter/sapi_apache2.c
[ Due to a change in Apache Api since 20.39 ]
William Nyden wrote:
> I get the same errors. Red Hat 7.3 evaluation.
>
> Luis E. Collado T. wrote:
>
>> i tried to installling PHP and Apache 2 using URL:
>> http://www.geocities.com/honey_jal/. I got the following error:
>>
>> Making all in apache2filter
>> make[2]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
>> make[3]: Cambiando a directorio `/php-4.2.2/sapi/apache2filter'
>> /bin/sh /php-4.2.2/libtool --silent --mode=compile gcc -I.
>> -I/php-4.2.2/sapi/apache2filter -I/php-4.2.2/main -I/php-4.2.2
>> -I/wwwroot/include -I/php-4.2.2/Zend -I/php-4.2.2/ext/mysql/libmysql
>> -I/php-4.2.2/ext/xml/expat -D_REENTRANT -I/php-4.2.2/TSRM -DTHREAD=1
>> -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
>> sapi_apache2.c: In function `php_register_hook':
>> sapi_apache2.c:534: warning: passing arg 3 of
>> `ap_register_output_filter' makes pointer from integer without a cast
>> sapi_apache2.c:534: too few arguments to function
>> `ap_register_output_filter'
>> sapi_apache2.c:535: warning: passing arg 3 of
>> `ap_register_input_filter' makes pointer from integer without a cast
>> sapi_apache2.c:535: too few arguments to function
>> `ap_register_input_filter'
>> make[3]: *** [sapi_apache2.lo] Error 1
>> make[3]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Saliendo directorio `/php-4.2.2/sapi/apache2filter'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Saliendo directorio `/php-4.2.2/sapi'
>> make: *** [all-recursive] Error 1
>>
>> may any help me?
>>
>> Thanks
>
>
>
--- End Message ---
--- Begin Message ---
well after rolling back both apache and php I have a working server again. I
am Running apache 2.35 with php 4.2.0 on winXp using the php
apache2filter.dll module.
neither the combo of apache 3.40 with php4.2.2 nor apache2.40 with php4.2.0
worked for me:( if any one gets this to work drop me a line and tell me how
you did it.
"Timothy Sawyers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am trying to upgrade to apache 2.40 from 2.30 and from php 4.1.0oc4 to
> 4.2.2.
>
> The apache install went just fine and I can navigate to localhost. When I
> add the line to loud php to the http.conf I get an operation failed. I'm
> lauding php4apache2.dll as the experimental directory and
apache2filter.dll
> seems to be removed from this version.
>
> when starting from the command prompt I get can not load
> C:/www/php4/sapi/php4apache2.dll into server: the specified procedure
could
> not be found.
>
> What file should I load?
> Any Help getting this setup to work?
>
>
> My next step is going to be rollback to old copy of php and see if it
works
> on apache 2.40
>
>
--- End Message ---
--- Begin Message ---
Are you running apache as a service? if you are, look under services in your
control panel and see if apache properties shows that php is running. if it
does copy the php.ini that you edited in the windows directory to your php
directory. see if this works.
somthing else you might try is puting the php4ts.dll into the sapi folder.
Is there a php.ini in your php directory? I think I read somewhere that the
php.ini in your php directory take president over one in the windows
directory.
just a few things to try until someone that knows what there doing comes
along.
"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
news:007501c24a18$b347e8a0$0901a8c0@aaron...
Hi All,
I'm new to the list and I am having a helluva time trying to figure this
out.
First off.. I am running Win XP Pro with Apache 1.3.26 and php 4.2.2 .
Now.. this is what I have done per the INSTALL php.net webpage
1) Downloaded Apache and got it running. I can access .html pages under
localhost.
2) Downloaded PHP and unzipped and installed it into c:\php
3) Moved the php4ts.dll file into the c:\windows\system32 directory
4) Renamed the php.ini-recommended to php.ini
5) Moved the renamed php.ini file into the c:\windows directory
6) Edited the php.ini file to the following:
doc_root = "c:\Apache\htdocs"
extension_dir = "c:\php\extensions"
7) Stopped Apache
8) Edited the http.conf file to the following:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Note: These files are in their appropriate locations within the file (Load
the module first then Add the module)
9) Restarted Apache
10) Created a PHP (info.php) file in the htdocs directory to read: <?php
echo phpinfo(); ?>
11) Loaded a browser to view but it does not work.
The page is displaying the code as if it were a .txt file.. meaning the php
code I entered appears exactly like that when I load up the page in a
browser.
Can ANYONE help here? I read and read and read and one thing say this..
while another says that.
Very confusing.
Thanks all.
Regards,
Aaron
--- End Message ---
--- Begin Message ---
Hi,
I'm running PHP 4.2.1 as a module of Apache 2.0.39 on XP. Everything works
fine, except in the case of certain output from my scripts, which a certain
browser--which shall remain anonymous (but it's initials are IE6)--can't
seem to handle, and responds by having the browser equivalent of an
epileptic seizure.
The PHP script isn't doing anything special. It just checks if some session
vars are set, and the rest is just plain HTML, with tables. Netscape 6.2
handles it perfectly. I even installed Microsoft's latest IE patches, with
no luck.
I'm wondering if anyone else has encountered the same bug, or whether I
should take this personally.
Thanks!
--- End Message ---