php-install Digest 20 May 2002 06:46:07 -0000 Issue 844
Topics (messages 7035 through 7045):
My Apache 2 server won't restart
7035 by: Steve Mosley
7036 by: Steve Mosley
7042 by: MikeParton
Version 4.2.0 - phpinfo() shows the old build information after rebuild
7037 by: Deniz
Re: [PHP-QA] Version 4.2.0 - phpinfo() shows the old build information after rebuild
7038 by: Markus Fischer
7039 by: Deniz
7040 by: Liz
7043 by: Deniz
7044 by: Jason Reid
7045 by: Deniz
Re: php4.2,win2k,xitami, headache!
7041 by: Erik
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 ---
Hi,
I've just tried to setup PHP 4.2.0 with apache 2 and after editing all
the ini files my apache server won't restart.
Please help!
Cheers,
____________________________________ ______________________
/ / /\====================/\
/ Steve Mosley. BPharm MRPharmS / /\/ /\/
/\ /\ \/ visit /\/
\/ [EMAIL PROTECTED] \/ / /\/ #
/ / / www.darckense.com /\/ ##
/___________________________________/ /____________________\/ ###
--- End Message ---
--- Begin Message ---
Still no joy I'm afraid.
Here's a step by step list of what I've got and what I've done.
I run Win XP Pro on a PIII 750Mhz with 640MB RAM
I have installed Apache 2.0.35 win32 binary with the the server root as
d:\darckense.com
This works fine.
I have then installed PHP 4.2.1 and followed the instructions in the
apache installation section of the install.txt. Specifically:
My install directory is C:\PHP
I copied php.ini to my c:\windows folder
I changed the extension_dir to c:\php\entensions
I changed the docroot to d:\darckense.com
On Apache, I edited the httpd.conf file:
LoadModule php4_module c:/php/sapi/php4apachi.dll
AddType application/x-httpd-php .php .phtml
This didn't work so I installed php 4.2.1 but it still doesn't work.
-----Original Message-----
From: MikeParton [mailto:[EMAIL PROTECTED]]
Sent: 19 May 2002 20:30
To: Steve Mosley
Subject: Re: [PHP-INST] My Apache 2 server won't restart
For php 4.2.0, you have to use the experimental apache filter found in
the
experimental folder in your php directory.
Copy the file apache2filter.dll from the experimental folder to the sapi
folder and modify your apache httpd.conf file to look like this:
LoadModule php4_module "C:/program files/php/sapi/apache2filter.dll"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
If you upgrade to php 4.2.1, your original httpd.conf lines will work.
----- Original Message -----
From: "Steve Mosley" <[EMAIL PROTECTED]>
To: "'MikeParton'" <[EMAIL PROTECTED]>
Sent: Sunday, May 19, 2002 2:30 PM
Subject: RE: [PHP-INST] My Apache 2 server won't restart
> I've got the following additional lines in my httpd.conf file
>
> LoadModule php4_module c:/php/sapi/php4apachi.dll
>
> And
>
> AddType application/x-httpd-php .php
>
> What line do I need to load the apache2filter.dll, or do I load that
> instead of php4apachi.dll?
>
> Or am I way off the beaten track here?
>
> Cheers,
>
>
> ____________________________________ ______________________
> / / /\====================/\
> / Steve Mosley. BPharm MRPharmS / /\/ /\/
> /\ /\ \/ visit /\/
> \/ [EMAIL PROTECTED] \/ / /\/ #
> / / / www.darckense.com /\/ ##
> /___________________________________/ /____________________\/ ###
>
>
>
--- End Message ---
--- Begin Message ---
Are the typos in your message below limited to this message or are they
incorrect in your php.ini and httpd.conf files as well?
Specifically:
php4apachi.dll sb==> php4apache.dll
c:\php\entensions sb==> c:\php\extensions
I changed the docroot to d:\darckense.com sb==> d:\darskense (I believe)
HTH
----- Original Message -----
From: "Steve Mosley" <[EMAIL PROTECTED]>
To: "'MikeParton'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 19, 2002 4:05 PM
Subject: RE: [PHP-INST] My Apache 2 server won't restart
> Still no joy I'm afraid.
>
>
> Here's a step by step list of what I've got and what I've done.
>
> I run Win XP Pro on a PIII 750Mhz with 640MB RAM
>
> I have installed Apache 2.0.35 win32 binary with the the server root as
> d:\darckense.com
>
> This works fine.
>
> I have then installed PHP 4.2.1 and followed the instructions in the
> apache installation section of the install.txt. Specifically:
>
> My install directory is C:\PHP
> I copied php.ini to my c:\windows folder
> I changed the extension_dir to c:\php\entensions
> I changed the docroot to d:\darckense.com
>
> On Apache, I edited the httpd.conf file:
>
> LoadModule php4_module c:/php/sapi/php4apachi.dll
> AddType application/x-httpd-php .php .phtml
>
> This didn't work so I installed php 4.2.1 but it still doesn't work.
>
>
>
>
> -----Original Message-----
> From: MikeParton [mailto:[EMAIL PROTECTED]]
> Sent: 19 May 2002 20:30
> To: Steve Mosley
> Subject: Re: [PHP-INST] My Apache 2 server won't restart
>
>
> For php 4.2.0, you have to use the experimental apache filter found in
> the
> experimental folder in your php directory.
>
> Copy the file apache2filter.dll from the experimental folder to the sapi
> folder and modify your apache httpd.conf file to look like this:
>
> LoadModule php4_module "C:/program files/php/sapi/apache2filter.dll"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
>
> If you upgrade to php 4.2.1, your original httpd.conf lines will work.
>
>
> ----- Original Message -----
> From: "Steve Mosley" <[EMAIL PROTECTED]>
> To: "'MikeParton'" <[EMAIL PROTECTED]>
> Sent: Sunday, May 19, 2002 2:30 PM
> Subject: RE: [PHP-INST] My Apache 2 server won't restart
>
>
> > I've got the following additional lines in my httpd.conf file
> >
> > LoadModule php4_module c:/php/sapi/php4apachi.dll
> >
> > And
> >
> > AddType application/x-httpd-php .php
> >
> > What line do I need to load the apache2filter.dll, or do I load that
> > instead of php4apachi.dll?
> >
> > Or am I way off the beaten track here?
> >
> > Cheers,
> >
> >
> > ____________________________________ ______________________
> > / / /\====================/\
> > / Steve Mosley. BPharm MRPharmS / /\/ /\/
> > /\ /\ \/ visit /\/
> > \/ [EMAIL PROTECTED] \/ / /\/ #
> > / / / www.darckense.com /\/ ##
> > /___________________________________/ /____________________\/ ###
> >
> >
> >
>
>
>
>
--- End Message ---
--- Begin Message ---
System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
Original configuration
Apache_1.3.24 (with openSSL and modssl)
php-4.2.0
MySQL Ver 11.17 Distrib 3.23.49a
This configuration is working fine since the original installation.
Php was configured with:
./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache
_1.3.24 --enable-track-vars
So,
I decided to enable sockets and add IMAP support
so I extracted the source and I built imap with
>make slx
Until here everything worked and built totally fine without errors.
The problem started with my attempt to rebuild PHP
I am almost about to give up this whole thing.
I tried acouple of things and they didn't work. And from the mailing lists
that I've read I guess the following should be the error proof one. (Which
unfortunately doesn't work for me I still get the original configuration
information with the phpinfo())
:stop Apache service
>/usr/local/apache/bin/apachectl stop
:remove old lib file
>rm /usr/loca/apache/libexec/libphp4.so
:go to source file directory
>cd /download/php-4.2.0
:run configure with new options
>./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-cli
ent --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/a
pxs
:No errors! So continue with make
>make clean
>make
>make install
:everything finishes without errors, copy the new php.ini
>cp php.ini-dist /usr/local/lib/php.ini
:run httpd -l to double check
/usr/local/apache/bin# ./httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
:It seems ok!
:Start apache service
/usr/local/apache/bin/apachectl startssl
:It started successfully
Now When I check with the phpinfo(), and I delete all browser cache files
bla bla bla, check with 3 different broswers (IE, Netscape, lynx) and
everytime I check I get the original installation information with the
previous "Build Date" something like this (Lynx output)
PHP Version 4.2.0
System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
GenuineIntel
Build Date May 2 2002 16:53:30
Configure Command './configure' '--with-mysql=/usr/local/mysql'
'--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
Debug Build no
Thread Safety disabled
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
============================================================
Please, any idea will be appreciated!
I am new to linux/unix environment so I am kinda stuck without any ideas.
Thank you
--- End Message ---
--- Begin Message ---
Hi,
more important is, were the new extension included or not? If
just the build old it may be an unwanted side effect.
- Markus
On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> Original configuration
> Apache_1.3.24 (with openSSL and modssl)
> php-4.2.0
> MySQL Ver 11.17 Distrib 3.23.49a
>
> This configuration is working fine since the original installation.
> Php was configured with:
> ./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache
> _1.3.24 --enable-track-vars
>
> So,
> I decided to enable sockets and add IMAP support
> so I extracted the source and I built imap with
> >make slx
>
> Until here everything worked and built totally fine without errors.
> The problem started with my attempt to rebuild PHP
> I am almost about to give up this whole thing.
>
> I tried acouple of things and they didn't work. And from the mailing lists
> that I've read I guess the following should be the error proof one. (Which
> unfortunately doesn't work for me I still get the original configuration
> information with the phpinfo())
>
> :stop Apache service
> >/usr/local/apache/bin/apachectl stop
>
> :remove old lib file
> >rm /usr/loca/apache/libexec/libphp4.so
>
> :go to source file directory
> >cd /download/php-4.2.0
>
> :run configure with new options
> >./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-cli
> ent --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/a
> pxs
>
> :No errors! So continue with make
> >make clean
> >make
> >make install
>
> :everything finishes without errors, copy the new php.ini
> >cp php.ini-dist /usr/local/lib/php.ini
>
> :run httpd -l to double check
> /usr/local/apache/bin# ./httpd -l
> Compiled-in modules:
> http_core.c
> mod_env.c
> mod_log_config.c
> mod_mime.c
> mod_negotiation.c
> mod_status.c
> mod_include.c
> mod_autoindex.c
> mod_dir.c
> mod_cgi.c
> mod_asis.c
> mod_imap.c
> mod_actions.c
> mod_userdir.c
> mod_alias.c
> mod_access.c
> mod_auth.c
> mod_so.c
> mod_setenvif.c
> mod_php4.c
> suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
>
> :It seems ok!
> :Start apache service
> /usr/local/apache/bin/apachectl startssl
>
> :It started successfully
>
> Now When I check with the phpinfo(), and I delete all browser cache files
> bla bla bla, check with 3 different broswers (IE, Netscape, lynx) and
> everytime I check I get the original installation information with the
> previous "Build Date" something like this (Lynx output)
>
> PHP Version 4.2.0
>
> System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> GenuineIntel
> Build Date May 2 2002 16:53:30
> Configure Command './configure' '--with-mysql=/usr/local/mysql'
> '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> Server API Apache
> Virtual Directory Support disabled
> Configuration File (php.ini) Path /usr/local/lib/php.ini
> Debug Build no
> Thread Safety disabled
>
> Zend logo This program makes use of the Zend Scripting Language Engine:
> Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> ============================================================
> Please, any idea will be appreciated!
> I am new to linux/unix environment so I am kinda stuck without any ideas.
>
> Thank you
>
>
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
---------------------------------------------------------
"I mean "When in doubt, blame mcrypt" is more often right than wrong :)"
"Always right, never wrong :)"
- Two PHP developers who want to remain unnamed
--- End Message ---
--- Begin Message ---
The following lines from "make install" command, shows that it is
installing.
I the method I explained in this email was almost doing a re-install so I
really don't understand why it's not working.
Doesn't the phpinfo() read this information from libphp4.so ? (And that file
is recreated, because I deleted it before installing again)
If upgrading doesn't work, how can delete everything about the old
installation and do a clean install?
I already tried deleting /usr/loca/lib/php and /usr/local/include/php
directories and did the last installation like that.
----This is what it says during make install --------------------
Making install in imap
make[2]: Entering directory `/root/download/php-4.2.0/ext/imap'
make[3]: Entering directory `/root/download/php-4.2.0/ext/imap'
make[3]: Nothing to be done for `install-p'.
make[3]: Leaving directory `/root/download/php-4.2.0/ext/imap'
make[2]: Leaving directory `/root/download/php-4.2.0/ext/imap'
Making install in sockets
make[2]: Entering directory `/root/download/php-4.2.0/ext/sockets'
make[3]: Entering directory `/root/download/php-4.2.0/ext/sockets'
make[3]: Nothing to be done for `install-p'.
make[3]: Leaving directory `/root/download/php-4.2.0/ext/sockets'
make[2]: Leaving directory `/root/download/php-4.2.0/ext/sockets'
"Markus Fischer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> more important is, were the new extension included or not? If
> just the build old it may be an unwanted side effect.
>
> - Markus
>
> On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > Original configuration
> > Apache_1.3.24 (with openSSL and modssl)
> > php-4.2.0
> > MySQL Ver 11.17 Distrib 3.23.49a
> >
> > This configuration is working fine since the original installation.
> > Php was configured with:
> >
./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache
> > _1.3.24 --enable-track-vars
> >
> > So,
> > I decided to enable sockets and add IMAP support
> > so I extracted the source and I built imap with
> > >make slx
> >
> > Until here everything worked and built totally fine without errors.
> > The problem started with my attempt to rebuild PHP
> > I am almost about to give up this whole thing.
> >
> > I tried acouple of things and they didn't work. And from the mailing
lists
> > that I've read I guess the following should be the error proof one.
(Which
> > unfortunately doesn't work for me I still get the original configuration
> > information with the phpinfo())
> >
> > :stop Apache service
> > >/usr/local/apache/bin/apachectl stop
> >
> > :remove old lib file
> > >rm /usr/loca/apache/libexec/libphp4.so
> >
> > :go to source file directory
> > >cd /download/php-4.2.0
> >
> > :run configure with new options
> >
>./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-cli
> >
ent --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/a
> > pxs
> >
> > :No errors! So continue with make
> > >make clean
> > >make
> > >make install
> >
> > :everything finishes without errors, copy the new php.ini
> > >cp php.ini-dist /usr/local/lib/php.ini
> >
> > :run httpd -l to double check
> > /usr/local/apache/bin# ./httpd -l
> > Compiled-in modules:
> > http_core.c
> > mod_env.c
> > mod_log_config.c
> > mod_mime.c
> > mod_negotiation.c
> > mod_status.c
> > mod_include.c
> > mod_autoindex.c
> > mod_dir.c
> > mod_cgi.c
> > mod_asis.c
> > mod_imap.c
> > mod_actions.c
> > mod_userdir.c
> > mod_alias.c
> > mod_access.c
> > mod_auth.c
> > mod_so.c
> > mod_setenvif.c
> > mod_php4.c
> > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> >
> > :It seems ok!
> > :Start apache service
> > /usr/local/apache/bin/apachectl startssl
> >
> > :It started successfully
> >
> > Now When I check with the phpinfo(), and I delete all browser cache
files
> > bla bla bla, check with 3 different broswers (IE, Netscape, lynx) and
> > everytime I check I get the original installation information with the
> > previous "Build Date" something like this (Lynx output)
> >
> > PHP Version 4.2.0
> >
> > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > GenuineIntel
> > Build Date May 2 2002 16:53:30
> > Configure Command './configure' '--with-mysql=/usr/local/mysql'
> > '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> > Server API Apache
> > Virtual Directory Support disabled
> > Configuration File (php.ini) Path /usr/local/lib/php.ini
> > Debug Build no
> > Thread Safety disabled
> >
> > Zend logo This program makes use of the Zend Scripting Language Engine:
> > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> > ============================================================
> > Please, any idea will be appreciated!
> > I am new to linux/unix environment so I am kinda stuck without any
ideas.
> >
> > Thank you
> >
> >
> >
> > --
> > PHP Quality Assurance Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Please always Cc to me when replying to me on the lists.
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> ---------------------------------------------------------
> "I mean "When in doubt, blame mcrypt" is more often right than wrong :)"
> "Always right, never wrong :)"
> - Two PHP developers who want to remain unnamed
--- End Message ---
--- Begin Message ---
Oddly, mine has actually worked and displayed changes..
> -----Original Message-----
> From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 19, 2002 11:18 PM
> To: Deniz
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
> build information after rebuild
>
>
> Hi,
>
> more important is, were the new extension included or not? If
> just the build old it may be an unwanted side effect.
>
> - Markus
>
> On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > Original configuration
> > Apache_1.3.24 (with openSSL and modssl)
> > php-4.2.0
> > MySQL Ver 11.17 Distrib 3.23.49a
> >
> > This configuration is working fine since the original installation.
> > Php was configured with:
> > ./configure --with-mysql=/usr/local/mysql --with-xml
> --with-apache=../apache
> > _1.3.24 --enable-track-vars
> >
> > So,
> > I decided to enable sockets and add IMAP support
> > so I extracted the source and I built imap with
> > >make slx
> >
> > Until here everything worked and built totally fine without errors.
> > The problem started with my attempt to rebuild PHP
> > I am almost about to give up this whole thing.
> >
> > I tried acouple of things and they didn't work. And from
> the mailing lists
> > that I've read I guess the following should be the error
> proof one. (Which
> > unfortunately doesn't work for me I still get the original
> configuration
> > information with the phpinfo())
> >
> > :stop Apache service
> > >/usr/local/apache/bin/apachectl stop
> >
> > :remove old lib file
> > >rm /usr/loca/apache/libexec/libphp4.so
> >
> > :go to source file directory
> > >cd /download/php-4.2.0
> >
> > :run configure with new options
> > >./configure --with-mysql --with-xml
> --with-imap=/usr/local/imap-2001a/c-cli
> > ent --enable-sockets --enable-track-vars
> --with-apxs=/usr/local/apache/bin/a
> > pxs
> >
> > :No errors! So continue with make
> > >make clean
> > >make
> > >make install
> >
> > :everything finishes without errors, copy the new php.ini
> > >cp php.ini-dist /usr/local/lib/php.ini
> >
> > :run httpd -l to double check
> > /usr/local/apache/bin# ./httpd -l
> > Compiled-in modules:
> > http_core.c
> > mod_env.c
> > mod_log_config.c
> > mod_mime.c
> > mod_negotiation.c
> > mod_status.c
> > mod_include.c
> > mod_autoindex.c
> > mod_dir.c
> > mod_cgi.c
> > mod_asis.c
> > mod_imap.c
> > mod_actions.c
> > mod_userdir.c
> > mod_alias.c
> > mod_access.c
> > mod_auth.c
> > mod_so.c
> > mod_setenvif.c
> > mod_php4.c
> > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> >
> > :It seems ok!
> > :Start apache service
> > /usr/local/apache/bin/apachectl startssl
> >
> > :It started successfully
> >
> > Now When I check with the phpinfo(), and I delete all
> browser cache files
> > bla bla bla, check with 3 different broswers (IE, Netscape,
> lynx) and
> > everytime I check I get the original installation
> information with the
> > previous "Build Date" something like this (Lynx output)
> >
> > PHP Version 4.2.0
> >
> > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > GenuineIntel
> > Build Date May 2 2002 16:53:30
> > Configure Command './configure' '--with-mysql=/usr/local/mysql'
> > '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> > Server API Apache
> > Virtual Directory Support disabled
> > Configuration File (php.ini) Path /usr/local/lib/php.ini
> > Debug Build no
> > Thread Safety disabled
> >
> > Zend logo This program makes use of the Zend Scripting
> Language Engine:
> > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> > ============================================================
> > Please, any idea will be appreciated!
> > I am new to linux/unix environment so I am kinda stuck
> without any ideas.
> >
> > Thank you
> >
> >
> >
> > --
> > PHP Quality Assurance Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Please always Cc to me when replying to me on the lists.
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> ---------------------------------------------------------
> "I mean "When in doubt, blame mcrypt" is more often right
> than wrong :)"
> "Always right, never wrong :)"
> - Two PHP developers who want to remain unnamed
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Did you have the same problem?
Or did you follow the same steps to update?
-d
"Liz" <[EMAIL PROTECTED]> wrote in message
000101c1ff87$2d071030$6864a8c0@excalibur">news:000101c1ff87$2d071030$6864a8c0@excalibur...
> Oddly, mine has actually worked and displayed changes..
>
> > -----Original Message-----
> > From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, May 19, 2002 11:18 PM
> > To: Deniz
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
> > build information after rebuild
> >
> >
> > Hi,
> >
> > more important is, were the new extension included or not? If
> > just the build old it may be an unwanted side effect.
> >
> > - Markus
> >
> > On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> > > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > Original configuration
> > > Apache_1.3.24 (with openSSL and modssl)
> > > php-4.2.0
> > > MySQL Ver 11.17 Distrib 3.23.49a
> > >
> > > This configuration is working fine since the original installation.
> > > Php was configured with:
> > > ./configure --with-mysql=/usr/local/mysql --with-xml
> > --with-apache=../apache
> > > _1.3.24 --enable-track-vars
> > >
> > > So,
> > > I decided to enable sockets and add IMAP support
> > > so I extracted the source and I built imap with
> > > >make slx
> > >
> > > Until here everything worked and built totally fine without errors.
> > > The problem started with my attempt to rebuild PHP
> > > I am almost about to give up this whole thing.
> > >
> > > I tried acouple of things and they didn't work. And from
> > the mailing lists
> > > that I've read I guess the following should be the error
> > proof one. (Which
> > > unfortunately doesn't work for me I still get the original
> > configuration
> > > information with the phpinfo())
> > >
> > > :stop Apache service
> > > >/usr/local/apache/bin/apachectl stop
> > >
> > > :remove old lib file
> > > >rm /usr/loca/apache/libexec/libphp4.so
> > >
> > > :go to source file directory
> > > >cd /download/php-4.2.0
> > >
> > > :run configure with new options
> > > >./configure --with-mysql --with-xml
> > --with-imap=/usr/local/imap-2001a/c-cli
> > > ent --enable-sockets --enable-track-vars
> > --with-apxs=/usr/local/apache/bin/a
> > > pxs
> > >
> > > :No errors! So continue with make
> > > >make clean
> > > >make
> > > >make install
> > >
> > > :everything finishes without errors, copy the new php.ini
> > > >cp php.ini-dist /usr/local/lib/php.ini
> > >
> > > :run httpd -l to double check
> > > /usr/local/apache/bin# ./httpd -l
> > > Compiled-in modules:
> > > http_core.c
> > > mod_env.c
> > > mod_log_config.c
> > > mod_mime.c
> > > mod_negotiation.c
> > > mod_status.c
> > > mod_include.c
> > > mod_autoindex.c
> > > mod_dir.c
> > > mod_cgi.c
> > > mod_asis.c
> > > mod_imap.c
> > > mod_actions.c
> > > mod_userdir.c
> > > mod_alias.c
> > > mod_access.c
> > > mod_auth.c
> > > mod_so.c
> > > mod_setenvif.c
> > > mod_php4.c
> > > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> > >
> > > :It seems ok!
> > > :Start apache service
> > > /usr/local/apache/bin/apachectl startssl
> > >
> > > :It started successfully
> > >
> > > Now When I check with the phpinfo(), and I delete all
> > browser cache files
> > > bla bla bla, check with 3 different broswers (IE, Netscape,
> > lynx) and
> > > everytime I check I get the original installation
> > information with the
> > > previous "Build Date" something like this (Lynx output)
> > >
> > > PHP Version 4.2.0
> > >
> > > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > GenuineIntel
> > > Build Date May 2 2002 16:53:30
> > > Configure Command './configure' '--with-mysql=/usr/local/mysql'
> > > '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> > > Server API Apache
> > > Virtual Directory Support disabled
> > > Configuration File (php.ini) Path /usr/local/lib/php.ini
> > > Debug Build no
> > > Thread Safety disabled
> > >
> > > Zend logo This program makes use of the Zend Scripting
> > Language Engine:
> > > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> > > ============================================================
> > > Please, any idea will be appreciated!
> > > I am new to linux/unix environment so I am kinda stuck
> > without any ideas.
> > >
> > > Thank you
> > >
> > >
> > >
> > > --
> > > PHP Quality Assurance Mailing List <http://www.php.net/>
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > Please always Cc to me when replying to me on the lists.
> > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> > ---------------------------------------------------------
> > "I mean "When in doubt, blame mcrypt" is more often right
> > than wrong :)"
> > "Always right, never wrong :)"
> > - Two PHP developers who want to remain unnamed
> >
> > --
> > PHP Quality Assurance Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
--- End Message ---
--- Begin Message ---
I've seen the same thing on my servers, though I usually end up playing
around until it works, I've found most often its cause u didnt kill apache
(or one process of it).
Also run a make clean before running the configure, not after. From my
understanding make clean removes any changed or compiled modules from the
src directory.If im incorrect on that, somebody please let me know so I dont
mis inform someone else ;).
Jason Reid
[EMAIL PROTECTED]
----- Original Message -----
From: "Liz" <[EMAIL PROTECTED]>
To: "'Markus Fischer'" <[EMAIL PROTECTED]>; "'Deniz'"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, May 19, 2002 4:47 PM
Subject: [PHP-INST] RE: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
build information after rebuild
> Oddly, mine has actually worked and displayed changes..
>
> > -----Original Message-----
> > From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, May 19, 2002 11:18 PM
> > To: Deniz
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
> > build information after rebuild
> >
> >
> > Hi,
> >
> > more important is, were the new extension included or not? If
> > just the build old it may be an unwanted side effect.
> >
> > - Markus
> >
> > On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> > > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > Original configuration
> > > Apache_1.3.24 (with openSSL and modssl)
> > > php-4.2.0
> > > MySQL Ver 11.17 Distrib 3.23.49a
> > >
> > > This configuration is working fine since the original installation.
> > > Php was configured with:
> > > ./configure --with-mysql=/usr/local/mysql --with-xml
> > --with-apache=../apache
> > > _1.3.24 --enable-track-vars
> > >
> > > So,
> > > I decided to enable sockets and add IMAP support
> > > so I extracted the source and I built imap with
> > > >make slx
> > >
> > > Until here everything worked and built totally fine without errors.
> > > The problem started with my attempt to rebuild PHP
> > > I am almost about to give up this whole thing.
> > >
> > > I tried acouple of things and they didn't work. And from
> > the mailing lists
> > > that I've read I guess the following should be the error
> > proof one. (Which
> > > unfortunately doesn't work for me I still get the original
> > configuration
> > > information with the phpinfo())
> > >
> > > :stop Apache service
> > > >/usr/local/apache/bin/apachectl stop
> > >
> > > :remove old lib file
> > > >rm /usr/loca/apache/libexec/libphp4.so
> > >
> > > :go to source file directory
> > > >cd /download/php-4.2.0
> > >
> > > :run configure with new options
> > > >./configure --with-mysql --with-xml
> > --with-imap=/usr/local/imap-2001a/c-cli
> > > ent --enable-sockets --enable-track-vars
> > --with-apxs=/usr/local/apache/bin/a
> > > pxs
> > >
> > > :No errors! So continue with make
> > > >make clean
> > > >make
> > > >make install
> > >
> > > :everything finishes without errors, copy the new php.ini
> > > >cp php.ini-dist /usr/local/lib/php.ini
> > >
> > > :run httpd -l to double check
> > > /usr/local/apache/bin# ./httpd -l
> > > Compiled-in modules:
> > > http_core.c
> > > mod_env.c
> > > mod_log_config.c
> > > mod_mime.c
> > > mod_negotiation.c
> > > mod_status.c
> > > mod_include.c
> > > mod_autoindex.c
> > > mod_dir.c
> > > mod_cgi.c
> > > mod_asis.c
> > > mod_imap.c
> > > mod_actions.c
> > > mod_userdir.c
> > > mod_alias.c
> > > mod_access.c
> > > mod_auth.c
> > > mod_so.c
> > > mod_setenvif.c
> > > mod_php4.c
> > > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> > >
> > > :It seems ok!
> > > :Start apache service
> > > /usr/local/apache/bin/apachectl startssl
> > >
> > > :It started successfully
> > >
> > > Now When I check with the phpinfo(), and I delete all
> > browser cache files
> > > bla bla bla, check with 3 different broswers (IE, Netscape,
> > lynx) and
> > > everytime I check I get the original installation
> > information with the
> > > previous "Build Date" something like this (Lynx output)
> > >
> > > PHP Version 4.2.0
> > >
> > > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > GenuineIntel
> > > Build Date May 2 2002 16:53:30
> > > Configure Command './configure' '--with-mysql=/usr/local/mysql'
> > > '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> > > Server API Apache
> > > Virtual Directory Support disabled
> > > Configuration File (php.ini) Path /usr/local/lib/php.ini
> > > Debug Build no
> > > Thread Safety disabled
> > >
> > > Zend logo This program makes use of the Zend Scripting
> > Language Engine:
> > > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> > > ============================================================
> > > Please, any idea will be appreciated!
> > > I am new to linux/unix environment so I am kinda stuck
> > without any ideas.
> > >
> > > Thank you
> > >
> > >
> > >
> > > --
> > > PHP Quality Assurance Mailing List <http://www.php.net/>
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > Please always Cc to me when replying to me on the lists.
> > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> > ---------------------------------------------------------
> > "I mean "When in doubt, blame mcrypt" is more often right
> > than wrong :)"
> > "Always right, never wrong :)"
> > - Two PHP developers who want to remain unnamed
> >
> > --
> > PHP Quality Assurance 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 ---
Hi Jason,
thanks for the reply.
I did make sure that no Apache process was running before I started the
reconfig. And I also tried an attempt with make clean before reconfig,
actually I even deleted the whole source directory and unpacked a fresh
download of php-4.2.0.tar.gz just to make sure.
Being a newbie on linux env. there is too much to learn and very little
time. Still trying on my own but got stuck :)
- D
"Jason Reid" <[EMAIL PROTECTED]> wrote in message
002701c1ffa5$cb0f7880$0900a8c0@exumweb">news:002701c1ffa5$cb0f7880$0900a8c0@exumweb...
> I've seen the same thing on my servers, though I usually end up playing
> around until it works, I've found most often its cause u didnt kill apache
> (or one process of it).
>
> Also run a make clean before running the configure, not after. From my
> understanding make clean removes any changed or compiled modules from the
> src directory.If im incorrect on that, somebody please let me know so I
dont
> mis inform someone else ;).
>
> Jason Reid
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Liz" <[EMAIL PROTECTED]>
> To: "'Markus Fischer'" <[EMAIL PROTECTED]>; "'Deniz'"
> <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, May 19, 2002 4:47 PM
> Subject: [PHP-INST] RE: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
> build information after rebuild
>
>
> > Oddly, mine has actually worked and displayed changes..
> >
> > > -----Original Message-----
> > > From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, May 19, 2002 11:18 PM
> > > To: Deniz
> > > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: [PHP-QA] Version 4.2.0 - phpinfo() shows the old
> > > build information after rebuild
> > >
> > >
> > > Hi,
> > >
> > > more important is, were the new extension included or not? If
> > > just the build old it may be an unwanted side effect.
> > >
> > > - Markus
> > >
> > > On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote :
> > > > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > > Original configuration
> > > > Apache_1.3.24 (with openSSL and modssl)
> > > > php-4.2.0
> > > > MySQL Ver 11.17 Distrib 3.23.49a
> > > >
> > > > This configuration is working fine since the original installation.
> > > > Php was configured with:
> > > > ./configure --with-mysql=/usr/local/mysql --with-xml
> > > --with-apache=../apache
> > > > _1.3.24 --enable-track-vars
> > > >
> > > > So,
> > > > I decided to enable sockets and add IMAP support
> > > > so I extracted the source and I built imap with
> > > > >make slx
> > > >
> > > > Until here everything worked and built totally fine without errors.
> > > > The problem started with my attempt to rebuild PHP
> > > > I am almost about to give up this whole thing.
> > > >
> > > > I tried acouple of things and they didn't work. And from
> > > the mailing lists
> > > > that I've read I guess the following should be the error
> > > proof one. (Which
> > > > unfortunately doesn't work for me I still get the original
> > > configuration
> > > > information with the phpinfo())
> > > >
> > > > :stop Apache service
> > > > >/usr/local/apache/bin/apachectl stop
> > > >
> > > > :remove old lib file
> > > > >rm /usr/loca/apache/libexec/libphp4.so
> > > >
> > > > :go to source file directory
> > > > >cd /download/php-4.2.0
> > > >
> > > > :run configure with new options
> > > > >./configure --with-mysql --with-xml
> > > --with-imap=/usr/local/imap-2001a/c-cli
> > > > ent --enable-sockets --enable-track-vars
> > > --with-apxs=/usr/local/apache/bin/a
> > > > pxs
> > > >
> > > > :No errors! So continue with make
> > > > >make clean
> > > > >make
> > > > >make install
> > > >
> > > > :everything finishes without errors, copy the new php.ini
> > > > >cp php.ini-dist /usr/local/lib/php.ini
> > > >
> > > > :run httpd -l to double check
> > > > /usr/local/apache/bin# ./httpd -l
> > > > Compiled-in modules:
> > > > http_core.c
> > > > mod_env.c
> > > > mod_log_config.c
> > > > mod_mime.c
> > > > mod_negotiation.c
> > > > mod_status.c
> > > > mod_include.c
> > > > mod_autoindex.c
> > > > mod_dir.c
> > > > mod_cgi.c
> > > > mod_asis.c
> > > > mod_imap.c
> > > > mod_actions.c
> > > > mod_userdir.c
> > > > mod_alias.c
> > > > mod_access.c
> > > > mod_auth.c
> > > > mod_so.c
> > > > mod_setenvif.c
> > > > mod_php4.c
> > > > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> > > >
> > > > :It seems ok!
> > > > :Start apache service
> > > > /usr/local/apache/bin/apachectl startssl
> > > >
> > > > :It started successfully
> > > >
> > > > Now When I check with the phpinfo(), and I delete all
> > > browser cache files
> > > > bla bla bla, check with 3 different broswers (IE, Netscape,
> > > lynx) and
> > > > everytime I check I get the original installation
> > > information with the
> > > > previous "Build Date" something like this (Lynx output)
> > > >
> > > > PHP Version 4.2.0
> > > >
> > > > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586
> > > > GenuineIntel
> > > > Build Date May 2 2002 16:53:30
> > > > Configure Command './configure' '--with-mysql=/usr/local/mysql'
> > > > '--with-xml' '--with-apache=../apache_1.3.24' '--enable-track-vars'
> > > > Server API Apache
> > > > Virtual Directory Support disabled
> > > > Configuration File (php.ini) Path /usr/local/lib/php.ini
> > > > Debug Build no
> > > > Thread Safety disabled
> > > >
> > > > Zend logo This program makes use of the Zend Scripting
> > > Language Engine:
> > > > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
> > > > ============================================================
> > > > Please, any idea will be appreciated!
> > > > I am new to linux/unix environment so I am kinda stuck
> > > without any ideas.
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Quality Assurance Mailing List <http://www.php.net/>
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > > --
> > > Please always Cc to me when replying to me on the lists.
> > > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> > > ---------------------------------------------------------
> > > "I mean "When in doubt, blame mcrypt" is more often right
> > > than wrong :)"
> > > "Always right, never wrong :)"
> > > - Two PHP developers who want to remain unnamed
> > >
> > > --
> > > PHP Quality Assurance 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 ---
Andrew Linehan wrote:
> Installed php4.2 over previous install as administrator - no problems.
> Logged on under different user got this:
>
> Security Alert! PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This
> means that a page will only be served up if the REDIRECT_STATUS CGI
> variable is set. This variable is set, for example, by Apache's Action
> directive redirect.
>
> You may disable this restriction by recompiling the PHP binary with
> the --disable-force-cgi-redirect switch. If you do this and you have your
> PHP CGI binary accessible somewhere in your web tree, people will be able
> to circumvent .htaccess security by loading files through the PHP parser.
> A good way around this is to define doc_root in your php.ini file to
> something other than your top-level DOCUMENT_ROOT. This way you can
> separate the part of your web space which uses PHP from the normal part
> using .htaccess security. If you do not have any .htaccess restrictions
> anywhere on your site you can leave doc_root undefined. If you are running
> IIS, you may safely set cgi.force_redirect=0 in php.ini.
>
> Set force_redirect=0 in php.ini - no change, checked and corrected
> security
> permissions - no change. Do not use .htaccess security.
>
> Need help badly, pleeeeeze.
hi,
you get this security warning because you use a windows platform just open
up "php.ini" and find the line cgi_force_redirect=0 (uncomment if
necessary) otherwise it doesn't take any effect if you use microsoft iis
you have to disable this edit php.ini and all will work fine
regards Erik
--- End Message ---