apache - Extensions shown in phpinfo() don't match with those enabled in loaded php.ini -


i use enterprisedb apachephp on windows xp (32 bit). tried enable extensions in php.ini in directory apachephp, nothing changed. found phpinfo() not doesn't show extensions uncommented in php.ini, shows others didn't uncomment. have several other php.ini files on computer, phpinfo() shows correct path php.ini file "loaded configuration file" (d:\programy\edb_apache\php\php.ini - path php.ini file use; plus shows copy in c:\windows in "configuration file (php.ini) path").

the configuration must overriden in apachephp - pgsql , pdo_pgsql among commented shown libraries, while other php.ini instances have mysql , sqlite enabled. on other hand, extensions contained in d:\programy\edb_apache\php\sdk\include\ext (d:\programy\edb_apache apachephp root) don't match shown in phpinfo(), might more difficult.

so how find , edit configuration shown in phpinfo(), or how solve bug causing not correspond loaded php.ini file? please don't tell me restart apache or computer (i configure localhost), did many times, before asking question.

edit: once again, i'm absolutely sure path shown in phpinfo() "loaded configuration file" matches path of php.ini file use. if path shown there not correct (which matter of question - how possible, , how correct it?), no 1 of php.ini files on computer matches configuration shown phpinfo. have searched instance of php.ini, i'm sure didn't miss of them, if hidden/system file.

edit2: reinstall of edb apachephp didn't help. changed paths during reinstall, updated paths here. "loaded configuration file" path still matches right configuration file, , keep restarting apache after every change.

i looked closer phpinfo(), "configure command":

cscript /nologo configure.js "--enable-cli" "--enable-cgi" "--with-openssl" "--enable-pdo" "--with-extra-includes=c:\pgbuild32\include;d:\pginstaller_2.auto-repo\output\include;d:\pginstaller_2.auto-repo\apache.staging\include" "--with-extra-libs=c:\pgbuild32\lib;d:\pginstaller_2.auto-repo\output\lib;d:\pginstaller_2.auto-repo\apache.staging\lib" "--enable-apache2filter" "--enable-apache2-2filter" "--enable-apache2handler" "--enable-apache2-4handler" "--with-apache-hooks" "--with-pgsql" "--with-pdo-pgsql" "--with-prefix=d:\pginstaller_2.auto-repo\php.staging" "--enable-one-shot" "--enable-cli-win32" "--enable-embed" "--enable-isapi" "--enable-ftp" "--without-mysqlnd" "--with-xsl=shared" "--enable-mbstring" "--enable-mbregex" "--enable-shmop" "--enable-exif" "--enable-soap" "--enable-sockets" "--with-gd=shared" "--without-mysql" "--without-mysqli" "--without-sqlite3" "--without-pdo-mysql" "--without-pdo-sqlite"

paths listed there (c:\\pgbuild32\include, d:\\pginstaller_2.auto-repo\output\lib etc.) don't exist on computer. existence seems confirm assumption parts of setting overwritten enterprisedb default (or configuration in php.ini somehow doesn't work, defaults applied). don't know these settings saved - that's point of question, if knew, change them , celebrate.

there possible cause of problem: lack of dll's. php distributions have them in ./ext. in enterprisedb "php" directory has 1 subdirectory, , named "sdk"; extensions (or should be; there no dll files in dir) in d:\programy\edb_apache\php\sdk\include\ext directory. directory contains .h files (in directories named after extensions), no dll. if not ordinary architecture enterprisedb bundle, please tell me; might have bad installer file.

so first copied dll's php installation (i didn't manage php 5.4.23, 5.4 too) extension folder, nothing changed. copied whole ext folder php directory in apachephp bundle location , changed extension path - again, no change.

for testing reasons, tried run php.exe. returned warning:

php warning:  php startup: gd: unable initialize module module compiled build id=api2010025,ts,vc9 php    compiled build id=api2010025,ts,vc10 these options need match in unknown on line 0 

so if want substitute dll's, need find either vc9 apachephp (will still support postgresql 9.3? main reason able created forms database), or vc10 php 5.4. didn't find .msi installer php 5.4 (even less vc10 one) , after bad experiences software installation through command line on windows don't want try non-msi version without being sure choice.

any advice now?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -