#33571 [Bgs->Opn]: PHPIniDir directive appears to be ignored
| From: | colin at encode dot net dot au | Date: | Wed, 06 Jul 2005 01:53:33 +0000 |
| Subject: | #33571 [Bgs->Opn]: PHPIniDir directive appears to be ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81440@lists.php.net to get a copy of this message | ||
ID: 33571
User updated by: colin at encode dot net dot au
Reported By: colin at encode dot net dot au
-Status: Bogus
+Status: Open
Bug Type: Apache2 related
Operating System: Windows XP Professional SP2
PHP Version: 5.1.0b2
New Comment:
Hello Derick,
Since I just followed the same installation process with PHP 5.0.4, and
it *worked* as expected, I would say that this does imply a bug in PHP
5.1.0b2, wouldn't you agree?
Regards,
Colin.
Previous Comments:
------------------------------------------------------------------------
[2005-07-05 09:14:57] derick@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. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
.
------------------------------------------------------------------------
[2005-07-05 03:09:21] colin at encode dot net dot au
Description:
------------
Hello,
I understand this is a beta version of PHP but felt I should report
that it appears the PHPIniDir Apache configuration directive is ignored
by this release of PHP. I installed PHP according to the install.txt
instructions and configured the httpd.conf of Apache 2.0.54 using the
directives below:
#
# Load PHP5 module:
#
LoadModule php5_module "C:/PHP/php5apache2.dll"
#
# To use PHP scripts:
#
AddType application/x-httpd-php .php
#
# Define php.ini path:
#
PHPIniDir "C:/PHP"
To begin with I renamed the "php.ini-recommended" file to "php.ini"
within the "C:/PHP" folder. PHP would not load correctly however, and
upon accessing a phpinfo test page within the browser I would receive
the PHP code itself within the browser window, i.e:
<?php phpinfo(); ?>
...would appear in the page source. I also tried adding the PHP path
to the "path" and "PHPRC" environment variables with no success. Upon
removing the php.ini from "C:/PHP", PHP appeared to load but would
report "C:\WINDOWS" in the "Configuration File (php.ini) Path" field of
the phpinfo() output. Note, there is no php.ini file in "C:\WINDOWS".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33571&edit=1