php-install Digest 13 Feb 2003 06:53:03 -0000 Issue 1245
Topics (messages 10022 through 10027):
PHP 4.3.0 & Apache 2.0.44
10022 by: Martin Leonard
10023 by: Jeffrey_N_Dyke.Keane.com
10024 by: Jeffrey_N_Dyke.Keane.com
10025 by: Lou Picciano
PHP Script Interpreter causing errors and won't run
10026 by: John
libexpat.so.0 error unless Apache started by root user
10027 by: Peter Janett
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 ---
Ok, this should be a simple one.
I have compiled apache with the --enable-so option. Everything worked
fine. I then configured PHP with the --with-apxs2=[path] and that also
configured without problems. I had to manually input the LoadModule and
AddType parameters into the httpd.conf file. The associated files exist,
and the httpd daemon is definately using that .conf file. Now, html
file render fine, but when I select a .php file, the "save as" dialog
box comes up. So, apache isn't processing the .php file properly. What's
wrong? I thought the AddType application/x-httpd-php .php would have
controlled this?
I'm sure this is an easy fix!?!
Thanks,
Martin
--- End Message ---
--- Begin Message ---
yes and no. did you restart Apache? and bear in mind that it has been
said....by Rasmus and the PHP staff, that this is not a production ready
combination.
so if a restart doesn't do it, adn you're sure that all of your other
config options are set correctly, then you may want to consider going to
apache 1.3.27.
personally i've had varying luck with Apache2.
hth
jeff
"Martin Leonard"
<martin.leonard@altairf To: <[EMAIL PROTECTED]>
ilter.com> cc:
Subject: [PHP-INST] PHP 4.3.0 &
Apache 2.0.44
02/12/2003 12:26 PM
Ok, this should be a simple one.
I have compiled apache with the --enable-so option. Everything worked
fine. I then configured PHP with the --with-apxs2=[path] and that also
configured without problems. I had to manually input the LoadModule and
AddType parameters into the httpd.conf file. The associated files exist,
and the httpd daemon is definately using that .conf file. Now, html
file render fine, but when I select a .php file, the "save as" dialog
box comes up. So, apache isn't processing the .php file properly. What's
wrong? I thought the AddType application/x-httpd-php .php would have
controlled this?
I'm sure this is an easy fix!?!
Thanks,
Martin
--- End Message ---
--- Begin Message ---
the unsubscribe options are at the bottom of all of these emails
hth
jeff
"John Bush"
<john.bush@sonainnova To: <[EMAIL PROTECTED]>,
"Martin Leonard"
tions.com> <[EMAIL PROTECTED]>
cc: <[EMAIL PROTECTED]>
02/12/2003 01:54 PM Subject: RE: [PHP-INST] PHP 4.3.0
& Apache 2.0.44
Hi There,
Could someone please remove me from your lists...I should not be
receiving these emails
Regards
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 12:52 PM
To: Martin Leonard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] PHP 4.3.0 & Apache 2.0.44
yes and no. did you restart Apache? and bear in mind that it has been
said....by Rasmus and the PHP staff, that this is not a production ready
combination.
so if a restart doesn't do it, adn you're sure that all of your other
config options are set correctly, then you may want to consider going to
apache 1.3.27.
personally i've had varying luck with Apache2.
hth
jeff
"Martin Leonard"
<martin.leonard@altairf To:
<[EMAIL PROTECTED]>
ilter.com> cc:
Subject:
[PHP-INST] PHP 4.3.0 & Apache 2.0.44
02/12/2003 12:26 PM
Ok, this should be a simple one.
I have compiled apache with the --enable-so option. Everything worked
fine. I then configured PHP with the --with-apxs2=[path] and that also
configured without problems. I had to manually input the LoadModule and
AddType parameters into the httpd.conf file. The associated files exist,
and the httpd daemon is definately using that .conf file. Now, html
file render fine, but when I select a .php file, the "save as" dialog
box comes up. So, apache isn't processing the .php file properly. What's
wrong? I thought the AddType application/x-httpd-php .php would have
controlled this?
I'm sure this is an easy fix!?!
Thanks,
Martin
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Martin,
Perhaps I can help with this one... We have the same configuration you
report - working with no trouble. This is:
Solaris 9 (SPARC)
Apache 2.0.44
PHP-4.3.0-dev (snapshot from late January)
We ALSO were having trouble with the AddType approach; We commented out the
respective php 'AddType' lines... But the following works:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
Let me know how this works!
Lou Picciano
Essex Systems
> Ok, this should be a simple one.
>
> I have compiled apache with the --enable-so option. Everything worked
> fine. I then configured PHP with the --with-apxs2=[path] and that also
> configured without problems. I had to manually input the LoadModule and
> AddType parameters into the httpd.conf file. The associated files exist,
> and the httpd daemon is definately using that .conf file. Now, html
> file render fine, but when I select a .php file, the "save as" dialog
> box comes up. So, apache isn't processing the .php file properly. What's
> wrong? I thought the AddType application/x-httpd-php .php would have
> controlled this?
>
> I'm sure this is an easy fix!?!
>
> Thanks,
>
> Martin
--- End Message ---
--- Begin Message ---
It was running before and I have Apache successfully running on WinXP when
trying to open localhost.
When I try to run http://localhost/ I get this error:
Error signature AppName: php.exe AppVer: 4.3.0.0 Offset: 57565553
Error report shows:
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="php.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="php.exe" SIZE="45056" CHECKSUM="0x64B01181"
BIN_FILE_VERSION="4.3.0.0" BIN_PRODUCT_VERSION="4.3.0.0"
PRODUCT_VERSION="4.3.0" FILE_DESCRIPTION="PHP Script Interpreter"
COMPANY_NAME="The PHP Group" PRODUCT_NAME="PHP Thread Safe CGI"
FILE_VERSION="4.3.0.0" ORIGINAL_FILENAME="php.exe" INTERNAL_NAME="php-cgi"
LEGAL_COPYRIGHT="Copyright © 2002 The PHP Group" VERFILEDATEHI="0x0"
VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0" LINKER_VERSION="0x40000" UPTO_BIN_FILE_VERSION="4.3.0.0"
UPTO_BIN_PRODUCT_VERSION="4.3.0.0" LINK_DATE="12/27/2002 04:33:57"
UPTO_LINK_DATE="12/27/2002 04:33:57" VER_LANGUAGE="English (United States)
[0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="926720" CHECKSUM="0x6262EEA5"
BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0"
PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client
DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows®
Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)"
ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="©
Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0"
VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2"
MODULE_TYPE="WIN32" PE_CHECKSUM="0xE8792" LINKER_VERSION="0x50001"
UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0"
LINK_DATE="08/18/2001 05:33:02" UPTO_LINK_DATE="08/18/2001 05:33:02"
VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
--- End Message ---
--- Begin Message ---
I'm running Red Hat 7.2, php-4.2.3, expat-1.95.4.
When I start Apache as root, it starts fine.
But, my startups scripts fail, as does starting apache from a non root user,
with the following error:
"bin/httpd: error while loading shared libraries: libexpat.so.0: cannot open
shared object file: No such file or directory"
I can find a sys link (libexpat.so.0) and the file it links to in
/usr/local/lib. The permissions seem to be fine on the file, so maybe it's
a question of it being in the user paths.
Any help appreciated.
Peter Janett
New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!
http://www.newmediaone.net
webmaster "at" newmediaone.net
(303)828-9882
--- End Message ---