Thanks for the response. Is there any file that needs to be changed or commennted out to make it is not strict . Please advice
Regards
Main Topics
Browse All TopicsDear experts -
I have installed php 5.3.0 and PhpPgadmin-4.2.2. I created a sample test page for php and it workfine.
But when I try to do
http://localhost/phpPgAdmi
I am doing this work on Solaris 10 and apache 2.2.13
regards
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You can define the php error logging behavior via php.ini. Check the error_reporting setting in php.ini and remove E_STRICT if present. E_ALL does report everything except E_STRICT in PHP <6. Also, if you've enabled display_errors in php.ini, you might want to disable that, so that errors are not displayed in the html output but are written only in the logfiles or when/where you want them to. If you're using pre-made scripts it is possible they change the settings during run-time and they might have their own configuration to set error reporting levels.
No reason to be embarrassed!
There's usually a default file created during installation. I don't know if the solaris package you used included it though.
To find the location of your php.ini, the easiest way is to create a small php script and call phpinfo(); which will output all kinds of configuration and environment settings. Copy the file in your webserver document root and open it with your browser, at the top you should find an entry "Configuration File (php.ini) Path" listing the location of the file (if there is any).
An example php.ini file can be found here http://www.reallylinux.com
You can also do this at runtime if needed. I use this quite a bit when developing or troubleshooting. I build a quick config setting that I can turn on or off to either show errors or log them (development environment).
if($config['testing'] === true) {
# FOR TESTING ONLY
ini_set("display_errors", "on");
error_reporting(E_ALL | E_STRICT);
# END TESTING
} else {
ini_set("display_errors", "on");
error_reporting(E_ALL);
}
Or you can just type this in manually, I'm lazy and clicking a button is easier.
I found that there is no php.ini file , so I have copied it from the source and place it under usr/php-5.3.0 which is my base directory for PHP. and set the dispayerror and displaystartuperror to off . Also took of E_STRICT and kept E_ALL. Every thing worked fine.
Thanks for all the help. Appreciate it
Regards
Business Accounts
Answer for Membership
by: wuff1ukPosted on 2009-09-09 at 15:00:59ID: 25295980
You're using php4 code in php5. The code still works, but when PHP is set to strict, it issues warnings.
es#57550
See here fore more info: http://pl.php.net/referenc