#26492 [Com]: php is not executed
| From: | php at soapi dot com | Date: | Wed, 14 Jul 2004 12:21:04 +0000 |
| Subject: | #26492 [Com]: php is not executed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62232@lists.php.net to get a copy of this message | ||
ID: 26492
Comment by: php at soapi dot com
Reported By: esteban_marin at msn dot com
Status: Bogus
Bug Type: Apache2 related
Operating System: linux redhat 9
PHP Version: 5.0.0b2 (beta2)
New Comment:
I get the same problem with all versions of PHP5. It's fine on my WinXP
system, but not on my RHEL3 system. Note that every version of PHP4
works perfectly, and I am compiling PHP5 in the same way. It compiles
fine, Apache2 runs, but PHP5 is not handling the files - they get
offered for download.
So, it would appear this IS a bug in PHP? (At time of posting, I have
just tried PHP5.0.0 final, with Apache 2.0.50. I have tried
combinations of PHP5RC1, RC2, and RC3 with Apache 2.0.48 and 2.0.49 as
well.)
Previous Comments:
------------------------------------------------------------------------
[2003-12-02 00:11:02] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
There can be dozens of reasons why it doesn't work.
But this is not bug (works fine for me and hundreds of others) so
please ask support questions on the mailing lists.
This is not bug.
------------------------------------------------------------------------
[2003-12-01 14:26:11] esteban_marin at msn dot com
Description:
------------
After compiling,installating and configuring
apache server 2.0.48
and
php-5.0.0b2
without errors:
the web server works fine but it doesn't execute the php code. There
are not error reports in the apache log files.
I can run php scripts from the command line without errors.
My configure line for apache is:
./configure --prefix=/usr/local/apache \
--enable-so \
--enable-cgi \
--enable-info \
--enable-rewrite \
--enable-speling \
--enable-usertrack \
--enable-deflate \
--enable-mime-magic
My configure line for php is
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql \
--enable-track-vars \
--with-zlib \
--with-gettext \
--with-gdbm
I copied the php.ini-dist file to /usr/local/lib as php.ini and did not
modified it.
my setup is a redhat9 linux laptop. I removed the previous versions of
php and apache servers from the system before the
compilation/installations of these new versions.
I added the lines to httpd.conf:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php php
and the apache server recognizes the module for php5.
Please let me know how can I indentify/fix the error or how to submit
additional information to you.
Thanks
Esteban
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26492&edit=1