Community
Participate
Working Groups
Sometimes php executable may be invalid, e.g. $ ./php-cgi -v PHP Warning: PHP Startup: Unable to load dynamic library './ext/imagick.so' - libWand.so.10: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './ext/mssql.so' - libsybdb.so.5: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './ext/pdo_pgsql.so' - libpq.so.5: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './ext/pgsql.so' - libpq.so.5: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0 PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0 Segmentation fault Currently, this only results in an error in the log: "!MESSAGE Can't determine version of the PHP executable" Better it'd be to not adding such executable. After all, it's invalid
Created attachment 176021 [details] patch fix is to check that version was correctly recognized before adding the executable.
Created attachment 176032 [details] patch v2 apparently, there were some formatting changes in last patch. added another patch - cleaned up.
applied the patch in head and branch,thanks Jacek!
Verified on 2.2.1.v20100822. Closing