php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36777 Apache stops serving
Submitted: 2006-03-17 21:58 UTC Modified: 2006-03-17 23:21 UTC
From: jtaylor at qrsdc dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.1.2 OS: Redhat 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jtaylor at qrsdc dot com
New email:
PHP Version: OS:

 

 [2006-03-17 21:58 UTC] jtaylor at qrsdc dot com
Description:
------------
I have been running PHP 5.1.2 without problems compiled with the following commands:
./configure --with-apxs2=/etc/httpd/bin/apxs --enable-versioning --with-mssql=/usr/local/freetds --enable-libxml --with-mysql --with-iconv=/usr/local --with-gd --with-zlib --enable-ftp

I have been trying to install PDFlib 6.0.3 as a DSO(also tried the Lite version with same result) without luck. When I try, I get this error: "Unable to load dynamic library '/usr/local/lib/libpdf_php.so' - /usr/local/lib/libpdf_php.so: undefined symbol: _zval_ptr_dtor".

So, after looking through the bugs, I decided to try to disable versioning. 

Reproduce code:
---------------
./configure --with-apxs2=/etc/httpd/bin/apxs  --with-mssql=/usr/local/freetds --enable-libxml --with-mysql --with-iconv=/usr/local --with-gd --with-zlib --enable-ftp

Expected result:
----------------
Normal function...

Actual result:
--------------
This resulted in Apache no longer serving PHP pages (404 error).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-17 22:06 UTC] tony2001@php.net
Not PHP or Apache problem.
Looks like PDFLib was built with wrong version of PHP or has some different problems, please report it to PDFLib developers.
 [2006-03-17 22:26 UTC] jtaylor at qrsdc dot com
The error occurs without any PDFlib interaction. I have the SO commented out of the php.ini file. I was trying to configure PHP  without versioning. According to the post http://pecl.php.net/bugs/bug.php?id=5225&edit=1 there is a problem with versioning and PDFlib, so I thought I would try to configure without versioning. Like I said, this has nothing to do with PDFlib. I am only trying to configure PHP without versioning.
 [2006-03-17 22:36 UTC] tony2001@php.net
Now your report doesn't make any sense to me.
If the problem is not related to PDFLib, why are you talking about PDFLib at all?

And yes, I can hardly believe that PHP can cause Apache to return 404 error.
Please look into your error log for more info (and post it here).
 [2006-03-17 23:01 UTC] jtaylor at qrsdc dot com
Apache Error Log:
[Wed Mar 15 14:48:59 2006] [notice] SIGHUP received.  Attempting to restart
[Wed Mar 15 14:48:59 2006] [warn] module php5_module is already loaded, skipping
[Wed Mar 15 14:48:59 2006] [notice] Apache/2.2.0 (Unix) PHP/5.1.2 configured -- resuming normal operations
[Wed Mar 15 14:49:02 2006] [error] [client 192.168.4.80] Fetching: http://192.168.4.8/paperless/index.php[Wed Mar 15 14:49:02 2006] [error] [client 192.168.4.80] Status code:200
 [2006-03-17 23:21 UTC] tony2001@php.net
Apparently it's an Apache misconfiguration.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 13:01:30 2024 UTC