php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26492 php is not executed
Submitted: 2003-12-01 14:26 UTC Modified: 2003-12-02 00:11 UTC
From: esteban_marin at msn dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.0.0b2 (beta2) OS: linux redhat 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: esteban_marin at msn dot com
New email:
PHP Version: OS:

 

 [2003-12-01 14:26 UTC] 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





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 00:11 UTC] 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.

 [2004-07-14 14:21 UTC] php at soapi dot com
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.)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 22:01:27 2024 UTC