Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi for PHP
IDE
Add Component Template
Block Completion
Build Tools
Class Completion
Code Browsing
Code Editor
Code Explorer
Code Parameters
Code Templates
Compiler Message Helpers
Compiler Message Window
Dialogs
Direct
Docking
Error Reporting
File Browser
File Handling
Form Designer
Help
History View
Memory Issues
Menus
Object Inspector
Other
Project Manager
Save Desktop
Start Page
Startup/Shutdown
Tool Palette
Views
You are not logged in.
Help
Print
Public Report
Report From:
Delphi for PHP/IDE/Startup/Shutdown
[ Add a report in this area ]
Report #:
104859
Status:
Closed
Manual changes to php.ini reset again after IDE shutdown
Project:
HTML5 Builder
Build #:
4.3.0.1655
Version:
4.3
Submitted By:
John Schmidt
Report Type:
Basic functionality failure
Date Reported:
4/12/2012 7:59:29 AM
Severity:
Critical / Show Stopper
Last Updated:
4/13/2012 8:18:25 AM
Platform:
All versions
Internal Tracking #:
Resolution:
Test Case Error
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
Coming back to my previous report #104678: This happens because manual changes e.g. setting of the default charset in the php.ini are reset by the IDE after shut down. This is due to the fact that the registry setting is not modified as set in the php.ini. The entry is following:
HKEY_CURRENT_USER\Software\Embarcadero\RadPHP\4.0\PHP Charset\OutputCharset
After having changed this entry the php.ini remaines as is.
Steps to Reproduce:
1. Change the default charset in the php.ini to utf-8.
2. Start the IDE
3. Shut down the IDE
4. Check the php.ini: The defautl charset hase been reset to the original value.
5. Edit the registry entry at "HKEY_CURRENT_USER\Software\Embarcadero\RadPHP\4.0\PHP Charset\OutputCharset" and set the value to "utf-8".
6. Repeat the process again: Now the encoding has not been changed any more.
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 4/12/2012 8:33:24 PM
-
> 1. Change the default charset in the php.ini to utf-8.
Which php.ini file did you edit?
Did you edit this one directly, C:\Users\[user]\AppData\Roaming\Embarcadero\RadPHP\4.0\php\php.ini ?
If so, you must change the parameter via [Tools] | [Options...] | [PHP] | [Default Charset], then reststart IDE.
The php.ini file is overwritten by using '...\4.0\php\php.ini.template' when IDE starts.
John Schmidt at 4/13/2012 8:01:47 AM
-
Thanks, this works!
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us