#17868 [Com]: Doesn't work two and more <!--include--> directives of PHP code on different OS
| From: | ccarroll4 at hotmail dot com | Date: | Tue, 30 Dec 2003 17:22:33 +0000 |
| Subject: | #17868 [Com]: Doesn't work two and more <!--include--> directives of PHP code on different OS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52614@lists.php.net to get a copy of this message | ||
ID: 17868
Comment by: ccarroll4 at hotmail dot com
Reported By: messiah at hotbox dot ru
Status: Closed
Bug Type: Apache2 related
Operating System: *
PHP Version: 4.3.0-dev
New Comment:
I am also having this problem on a default install of Redhat 9 - Apache
v. 2.0.40, PHP 4.2.2. Apache was not installed from an RPM (to my
surprise), but PHP was.
The posts here are confusing; one says go to PHP 4.3.2, the next says
that installing 4.3.2 broke scripts.
Any CLEAR solutions? After a year and a half, it seems like this
should be resolved once and for all.
Previous Comments:
------------------------------------------------------------------------
[2003-12-01 08:47:50] raphael at segal dot com dot au
Was this ever resolved - I am getting this error on a default RPM
install of RedHat 9.0
------------------------------------------------------------------------
[2003-08-10 17:31:02] php at pamelajoy dot com
I use several includes on every PHP page. I have not had any problems
until today when my webhost upgraded to PHP 4.3.2. Now none of my
includes are being parsed. Yes, my webhost uses Apache, and we are
discussing it in our forum at <a
href="http://www.rivalpro.net/forums/iv1/index.php?act=ST&f=16&t=524&s=7e56594f281f099bcc05bbfb451bee12">http://www.rivalpro.net/forums/iv1/index.php?act=ST&f=16&t=524&s=7e56594f281f099bcc05bbfb451bee12</a>.
I hope there is a solution other than changing back to shtml pages.
------------------------------------------------------------------------
[2003-05-28 17:56:13] sniper@php.net
Wait for PHP 4.3.2. There using --with-apxs2 will enable
the new handler version of the apache2 module.
------------------------------------------------------------------------
[2003-05-28 12:56:22] joe at joe-lewis dot com
Is this apxs2 an apache configuration option or a php option? I am
using apache 2.0.45, with php 4.3.1, and am still encountering the
error. I have tried
--with-apxs2handler=/usr/local/bin/apxs
and
--with-apxs2filter=/usr/local/bin/apxs
in both PHP and Apache, with no successes. In fact, now (though my
configuration is good), any PHP page is not executed or parsed, but
returned as type x-httpd-php, which is "somewhat" operational (i.e. it
has the right type, but the libphp4 module is not being called as
specified in my httpd.conf file).
------------------------------------------------------------------------
[2003-02-13 09:40:43] lists at holsman dot net
RE: apache2 & php developers not working together.
I agree.
infact 2 apache2 developers spent a couple of hours and created a new
php/apache2 sapi interface, and It would be great if you could give it
a try and send some feedback
if you could try the --with-apxs2handler instead of --with-apxs2 this
might help. this uses the standard handler mechanism, and not the
filter API.
look forward to hearding how it goes.
Ian
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17868
--
Edit this bug report at http://bugs.php.net/?id=17868&edit=1