On Tue, 15 Feb 2011, m.roth@xxxxxxxxx wrote: > To: CentOS mailing list <centos@xxxxxxxxxx> > From: m.roth@xxxxxxxxx > Subject: Re: apache 2 and php 5.2 > > Keith Roberts wrote: >> On Tue, 15 Feb 2011, Paul A wrote: >> >>> To: 'CentOS mailing list' <centos@xxxxxxxxxx> >>> From: Paul A <razor@xxxxxxxxxxx> >>> Subject: apache 2 and php 5.2 >>> >>> Hi originally I installed php 4 on centos 5.5 and then a >>> few repos including the remi repo to upgrade to php5, >>> which seems to upgrade/work without any issues. >> >> *snip* >> >>> I was wondering if anyone can tell me why apache is not >>> taking the settings from the /etc/php.ini file and it >>> works without that file. >> >> Creat a php file with this as the contents: >> >> <head> >> <title>php-info</title> >> </head> >> >> <?php phpinfo(); ?> >> >> >> Then load that file into your web browser. > > And when you're done, be 100% POSITIVE that you deleted it. The attacks > that are constant will be looking for it, guaranteed. (I see them all the > time.) Good point Mark. Surely it could be placed in a hidden directory, and protected with httpd.conf directives, so only localhost can access it? Keith ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] ----------------------------------------------------------------- _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos