OS - Server 2008, using IIS7.
Database MSSQL express 2008 with SP1
PHP version 5.2.11
gallery home location c:\inetpub\wwwroot\gallery2
Trying to install, get to System Checks :-
Error Message:
Error: your PHP __FILE__ directive is not functioning correctly. Please file a support request with your webserver administrator or in the Gallery forums.
I have googled, to no avail, all references if to old infomration, all suggesting that PHP is at fault, usually ver 4.3 and 4.4.
I have checked permissions on the home folder, they all appear OK.
Ideas please.
I have been using gallery for several years now on 2003 with apache, php, mysql etc no issues. Time to upgrade server. Have everything else working.
Please help
DMCH
Posts: 22885
FAQ: PHP __FILE__ directive is not working correctly, what can I do?
Time to ask you host to upgrade your PHP version.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Hosting myself
Also using current version, 5.2.11,
Posts: 22885
php info link from your gallery2 direcotry
FAQ: What information is required when I ask for help in the forums?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
sorry floridave, I do not understand
php info link from your gallery2 direcotry
??
System Windows NT DMCHWEB 6.0 build 6002
Build Date Sep 16 2009 19:31:25
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\Program Files\PHP\php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps, zip
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
--------------------------------------------------------------------------------
PHP Credits
--------------------------------------------------------------------------------
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log C:\Windows\temp\php-errors.log C:\Windows\temp\php-errors.log
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir C:\Program Files\PHP\ext C:\Program Files\PHP\ext
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\php5\pear .;C:\php5\pear
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 300 300
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag Off Off
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir C:\Windows\Temp C:\Windows\Temp
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode
Posts: 22885
Sorry don't know. I have little windows experience so asked nivekiam to help out.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16502
Then why switch to IIS and MSSQL? That sure doesn't seem like an upgrade to me. Seems like a major headache and a few steps backwards.
Can you post an actual link to phpinfo so we can see the full environment Gallery is running in?
FAQ: How do I create a phpinfo page?
I have a feeling if you installed a slightly older version of XAMPP it would work just fine. I say older version because the current versions are shipping with PHP 5.3 and G2 doesn't run under PHP 5.3
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here