php-5.6-xp
php-5.6-xp copied to clipboard
Issue with old extensions loaded from %PATH%
hi,
[31-Mar-2018 12:29:26 UTC] PHP Warning: PHP Startup: curl: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20131226 These options need to match in Unknown on line 0
[31-Mar-2018 12:29:26 UTC] PHP Warning: PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20131226 These options need to match in Unknown on line 0
[31-Mar-2018 12:29:29 UTC] PHP Warning: PHP Startup: curl: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20131226 These options need to match in Unknown on line 0
[31-Mar-2018 12:29:30 UTC] PHP Warning: PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20131226 These options need to match in Unknown on line 0
regards, jan
[Sat Mar 31 14:56:06.955898 2018] [mpm_winnt:notice] [pid 5008:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Sat Mar 31 14:56:48.385908 2018] [mpm_winnt:notice] [pid 5008:tid 536] AH00431: Parent: Forcing termination of child process 3000 Failed loading ext\php_xdebug.dll [Sat Mar 31 14:56:51.001942 2018] [mpm_winnt:notice] [pid 5504:tid 536] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.6.24 configured -- resuming normal operations [Sat Mar 31 14:56:51.001942 2018] [mpm_winnt:notice] [pid 5504:tid 536] AH00456: Apache Lounge VC9 Server built: Jul 19 2014 13:07:40 [Sat Mar 31 14:56:51.001942 2018] [core:notice] [pid 5504:tid 536] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache' [Sat Mar 31 14:56:51.001942 2018] [mpm_winnt:notice] [pid 5504:tid 536] AH00418: Parent: Created child process 5524 [Sat Mar 31 14:56:52.845339 2018] [mpm_winnt:notice] [pid 5524:tid 1600] AH00354: Child: Starting 250 worker threads.
You have to read the README more carefully:
(3.) This build bundles all supported extensions except for
curl,fileinfoandxdebug(also ported to XP) so comment out allextension=xxxlines inphp.iniexcept for these.
do not really understand..?
the error occurs when i comment out all, but not "curl", "fileinfo" and "xdebug"...
the versions i use of these 3 extensions are your compiled ones..
I use windows server 2003 x32 with all updated from m$ installed, not xp..
I use windows server 2003 x32 with all updated from m$ installed, not xp..
This version runs on XP x64 and so should run on WinServer 2003.
the versions i use of these 3 extensions are your compiled ones..
No, apparently you are trying to use extensions from PHP 5.4, which has API 2010. PHP 5.6 (in this repo) has API 2013.
You need to have uncommented extension=php_curl.dll lines in php.ini and actual extension DLLs from this repo: https://github.com/ProgerXP/php-5.6-xp/tree/master/release/x86/ext
they are from https://github.com/ProgerXP/php-5.6-xp/tree/master/release/x86/ext
my php.ini is that when the problem occurs:
;extension=php_mbstring.dll --- ;extension=php_av.dll ---- ;extension=php_blenc.dll ---- ;extension=php_bz2.dll --- ;extension=php_com_dotnet.dll -- ;extension=php_couchdb.dll ---- ;extension=php_couchbase.dll ----
extension=php_curl.dll
;extension=php_dba.dll ---- ;extension=php_dbase.dll ---- ;extension=php_dio.dll ---- ;extension=php_discount.dll ---- ;extension=php_doublemetaphone.dll ---- ;extension=php_enchant.dll ;extension=php_excel.dll ---- ;extension=php_exif.dll --- ;extension=php_ffmpeg.dll ----
extension=php_fileinfo.dll
;extension=php_fribidi.dll ---- ;extension=php_gd2.dll --- ;extension=php_gender.dll ---- ;extension=php_geoip.dll ---- ;extension=php_gettext.dll --- ;extension=php_gmp.dll --- ;extension=php_haru.dll ---- ;extension=php_hrtime.dll ---- ;extension=php_htscanner.dll ---- ;extension=php_propro.dll ;extension=php_raphf.dll ;extension=php_http.dll ---- ;extension=php_http1.dll ;extension=php_igbinary.dll ---- ;extension=php_imagick.dll ---- ;extension=php_imap.dll ---- ;extension=php_interbase.dll ---- ;extension=php_intl.dll ---- ;extension=php_jsmin.dll ---- ;extension=php_jsonc.dll ;extension=php_jsond.dll ;extension=php_judy.dll ---- ;extension=php_ldap.dll ---- ;extension=php_lzf.dll ---- ;extension=php_mailparse.dll ---- ;extension=php_mdbtools.dll ---- ;extension=php_mongo.dll ---- ;extension=php_msgpack.dll ---- ;extension=php_mysql.dll ---- ;extension=php_mysqli.dll ---- ;extension=php_mysqlnd_qc.dll ;extension=php_oauth.dll ---- ;extension=php_oci8.dll ;extension=php_oci8_11g.dll ;extension=php_oci8_12c.dll ---- ;extension=php_openssl.dll --- ;extension=php_crypto.dll ---- ;extension=php_pcsc.dll ---- ;extension=php_pdflib.dll ---- ;extension=php_pdo_firebird.dll ---- ;extension=php_pdo_mysql.dll ---- ;extension=php_pdo_oci.dll ---- ;extension=php_pdo_odbc.dll ---- ;extension=php_pdo_pgsql.dll --- ;extension=php_pdo_sqlite.dll --- ;extension=php_pdo_sqlsrv.dll ---- ;extension=php_pgsql.dll --- ;extension=php_pop3.dll ---- ;extension=php_printer.dll ---- ;extension=php_pspell.dll ---- ;extension=php_pthreads.dll ---- ;extension=php_qb.dll ;extension=php_radius.dll ---- ;extension=php_rar.dll ---- ;extension=php_redis.dll ---- ;extension=php_rsync.dll ---- ;extension=php_shmop.dll ---- ;extension=php_smtp.dll ---- ;extension=php_snmp.dll --- ;extension=php_soap.dll ---- ;extension=php_sockets.dll --- ;extension=php_event.dll ; must be loaded after php_sockets.dll ---- ;extension=php_solr.dll ---- ;extension=php_sqlite3.dll --- ;extension=php_sqlsrv.dll ---- ;extension=php_ssdeep.dll ---- ;extension=php_ssh2.dll ---- ;extension=php_stats.dll ---- ;extension=php_stomp.dll ---- ;extension=php_strict.dll ;extension=php_svn.dll ---- ;extension=php_sybase_ct.dll ;extension=php_sync.dll ---- ;extension=php_tidy.dll ---- ;extension=php_timezonedb.dll ---- ;extension=php_translit.dll ---- ;extension=php_uploadprogress.dll ---- ;extension=php_uprofiler.dll ---- ;extension=php_varnish.dll ---- ;extension=php_wfio.dll ---- ;extension=php_win32ps.dll ---- ;extension=php_win32service.dll ;extension=php_xhprof.dll ;extension=php_xmldiff.dll ---- ;extension=php_xmlrpc.dll --- ;extension=php_xsl.dll ---- ;extension=php_xslcache.dll ----
;extension=php_memcache.dll ;extension=php_xcache.dll ;extension=php_apc.dll ;extension=php_apcu.dll ;extension=php_eaccelerator.dll ;zend_extension=php_opcache.dll
zend_extension=php_xdebug.dll
php_curl.dll = 5.6.24.0 php_fileinfo.dll = 5.6.24.0 php_xdebug.dll = 5.6.24.0
...maybe there is a problem with other apache/php and system PATH variable. will try absolute path now...
yes, that was the problem, i'm sorry. i thought that i will use automatically the ones from php/ext when i use relative path?! but i was wrong so it seems...;)
now it seems almost to work, there is still a xdebug message in php_errors.log:
[31-Mar-2018 14:03:12 UTC] PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
[31-Mar-2018 14:03:13 UTC] PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
solution was that:
zend_extension="C:/xampp/php/ext/php_xdebug.dll" ;extension="C:/xampp/php/ext/php_xdebug.dll"
thank you very much for your php package!!! :)
some extensions from here are compatible with your php version, if there are some people they need more extensions: https://phpdev.toolsforresearch.com/php-5.6.4-Win32-VC11-x86-xp.zip
(https://www.apachelounge.com/viewtopic.php?p=36701#36701)
e.g.
extension="C:/xampp/php/ext/additional/php_xcache.dll" ;extension=php_apc.dll extension="C:/xampp/php/ext/additional/php_apcu.dll" ;extension=php_eaccelerator.dll zend_extension="C:/xampp/php/ext/additional/php_opcache.dll"
they are v. 5.6.4.0, your version is v. 5.6.24 but it seems to work :)
Thanks for this info. Added links to the README.
Hello, I have installed XAMPP by your advice, PHP 5.6 works in it, O.K. Only in Nette I do not have the following functions see screen. I have Windows XP Pro/ SP3 32bit.

@jarek3 memcache and intl extensions were not ported to XP and are not available in this project.
To use fileinfo you need to have extension=php_fileinfo.dll line in your php.ini. See the test folder.
Other extensions (pdo, pdo_sqlite, mbstring, gd) work for me. They are enabled by default (see release/x86/phpinfo.txt).
Use <?php phpinfo(); or php -i to see what extensions were really loaded. Don't rely on the output from Nette (or any other framework).
I do not know where I'm wrong, mbstring still does not work in PHP.
Hi,
In php.ini I wrote 'extension_dir = "C: \ xampp \ php \ ext"' instead of 'extension_dir = "ext"'. Everything works except for intl extension. At the xampp startup, I have to accept the following errors:
"The application could not be started because the OCID.dll component (avcodec-56.dll, LIBPQ.dll, aspell-15.dll, pthreadVC2.dll, libfuzzy-2.dll, libsvn_client-1. dll, avcodec-56.dll, libcouchbase.dll, libxl.dll, avcodec-52.dll, CORE_RL_wand_.dll, fbclient.dll, icuuc53.dll, libsasl.dll, glib-2.dll, pdflib.dll) can not be found "You may be able to resolve the issue by re-installing the application."
How can they be removed?
intl extension hasn't been ported, as the README suggests.
I don't know what OCID.dll is and Google doesn't seem to, either. I don't have this DLL on my system.
You can get rid of the warning by commenting out the appropriate line in php.ini (extension=intl). This will cause intl not to be loaded (it wouldn't work with this port anyway).