Reputation: 4686
I have a local server running PHP-GCI 5.3.0, but when I run phpinfo()
it shows me normal information, but extensions.
There are nothing about extensions, and I'm using its normal ext
folder.
Could this be related to my folder having spaces? (i.e. this is my php.ini
C:\Arquivos de programas\Winco\Winconnection4\php.ini
)
I need to do something different to load extensions while using CGI?
This is my php.ini
:
[PHP] zend_extension="ext/php_xdebug-2.0.5-5.3-vc6.dll"
register_globals=Off
safe_mode = on
cgi.force_redirect = Off
extension_dir="ext"
session.bug_compat_warn=Off;
#
ATIVANDO A COMPACTAÇÃO DA PAGINA
#
zlib.output_compression = Onerror_reporting = E_ALL & ~E_NOTICE
display_errors = on
extension=php_sqlite3.dll
Upvotes: 0
Views: 2373
Reputation: 401002
Here a a couple of pointers ; with a bit of luck, one of those might be helpful :
phpinfo()
says in the output which php.ini file is loaded ; make sure you are modifying the right one ;-)zend_extension
to load a Zend Extension, you should use an absolute path ; see Xdebug - Installationextension_dir
?If you try launching PHP via the command line, do you get any error ? Same in Apache's log file ?
Hoping one of those will help...
Upvotes: 1