RE: PHP operation Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's happening on Fedora core 2, I'm not running Selinux, unless FC turned
it on by itself.

Nothing of significance in the message log, the logs simply show the script
being accessed and executed without errors.


This is a basic test script that fails

<?php

$test1 = array(1, 2, 3, 4, 5, 6);

foreach($test1 as $out)
{
	echo $out."\n";
}

?>

And it just prints the words array rather then the 1,2,3...



--------------------------
 

> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx 
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Stefan Held
> Sent: Tuesday, 21 June 2005 11:25 AM
> To: For users of Fedora Core releases
> Subject: Re: PHP operation Problem
> 
> Am Dienstag, den 21.06.2005, 10:56 +1000 schrieb stefaan:
> > It seems that some of my php scripts don't get executed 
> properly on a 
> > FC2 install, php is installed and seems to be working OK 
> until I put 
> > in a foreach loop which just doesn't work.
> 
> Don't get me wrong. I use foreach loops on Core[1-4] to.
> Maybe you have selinux enabled? 
> 
> What do you see in /var/log/messages?
> 
> > The script is definitely OK as it works on other servers.
> > 
> > So I'm looking at rebuilding PHP on this machine, do I 
> first need to 
> > rpm -e
> > php* and reinstall or is there a better way?
> > Can I also use yum to reinstall it maybe?
> > 
> 
> Why do all of you think that compiling is the mother of all goods?
> 
> Afterwards you compile your php version, who is fixing for 
> you the security stuff? And if you do that please build a package.
> 
> But i do not think your issue regards to an broken php version.
> 
> Else tons of boxes out there would not work.
> > 
> > Stefaan
> > 
> > 
> 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux