php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20040 working path is not set to actual php file
Submitted: 2002-10-23 08:12 UTC Modified: 2002-11-10 18:25 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: hofmann at isl dot org Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.2.3 OS: SuSE Linux 7.2
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: hofmann at isl dot org
New email:
PHP Version: OS:

 

 [2002-10-23 08:12 UTC] hofmann at isl dot org
Today I updated our system to Apache 1.3.27 with php 4.2.3 which works perfectly.
Beside this I installed a test system - Apache 2.0.43 with php 4.2.3 - which uses the same php.ini file!
With our php scripts I am using phplib template engine which tries to load a template from where the php script can be found in ./templates/index.thtml - with the Apache 1.3.27 this always works perfectly - with earlier versions of Apache2/PHP this also worked - but in this combination I got an file not found error - so I assume that the current directory is not equal to the running scripts directory.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-23 11:37 UTC] iliaa@php.net
what kind of mpm model is your Apache 2 using?
 [2002-10-24 00:24 UTC] hofmann at isl dot org
with prefork
 [2002-10-24 06:42 UTC] hofmann at isl dot org
cd httpd-2.0.43

./configure --prefix=/usr/local/apache-test --enable-so --enable-ssl --with-ssl=/usr/local/openssl --enable-info --with-mpm=prefork --with-port=4080 --enable-speling --enable-deflate --enable-mime-magic --enable-modules="mod_ldap mod_auth_ldap"

make
make install


cd ../php-4.2.3

./configure --with-apxs2=/usr/local/apache-test/bin/apxs --with-config-file-path=/etc --enable-memory-limit=yes --enable-debug=no --with-pgsql=/usr --with-sybase=/opt/sybase/ --with-mysql=/usr --without-mcrypt --with-ldap=/usr --enable-calendar --with-gd=/usr --enable-gd-native-ttf --with-ttf
 [2002-10-26 10:31 UTC] iliaa@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

If you still experience the problem, please provide the shortest possible script that can be used to replicate the problem.
 [2002-11-10 18:25 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC