php-install Digest 6 May 2002 05:45:20 -0000 Issue 821
Topics (messages 6850 through 6865):
Help..
6850 by: Brian Speck
php 4.2.0 install problem
6851 by: Christian
6852 by: Rasmus Lerdorf
6860 by: Richard Anglin
6861 by: Rasmus Lerdorf
6862 by: Richard Anglin
6863 by: Rasmus Lerdorf
Apache 2.0.35 with PHP 4.12 on Windows 98
6853 by: Alex
PHP 4.12 Apache 2.0.35 Windows 98
6854 by: Alex
php 4.12
6855 by: Alex
Php 4.12 and Apche 2.0.35 on WIN 98 - Help
6856 by: Alex
PHP 4.12 with Apache 2.0.35 on Windows 98
6857 by: Alex
Cannot Install PHP4 on apache2 for windows
6858 by: Riddler
6859 by: Riddler
6864 by: Riddler
Apache 2.0.35 + PHP 4.2.0 segfault on start
6865 by: Tanya Brethour
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 just upgraded php 4.0.6 (RH RPM) to PHP 4.2
I am running Apache 2.0.35
And I am getting something Weird going on.
When I goto one Website on the server. Php seems to work.
But when I goto another website. Then it it shows the php code.
So I decided to put a php test page "<?phpinfo()?>" saved as index.php.
And it works great..
Any ideas?
Thanks in advance for all the support.
Brian Speck
--- End Message ---
--- Begin Message ---
I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation of
php 4.2.0 there is no problem, i follow the procedure find on php web
site, but apxs2 instead apxs
I add the lines, indicate on php site, on my httpd.conf
When I start apache, with apachectl start I view the following error:
Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
/usr/local/apache2/modules/libphp4.so: Undefined symbol
"pthread_getspecific"
/bin/apachectl start: httpd could not be started
where is the problem?!?!
I use FreeBSD OS
Bye Christian
--- End Message ---
--- Begin Message ---
Apache2+PHP is not fully baked yet. Unless you have some very specific
technical requirement for Apache 2, stick with the loatest stable Apache
1.3.x.
-Rasmus
On Sun, 5 May 2002, Christian wrote:
> I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation of
> php 4.2.0 there is no problem, i follow the procedure find on php web
> site, but apxs2 instead apxs
>
> I add the lines, indicate on php site, on my httpd.conf
> When I start apache, with apachectl start I view the following error:
>
> Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/libphp4.so into server:
> /usr/local/apache2/modules/libphp4.so: Undefined symbol
> "pthread_getspecific"
> /bin/apachectl start: httpd could not be started
>
>
> where is the problem?!?!
> I use FreeBSD OS
>
> Bye Christian
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I had a simiar problem with php and apache 1.3x
on Sol 8.
----- Original Message -----
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Christian" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, May 05, 2002 6:47 PM
Subject: Re: [PHP-INST] php 4.2.0 install problem
> Apache2+PHP is not fully baked yet. Unless you have some very specific
> technical requirement for Apache 2, stick with the loatest stable Apache
> 1.3.x.
>
> -Rasmus
>
> On Sun, 5 May 2002, Christian wrote:
>
> > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation of
> > php 4.2.0 there is no problem, i follow the procedure find on php web
> > site, but apxs2 instead apxs
> >
> > I add the lines, indicate on php site, on my httpd.conf
> > When I start apache, with apachectl start I view the following error:
> >
> > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > "pthread_getspecific"
> > /bin/apachectl start: httpd could not be started
> >
> >
> > where is the problem?!?!
> > I use FreeBSD OS
> >
> > Bye Christian
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
You shouldn't have since neither Apache nor PHP uses pthreads.
On Sun, 5 May 2002, Richard Anglin wrote:
> I had a simiar problem with php and apache 1.3x
> on Sol 8.
>
>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Christian" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Sunday, May 05, 2002 6:47 PM
> Subject: Re: [PHP-INST] php 4.2.0 install problem
>
>
> > Apache2+PHP is not fully baked yet. Unless you have some very specific
> > technical requirement for Apache 2, stick with the loatest stable Apache
> > 1.3.x.
> >
> > -Rasmus
> >
> > On Sun, 5 May 2002, Christian wrote:
> >
> > > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation of
> > > php 4.2.0 there is no problem, i follow the procedure find on php web
> > > site, but apxs2 instead apxs
> > >
> > > I add the lines, indicate on php site, on my httpd.conf
> > > When I start apache, with apachectl start I view the following error:
> > >
> > > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > > "pthread_getspecific"
> > > /bin/apachectl start: httpd could not be started
> > >
> > >
> > > where is the problem?!?!
> > > I use FreeBSD OS
> > >
> > > Bye Christian
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
here is the icluded mal expalining the problem.
help!!!
...
i am getting prob starting apache after compiling/installing php:
here is the output :
# more typescript
Script started on Sat May 04 01:21:40 2002
isis[root]10> ./apachectl start
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin
/httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so: symbol
zif
_ob_get_status: referenced symbol not found
./apachectl start: httpd could not be started
isis[root]11> exit
...and my env. variables.
# env
HOME=/
HZ=100
LD_LIBRARY_PATH=:/usr/local/mysql/lib:/usr/apache/libexec:/usr/lib
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/man:/usr/local/man:/usr/openwin/man:/apps/X11R5/usr/man
PATH=/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin:/usr/local/etc:/usr/sbin:/us
r/
PWD=/etc/apache
SHELL=/bin/csh
TERM=vt220
TZ=US/Eastern
USER=root
_INIT_NET_STRATEGY=none
_INIT_PREV_LEVEL=S
_INIT_RUN_LEVEL=3
_INIT_RUN_NPREV=0
_INIT_UTS_ISA=sparc
_INIT_UTS_MACHINE=sun4m
_INIT_UTS_NODENAME=isis
_INIT_UTS_PLATFORM=SUNW,SPARCstation-20
_INIT_UTS_RELEASE=5.8
_INIT_UTS_SYSNAME=SunOS
_INIT_UTS_VERSION=Generic
----- Original Message -----
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Richard Anglin" <[EMAIL PROTECTED]>
Cc: "Christian" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 05, 2002 11:22 PM
Subject: Re: [PHP-INST] php 4.2.0 install problem
> You shouldn't have since neither Apache nor PHP uses pthreads.
>
> On Sun, 5 May 2002, Richard Anglin wrote:
>
> > I had a simiar problem with php and apache 1.3x
> > on Sol 8.
> >
> >
> > ----- Original Message -----
> > From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> > To: "Christian" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Sunday, May 05, 2002 6:47 PM
> > Subject: Re: [PHP-INST] php 4.2.0 install problem
> >
> >
> > > Apache2+PHP is not fully baked yet. Unless you have some very
specific
> > > technical requirement for Apache 2, stick with the loatest stable
Apache
> > > 1.3.x.
> > >
> > > -Rasmus
> > >
> > > On Sun, 5 May 2002, Christian wrote:
> > >
> > > > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation
of
> > > > php 4.2.0 there is no problem, i follow the procedure find on php
web
> > > > site, but apxs2 instead apxs
> > > >
> > > > I add the lines, indicate on php site, on my httpd.conf
> > > > When I start apache, with apachectl start I view the following
error:
> > > >
> > > > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > > > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > > > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > > > "pthread_getspecific"
> > > > /bin/apachectl start: httpd could not be started
> > > >
> > > >
> > > > where is the problem?!?!
> > > > I use FreeBSD OS
> > > >
> > > > Bye Christian
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
How is that the same thing? That is a completely different symbol. In
your case a simple "rm config.cache && make clean" and a rebuild should
fix it.
-Rasmus
On Sun, 5 May 2002, Richard Anglin wrote:
> here is the icluded mal expalining the problem.
> help!!!
>
> ...
>
> i am getting prob starting apache after compiling/installing php:
>
> here is the output :
>
> # more typescript
>
> Script started on Sat May 04 01:21:40 2002
>
> isis[root]10> ./apachectl start
>
> Syntax error on line 235 of /etc/apache/httpd.conf:
>
> Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/apache/bin
>
> /httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so: symbol
> zif
>
> _ob_get_status: referenced symbol not found
>
> ./apachectl start: httpd could not be started
>
> isis[root]11> exit
>
> ...and my env. variables.
>
>
> # env
>
> HOME=/
>
> HZ=100
>
> LD_LIBRARY_PATH=:/usr/local/mysql/lib:/usr/apache/libexec:/usr/lib
>
> LOGNAME=root
>
> MAIL=/var/mail/root
>
> MANPATH=/usr/man:/usr/local/man:/usr/openwin/man:/apps/X11R5/usr/man
>
> PATH=/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin:/usr/local/etc:/usr/sbin:/us
> r/
>
> PWD=/etc/apache
>
> SHELL=/bin/csh
>
> TERM=vt220
>
> TZ=US/Eastern
>
> USER=root
>
> _INIT_NET_STRATEGY=none
>
> _INIT_PREV_LEVEL=S
>
> _INIT_RUN_LEVEL=3
>
> _INIT_RUN_NPREV=0
>
> _INIT_UTS_ISA=sparc
>
> _INIT_UTS_MACHINE=sun4m
>
> _INIT_UTS_NODENAME=isis
>
> _INIT_UTS_PLATFORM=SUNW,SPARCstation-20
>
> _INIT_UTS_RELEASE=5.8
>
> _INIT_UTS_SYSNAME=SunOS
>
> _INIT_UTS_VERSION=Generic
>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Richard Anglin" <[EMAIL PROTECTED]>
> Cc: "Christian" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, May 05, 2002 11:22 PM
> Subject: Re: [PHP-INST] php 4.2.0 install problem
>
>
> > You shouldn't have since neither Apache nor PHP uses pthreads.
> >
> > On Sun, 5 May 2002, Richard Anglin wrote:
> >
> > > I had a simiar problem with php and apache 1.3x
> > > on Sol 8.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> > > To: "Christian" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Sunday, May 05, 2002 6:47 PM
> > > Subject: Re: [PHP-INST] php 4.2.0 install problem
> > >
> > >
> > > > Apache2+PHP is not fully baked yet. Unless you have some very
> specific
> > > > technical requirement for Apache 2, stick with the loatest stable
> Apache
> > > > 1.3.x.
> > > >
> > > > -Rasmus
> > > >
> > > > On Sun, 5 May 2002, Christian wrote:
> > > >
> > > > > I' ll install httpd-2.0.35 with php 4.2.0. Durind tha installation
> of
> > > > > php 4.2.0 there is no problem, i follow the procedure find on php
> web
> > > > > site, but apxs2 instead apxs
> > > > >
> > > > > I add the lines, indicate on php site, on my httpd.conf
> > > > > When I start apache, with apachectl start I view the following
> error:
> > > > >
> > > > > Syntax error on line 217 of /usr/local/apache2/conf/httpd.conf:
> > > > > Cannot load /usr/local/apache2/modules/libphp4.so into server:
> > > > > /usr/local/apache2/modules/libphp4.so: Undefined symbol
> > > > > "pthread_getspecific"
> > > > > /bin/apachectl start: httpd could not be started
> > > > >
> > > > >
> > > > > where is the problem?!?!
> > > > > I use FreeBSD OS
> > > > >
> > > > > Bye Christian
> > > > >
> > > > >
> > > > > --
> > > > > PHP Install Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Does anybody now how to configure httpd to make it work. All manuals refer
to Apache 1.3 and those instruction do not work on Apache 2.0.
--- End Message ---
--- Begin Message ---
Does anybody know how to cofigure this version of Apache for PHP? all the
instructions seem to be for version 1.3
--- End Message ---
--- Begin Message ---
Does anybody know how to install it on Apache 2.0.35; all the instructions
seem to be for version 1.3
--- End Message ---
--- Begin Message ---
I used - LoadModule php4_module C:\Program Files\Apache
Group\Apache\php-4.2.0-Win32\experimental\apache2filter.dll. But then when I
do an Apache -K start I get the following error message: "Load Module takes
two arguments, a module name and the name of a shared object file to load it
from"
Where am I going wrong?
--- End Message ---
--- Begin Message ---
Does anybody know how to configure httpd on apache version 2.0.25. All the
references on PHP are about Apache version 1.3 and thoxe instructions do not
work.
--- End Message ---
--- Begin Message ---
here are my settings:
httpd.conf:
=======================
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
php.ini (located in c:\windows):
========================
doc_root=c:\progra~1\apache~1\apache2\htdocs
extension_dir=c:\php\extensions
The Error:
=========================
Syntax error on line 180 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: One of the library files needed to
run this application cannot be found.
The Platform/Apps:
=========================
Windows 98se 768mb ram 1.2ghz athlon
Apache 2.0.35
MySql 3.23.49
and PHP 4
Can anyone Help?
-The Riddler
--- End Message ---
--- Begin Message ---
here are my settings:
httpd.conf:
=======================
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
php.ini (located in c:\windows):
========================
doc_root=c:\progra~1\apache~1\apache2\htdocs
extension_dir=c:\php\extensions
The Error:
=========================
Syntax error on line 180 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: One of the library files
needed to run this application cannot be found.
The Platform/Apps:
=========================
Windows 98se 768mb ram 1.2ghz athlon
Apache 2.0.35
MySql 3.23.49
and PHP 4
Can anyone Help?
-The Riddler
--- End Message ---
--- Begin Message ---
here are my settings:
httpd.conf:
=======================
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
php.ini (located in c:\windows):
========================
doc_root=c:\progra~1\apache~1\apache2\htdocs
extension_dir=c:\php\extensions
The Error:
=========================
Syntax error on line 180 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: One of the library files
needed to run this application cannot be found.
The Platform/Apps:
=========================
Windows 98se 768mb ram 1.2ghz athlon
Apache 2.0.35
MySql 3.23.49
and PHP 4
Can anyone Help?
-The Riddler
--- End Message ---
--- Begin Message ---
Hello.
I am having some issues with Apache 2.0.35 segfaulting when it tries to
load the PHP 4.2.0 module. I start httpd, and it returns with no error
messages in the error log or to standard out. (I am running Mandrake 8.2,
2.4.18), but there are NO httpd processes running.
If I run 'httpd -X', I get a segfault message.
I then removed the LoadModule line from my httpd.conf and httpd started
and did not segfault. So I am pretty sure this has to do with the PHP
module.
I decided to do a bt in gdb for some extra info:
(gdb) run -X
Starting program: /usr/local/apache/conf/../bin/httpd -X
[New Thread 1024 (LWP 27916)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 27916)]
0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
310
TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id,
thread_resources->count);
(gdb) bt
#0 0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
#1 0x40291b0a in php_module_startup (sf=0x4034f6a0) at main.c:856
#2 0x4028f7ec in php_apache_server_startup (pconf=0x80b6380,
plog=0x80ee460,
ptemp=0x8140b70, s=0x81431d8) at sapi_apache2.c:442
#3 0x0807baa3 in ap_run_post_config (pconf=0x80b6380, plog=0x80ee460,
ptemp=0x8140b70, s=0x81431d8) at config.c:127
#4 0x08080908 in main (argc=2, argv=0xbffff834) at main.c:611
#5 0x40118280 in __libc_start_main () from /lib/libc.so.6
So now.. any advice on how to fix this problem? I would really love to
keep Apache 2.0 and not go back to Apache 1.3.X.
Thanks in advance!
-Tanya
--- End Message ---