Windows 2000
Moderators: Developers, Moderators
; php.ini for PEAR tests
include_path=c:/cacti
[mail function]
SMTP= localhost ; for Win32 only
sendmail_from= me@localhost.com ; for Win32 only
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting= E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; display all errors and warnings
extension_dir = C:phpextensions
extension=php_snmp.dll
register_globals = On
register_argc_argv = On
include_path=c:/cacti
[mail function]
SMTP= localhost ; for Win32 only
sendmail_from= me@localhost.com ; for Win32 only
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting= E_ALL & ~(E_NOTICE | E_USER_NOTICE) ; display all errors and warnings
extension_dir = C:phpextensions
extension=php_snmp.dll
register_globals = On
register_argc_argv = On
Warning: Undefined variable: database in C:program filesapache groupapachehtdocscactiauthincludedatabase.php on line 16
Warning: Undefined variable: database in C:program filesapache groupapachehtdocscactiincludedatabase.php on line 17
Warning: Cannot add header information - headers already sent by (output started at C:program filesapache groupapachehtdocscactiauthincludedatabase.php:16) in C:program filesapache groupapachehtdocscactiauthincludeauth.php on line 23
everything is setted in the php.ini but it still no work.
any ideas?
Warning: Undefined variable: database in C:program filesapache groupapachehtdocscactiincludedatabase.php on line 17
Warning: Cannot add header information - headers already sent by (output started at C:program filesapache groupapachehtdocscactiauthincludedatabase.php:16) in C:program filesapache groupapachehtdocscactiauthincludeauth.php on line 23
everything is setted in the php.ini but it still no work.
any ideas?
Warning: Undefined variable: database in c:inetpubwwwrootcactiauthincludedatabase.php on line 16
Warning: Undefined variable: database in c:inetpubwwwrootcactiincludedatabase.php on line 17
Warning: Cannot add header information - headers already sent by (output started at c:inetpubwwwrootcactiauthincludedatabase.php:16) in c:inetpubwwwrootcactiauthincludeauth.php on line 23
the same output with IIS
is there anyone who knows the problem??
Warning: Undefined variable: database in c:inetpubwwwrootcactiincludedatabase.php on line 17
Warning: Cannot add header information - headers already sent by (output started at c:inetpubwwwrootcactiauthincludedatabase.php:16) in c:inetpubwwwrootcactiauthincludeauth.php on line 23
the same output with IIS
is there anyone who knows the problem??
Looking at this from a generic standpoint, PHP seems to think those variables are not defined. Normally this is not a problem since PHP does not require you to declare your variables first. I would be willing to bet that your problem is in your php.ini file somewhere (also shared between IIS/Apache).
If I had my Win2k machine on now, I'd post my php.ini, otherwise we'll see what happens and I post my copy tomorrow.
Good luck,
-Ian
If I had my Win2k machine on now, I'd post my php.ini, otherwise we'll see what happens and I post my copy tomorrow.
Good luck,
-Ian
here below is my php.ini file
just for info
php is working tested with .phpversion();
mysql is working too also tested.
i hope the problem can solved with your php.ini file rax
with best regards
; php.ini for PEAR tests
include_path=c:/inetpub/wwwroot/cacti ;
register_globals = On ;
register_argc_argv = On ;
[mail function]
SMTP= localhost ; for Win32 only
sendmail_from= me@localhost.com ; for Win32 only
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting= E_ALL; display all errors, warnings and notices
just for info
php is working tested with .phpversion();
mysql is working too also tested.
i hope the problem can solved with your php.ini file rax
with best regards
; php.ini for PEAR tests
include_path=c:/inetpub/wwwroot/cacti ;
register_globals = On ;
register_argc_argv = On ;
[mail function]
SMTP= localhost ; for Win32 only
sendmail_from= me@localhost.com ; for Win32 only
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting= E_ALL; display all errors, warnings and notices
Here is my php.ini file:
; php.ini for PEAR tests
include_path=d:/server/apache/apache/htdocs/cacti
[mail function]
SMTP= onion.lan.raxnet.net ; for Win32 only
sendmail_from= admin@cucumber.lan.raxnet.net ; for Win32 only
upload_tmp_dir = D:ServerPHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= D:ServerPHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting=2; display all errors, warnings and notices
register_globals = On
register_argc_argv = On
; php.ini for PEAR tests
include_path=d:/server/apache/apache/htdocs/cacti
[mail function]
SMTP= onion.lan.raxnet.net ; for Win32 only
sendmail_from= admin@cucumber.lan.raxnet.net ; for Win32 only
upload_tmp_dir = D:ServerPHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= D:ServerPHPsessiondata ; argument passed to save_handler
[PHP]
error_reporting=2; display all errors, warnings and notices
register_globals = On
register_argc_argv = On
This really helped!
All,
For the 2nd time this really helped me getting cacti to function in a windows 2000 environment (I think it should be in the win32 install file).
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
Regards!
For the 2nd time this really helped me getting cacti to function in a windows 2000 environment (I think it should be in the win32 install file).
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
[Session]
session.save_path= C:PHPsessiondata ; argument passed to save_handler
Regards!
Who is online
Users browsing this forum: No registered users and 2 guests