php-install Digest 27 Oct 2001 16:36:40 -0000 Issue 525

Topics (messages 4764 through 4767):

PHP4 with iPlanet/win2k problems
        4764 by: Jason Wood

Help-php4 Segmentation fault
        4765 by: Tom

php4apache.dll missing in PHP 4.0.6 zip
        4766 by: Rodolfo Napoles

apache/php/win2k
        4767 by: sotee loey

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]


----------------------------------------------------------------------


Hello-
    I've been trying for the past week to get PHP to run correctly with
iPlanet/WIN2K...  I can get the CGI version to install and run phpinfo();
but GET and POST don't work.  No variables show up at all.

The NASPI filter doesnt work at all.  I follow the install instructions.
Then, if i try to go to any PHP page, httpd.exe crashes as soon as i hit
enter in the address bar...

Please help!!

--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
Ballwin, MO 63011
Phone 636.256.1362
www.expressivetek.com







I've been struggling to get php 4.0.6 working  with redhat 7.1 and
apache 1.3.19. It seems to load as is evident by the entry in the error
log below. When I try to execute a simple script from the htdocs
directory to the show the environment, or any other php scripts, I get
the Segmentation fault in the error_log. I have including the output
from the gdb debugger as well as my PHP and Apache configure options.
Any help would be great. I've been battling with this for 3 weeks..
Everything else works fine. Just php4 not working.   --Thanks in
advance.

This is the simple test scripts

<?php
 phpinfo();
?>


>From The Apache errorlog

[Fri Oct 26 09:27:46 2001] [notice] Apache/1.3.19 (Unix) PHP/4.0.6
mod_perl/1.26
 FrontPage/4.0.4.3 mod_ssl/2.8.3 OpenSSL/0.9.6b configured -- resuming
normal op
erations
[Fri Oct 26 09:30:06 2001] [notice] child pid 29434 exit signal
Segmentation fault
(many more of the same with each invocation of the a php script)

Debug information from gdb:

[root@petros php-4.0.6]# cd /usr/local/apache/bin
[root@petros bin]# gdb httpd
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -x DSSL
Starting program: /usr/local/apache/bin/httpd -x DSSL

Program exited normally.
(gdb) run -X DSSL
Starting program: /usr/local/apache/bin/httpd -X DSSL

Program received signal SIGSEGV, Segmentation fault.
0x4036454d in send_php (r=0x84de750, display_source_mode=0,
filename=0x0)
    at mod_php4.c:478
478             per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config
, &php4_module);
(gdb) run -X DSSL
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/local/apache/bin/httpd -X DSSL


Program received signal SIGSEGV, Segmentation fault.
0x4036454d in send_php (r=0x84de750, display_source_mode=0,
filename=0x0)
    at mod_php4.c:478
478             per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config
, &php4_module);
(gdb)
(gdb) bt
#0  0x4036454d in send_php (r=0x84de750, display_source_mode=0,
filename=0x0)
    at mod_php4.c:478
#1  0x4036470d in send_parsed_php (r=0x84de750) at mod_php4.c:547
#2  0x080e320f in ap_invoke_handler () at eval.c:41
#3  0x080f7623 in process_request_internal () at eval.c:41
#4  0x080f7684 in ap_process_request () at eval.c:41
#5  0x080ee9b1 in child_main () at eval.c:41
#6  0x080eeb80 in make_child () at eval.c:41
#7  0x080eecf4 in startup_children () at eval.c:41
#8  0x080ef347 in standalone_main () at eval.c:41
#9  0x080efb8b in main () at eval.c:41
#10 0x400ef177 in __libc_start_main (main=0x80ef7d0 <main>, argc=3,
    ubp_av=0xbffff80c, init=0x807b2d8 <_init>, fini=0x8225b10 <_fini>,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff7fc)
    at ../sysdeps/generic/libc-start.c:129
(


PHP configure

EAPI_MM=../mm-1.1.3 \
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-sybase-ct=/opt/sybase \
--enable-bcmath \
--enable-calender \
--with-ctype \
--enable-exif \
--enable-versioning \
--enable-track-vars \
--enable-gd-imgstrttf \
--with-gd \
--with-ldap \
--enable-ftp \
--enable-trans-sid \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-wddx \
--enable-sockets \
--with-gettext \
--with-openssl

Apache configure

SSL_BASE=../openssl-0.9.6b \
EAPI_MM=../mm-1.1.3 \
./configure \
--prefix=/usr/local/apache \
--enable-module=ssl \
--add-module=mod_frontpage.c \
--enable-module=so \
--enable-module=rewrite \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=proxy \
--enable-module=speling \
--enable-module=usertrack \
--enable-module=vhost_alias \
--enable-module=unique_id \
--enable-module=expires \
--enable-module=info \
--enable-module=userdir \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl







I am installing PHP 4.0.6 from the PHP 4.0.6 zip package on a Win NT 4.0
Workstation with Apcahe 1.3.

I want to configure php to be loaded as a module, but the php4apache.dll
file was not included in the zip file, I got the files for PWS and
AOLserver on it.

Wher can I get the DLL?

Thanks





All,

Could anyone help me, I have spend over a week
configuration php to work with apache on window2000.
Here is my problem: the apache server is working fine
but php doesn't work at all. I configure the php.ini
and apache.conf files. When I run the php file, i see
the php source code. If anyone could help me, i really
appreciated. Also attached is my php.ini and
apache.conf configuration file. Thanks for all your
help.

I add this code to apache.conf file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


Reply via email to