| Summary: | PHP Executable SAPI Type cannot be saved in v2.2.1 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andras Janurik <janure> |
| Component: | PDT | Assignee: | Zhongwei Zhao <zhaozhongwei> |
| Status: | CLOSED FIXED | QA Contact: | Ilina Stefanova <ilina.s> |
| Severity: | major | ||
| Priority: | P3 | CC: | christian.oeing, ilina.s, kubo, peichiang, renandelima, zhaozhongwei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Andras Janurik
Addition: the problem appeared after upgrading to v2.2.1. It works fine with previous versions. This was introduced for resolving Bug 324073. BTW, which version of php are you using? >You cannot use both -n and -c switch. Use -h for help. I can see this message on php 5.2.6, but I cannot see it on php 5.2.8 nor 5.3.x. It seems that 5.2.8 or later version allow the combination of switches. The bug occurs for me, too. I'm using PHP 5.2.6 here. It would be nice to fix this for this version, too, as we can't upgrade our PHP version for the current project. (In reply to comment #2) > This was introduced for resolving Bug 324073. > > BTW, which version of php are you using? > >You cannot use both -n and -c switch. Use -h for help. > I can see this message on php 5.2.6, but I cannot see it on php 5.2.8 nor > 5.3.x. > It seems that 5.2.8 or later version allow the combination of switches. My php version is 5.2.3. I will try to upgrade it. I upgraded PHP to 5.3 and I am not experiencing the bug any more. But I think the bug is still relevant for prior PHP versions. This bug is related to bug #32619. You ran into problems to compare php files with PDT 2.2.1 with Helios. According to Roy Ganor of bug #32619, apply updates from http://download.eclipse.org/tools/pdt/updates/2.2/milestones can fix this probme (bug #32619). However, once you apply Roy Ganor's fix, you no longer be able to run PHP script debugger. The PHP version and SAPI reading would become null (something like [yourPhpname (Xdebug null null)] from the "PHP Script" => "Alternate PHP:" in "Debug Configurations..." menu under the "debug icon". You can always reproduced this problem using Andras' steps. I think the priority should be higher since there is no way to debug PHP script. (Command line mode). fixed in head Is there any way we can get the update for fix? Thanks! Verified. Some problem here. MakeGood plugins doesn't work because that, but it's possible fix it. Go to Eclipse and export configuration File > Export > General > Preferences Add this line to .epf file: /instance/org.eclipse.php.debug.core/org.eclipse.php.debug.coreenable_cli_debug=true Go back to eclipse and import configuration File > Import > General > Preferences |