PDA

View Full Version : php53 problems



eerms
28-Mar-2012, 06:50
Hello

Looked around web for possibilities to get PHP 5.3 running on SLES and found some posts mentining packages php53.
Installed php53, apache2-mod_php53, php53-mysql etc. from YAST on my webserver (default apache2 and mysql) running on SLES 11 SP2 for VMware.
At first everything worked fine and I moved two servers into production, but it seems that now we have found some problems.

Such code:

<?php
print_r($_POST);
?>

<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
<input type="hidden" name="field[1]" />
<input type="hidden" name="field[2]" />
<input type="hidden" name="field[3]" />
<input type="hidden" name="field[4]" />
<input type="hidden" name="field[5]" />
<input type="submit" name="submit" />
</form>

Should return

Array ( [field] => Array ( [1] => [2] => [3] => [4] => [5] => ) [submit]
=> Submit Query )

Instead what we get is


Array ( [field] => Array ( [1] => ) [submit] => Submit Query )

Tested the code with default php packages (5.2.14) and everything works fine.
I don't have much experience and maybe i don't know some security setting for php53?

eerms
28-Mar-2012, 07:34
Also I tested php 5.3.10 from OpenSuse repo (http://download.opensuse.org/repositories/server:/php/SLE_11/) and the code works fine.

meikestone
28-Mar-2012, 08:51
Hello,

this looks like a similar problem, posted here:
http://forums.suse.com/showthread.php?782-Problem-with-apache-php-file-upload
But it is not solved yet ...

Kindly regards

Meike

bluenoser1963
24-Feb-2013, 01:54
Hello

Looked around web for possibilities to get PHP 5.3 running on SLES and found some posts mentining packages php53.
Installed php53, apache2-mod_php53, php53-mysql etc. from YAST on my webserver (default apache2 and mysql) running on SLES 11 SP2 for VMware.
At first everything worked fine and I moved two servers into production, but it seems that now we have found some problems.

Such code:

<?php
print_r($_POST);
?>

<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
<input type="hidden" name="field[1]" />
<input type="hidden" name="field[2]" />
<input type="hidden" name="field[3]" />
<input type="hidden" name="field[4]" />
<input type="hidden" name="field[5]" />
<input type="submit" name="submit" />
</form>

Should return

Array ( [field] => Array ( [1] => [2] => [3] => [4] => [5] => ) [submit]
=> Submit Query )

Instead what we get is


Array ( [field] => Array ( [1] => ) [submit] => Submit Query )

Tested the code with default php packages (5.2.14) and everything works fine.
I don't have much experience and maybe i don't know some security setting for php53?

I am having problems too. I am trying to install XOOPS cms. If I use 5.2.14, everything works. 5.3.8 is broken. I installed 5.3.21 from the opensuse repository for SLES 11 and still have the same problems as 5.3.8. What gives?

robert1b
06-Nov-2013, 14:42
It's a long time ago this post submited. Do someone have solution for that problem ? Problem still exist.
I spend a lot of time to find problem, but solution is not known.

jmozdzen
06-Nov-2013, 15:42
Hi robert1b,


It's a long time ago this post submited. Do someone have solution for that problem ? Problem still exist.
I spend a lot of time to find problem, but solution is not known.

since it's a long time... which SLES, which php RPMs, which problem are you facing exactly (is suppose "I am trying to install XOOPS cms", but cannot tell for sure).

Regards,
Jens