php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20559 .phps unable just doesnt work
Submitted: 2002-11-21 23:00 UTC Modified: 2002-12-06 20:00 UTC
From: phpbugs at assid dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.3 OS: Debian 3.0
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: phpbugs at assid dot com
New email:
PHP Version: OS:

 

 [2002-11-21 23:00 UTC] phpbugs at assid dot com
I keep getting from lynx
Alert!: Unexpected network read error; connection aborted.
whenever i try and access any .phps script. I even just wrote a simple phpinfo script with .phps extension and that failed too

My system is Debian 3.0 and im using a recompiled php. Im not sure if it worked when i did a fresh compile.
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib' '--with-gd=/usr' '--with-jpeg-dir=/usr' '--with-vpopmail' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-ttf' '--with-xml' '--with-mhash' '--with-mcrypt' '--enable-calendar' '--enable-ftp' '--enable-wddx' '--with-filepro' '--with-bz2' '--with-cpdflib=/usr/lib' '--with-curl=/usr/include/curl' '--with-gettext' '--with-pdf' '--with-openssl' '--with-session' '--with-imap=/home/installers/mail/imap-2002' '--with-imap-ssl=/usr/local/ssl' '--enable-bcmath' '--enable-sockets' '--enable-track-vars' '--enable-trans-sid' '--enable-magic-quotes' '--enable-inline-optimization' 

I am leaving on a copy of both .php and .phps online and will be available at www.php-india.com/phpinfo.php and www.php-india.com/phpinfo.phps

my apache addtype is : AddType application/x-httpd-php-source .phps .php4s

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 00:04 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

And you should also check your apache logs as it seems like
it's segfaulting or you have misconfigured the phps support.

 [2002-11-22 00:54 UTC] phpbugs at assid dot com
i tried checking the logs.. in error logs i get nothing
however access log shows the correct info
<my ip> - - [22/Nov/2002:12:23:26 +0530] "GET /phpinfo.phps HTTP/1.1" 200 -

i am downloading and installing the latest snapshot.. will get back on that as soon as im done.
 [2002-11-22 01:24 UTC] phpbugs at assid dot com
I installed the latest CVS snapshot and i am yet having the same problem. I checked phpinfo to make sure that i have the correct build installed and it does confirm im using the cvs i.e PHP Version 4.4.0-dev

I have been using this httpd.conf for quite a long time. And if im not mistaken, the older versions (i think 4.1.x or so) did allow 

I tested this on one of the other boxes i have at office (development box) and there im using 4.2.2 again with debian 3.0. It doesnt work there either. Access log shows its being visited properly (code 200)  but im getting the same error. here i havent made any changes really to the httpd.conf im running it straight from the htdocs and default settings of apache.

Even if i didnt add the addtype ... it should atleast let me download.. so i dont think thats the problem. but in either case i have the addtype  for it.
 [2002-11-23 15:45 UTC] iliaa@php.net
AddType application/x-httpd-php-source .phps works just fine on my test boxes in Apache 1 and Apache 2 using PHP 4.3.0-dev or 4.4.0-dev. Try removed the .php4s, see if that solves the problem, other then that I think this problem may have something to do with your local configuration.
 [2002-11-24 00:03 UTC] phpbugs at assid dot com
I tried removing .php4s and restarting apache.. I'm still getting that error. I can arrange to create a ssh account for one person. But I will need that person to be on during the hours I am up. So contact me I'll arrange for the account then. I am also available on dalnet #php as Assid
I am located in india so my TZ = GMT +5.30
 [2002-11-24 20:32 UTC] matt at codewalkers dot com
Do you have output buffering on in the php.ini file? Sounds very similar to bug 15943:

http://bugs.php.net/bug.php?id=15943
 [2002-11-24 22:46 UTC] phpbugs at assid dot com
That did it !
Same as bug 15943
thanks guys
 [2002-12-06 20:00 UTC] sniper@php.net
No need for keeping this here, the problem is known and there's already another report about it.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 04:01:31 2024 UTC