#41022 [Opn->Bgs]: php.ini-recommended does not work
| From: | johannes@php.net | Date: | Sun, 08 Apr 2007 13:26:17 +0000 |
| Subject: | #41022 [Opn->Bgs]: php.ini-recommended does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111214@lists.php.net to get a copy of this message | ||
ID: 41022
Updated by: johannes@php.net
Reported By: mattd at internode dot on dot net
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows 2003 SP1
PHP Version: 5.2.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
php.ini-recommended disables short_open_tags and turns display_errors
of so you need <?php phpinfo(); ?>.
Previous Comments:
------------------------------------------------------------------------
[2007-04-08 13:07:51] mattd at internode dot on dot net
Changed email address
------------------------------------------------------------------------
[2007-04-08 13:00:52] mattd at internode dot on dot net
Description:
------------
Hello, Thankyou for taking the time to look at this.
I am experincing this problem, i have installed the latest apache 2.2
and downloaded the latest php 5.2.1 and extracted it to c:\php i changed
php.ini-recommended to php.ini
In the apache httpd.conf i have set the nesscary settings and specified
PHPIniDir = "C:/php"
Apache Service monitor says apache/2.2.4 (Win32) PHP/5.2.1
I am loading a php file that has <?phpinfo();?> in the root of
httpddocs.
When browse to the website and view the phpinfo.php which contains the
above, I get a blank page. I view teh source code for the page and i see
<?phpinfo();?>, after trying numerious things, i decided to try
php.ini-dist and change it to php.ini.
It works i get the successfully create phpinfo page with all the php
information.
So what in the php.ini-recommended is causing php not to phrase PHP
files.
- This happens with the latest CVS snapshot.
- I'm using unaltered php.ini-recommended except for changing it to
.ini
THankyou in advance for your help.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41022&edit=1