Hi,
Quite a long time to solve this problem, but it is done :
1- I confirm that at startup I was getting geenrally twice a little message (standard windows for me) with only as windows title 'Php' and text 'startup :" then the button "OK" (sorry I have not made a screenshot for this, it seems so simple...)
2- After this Apache starts, but crashes often with same condition in restart
3- There was no error message, except in php log and apache (error.log not recent) :
< "PHP Warning: PHP Startup: in Unknown on line 0" >
Followed by what seems a normal startup : no error message
I rebuild my php.ini and found the problem :
*********************************************************************************
*ERROR made in "path" because I upgrade from 3.5.6. (get option from old php.ini* *using compare) without taking care sufficiently *
*********************************************************************************
Then when Php starts it don't find some (most) of dll of extensions and others but this error is not reported (we could imagine a check load of dummy dll, try immediately to get the handle and send an message). So the necessity of a message which need a manual action to go farther is absolute. If this happens after a file system error Php will not be able to do his job...
For history and be aware
________________________
These errors comes from the changes of the Easyphp directory structure and extensions locations :
The php.ini has in comment (in comment to help) which are generally simply uncommented with right values :
__________________________________
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;${path}\php\includes"
;
; PHP's default setting for include_path is ".;/path/to/php/pear"
; [
php.net]
_______________________________________
The "includes" nor "pear" subdir path doesn't exist anymore with 12.1
The extensions dir
_______________________________________
; Directory in which the loadable extensions (modules) reside.
; [
php.net]
; extension_dir = "./"
; On windows:
extension_dir = "${path}\php\php546x121205142547\ext\"
________________________________________
is OK but must be changed if you use "php\php546x130109181658"
In another way the xdebug*.dll have been migrating :
Till : 5.3.2 : the directory was : easyphp/php/ext/
Till : 5.3.6 : : easyphp/xdebug/
Since 12.1 : : easyphp/php/<php version>/
My Conclusion :
_______________
There are many reasons to change the directory structure and it is difficult when there are samples in comments to upgrade all of them.
So not to have very hard difficulties it is necessary, in my opinion, to upgrade Apache or Php version, as you will have to merge the ini files with your ancient ones (use of extensions, various specialized parameters, any case you don't start from nothing) the user need to check
1- all the dir of path
2- existency of all used modules or extensions in the right place
3- using php reference check all options existency (obsolete, future obsolete etc... )
You are not sure that an error will be reported clearly, the reason :
- generally detailed error are reported but enormous sometimes no : the reason is linked to the development process, the reported error have occured during development and test, but the most enormous as a path error, are situation that never occured else than in your installation
Best regards
Trebly