I tried to run a sample PHP code that comes with JasperServer. When I load index.php
, I got the following message:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 412
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 736
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 749
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\pear\HTTP\Request.php on line 794
Strict Standards: Redefining already defined constructor for class Net_URL in C:\xampp\php\pear\Net\URL.php on line 124
Notice: Undefined index: username in C:\xampp\htdocs\registration\php-sample\index.php on line 12
Notice: Undefined index: password in C:\xampp\htdocs\registration\php-sample\index.php on line 13
How can I fix the problem?
I'm using JasperServer 4.7 with PHP 5.4.7 (XAMPP 1.8.1).