php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41022 php.ini-recommended does not work
Submitted: 2007-04-08 13:00 UTC Modified: 2007-04-08 13:26 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: mattd at internode dot on dot net Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.2.1 OS: Windows 2003 SP1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mattd at internode dot on dot net
New email:
PHP Version: OS:

 

 [2007-04-08 13:00 UTC] 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.







Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-08 13:07 UTC] mattd at internode dot on dot net
Changed email address
 [2007-04-08 13:26 UTC] johannes@php.net
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(); ?>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 10:01:28 2024 UTC