Everything is ok now in the sites, so i must think that this is a bug or some issue in the 4.4.0 version of the php.Originally Posted by ricardom
Everything is ok now in the sites, so i must think that this is a bug or some issue in the 4.4.0 version of the php.Originally Posted by ricardom
Ricardo M.
I run PHP/4.3.11 on FreeBSD and still have this issue which I solved with the following solution:
added a .htaccess file in the public_html directory of the cpanel3-skel rootdir from the reseller account. In .htaccess I added the following line:
Now every new account automatically gets this .htaccess file with the right php settings. I use this for several months now and it works. However, I know it's not the right solution but since php admitted it's a bug in their programming it's a good alternative.Code:php_flag register_globals on
Last edited by Miquel; 08-07-2005 at 01:16 PM.
Related OS: FreeBSD 5.1-RELEASE
I had this problem with PHP 4.4.0. After downgrading it to 4.3.11 it went away...
Unfortunately I was wrong... it worked for a while but now the error appears again...
For everyone that is experiencing the problem, could you post the result of:
lsof | wc -l
and
sysctl -a | grep fs.file-max
?
I believe it could be connected to the open files in the system.
Hello,
same Prob since 4 Days.
PHP 4.3.11 and the last cPanel Release
I would suggest at least upgrading to PHP 4.4.0, as you're using a very outdated version.Originally Posted by ezztro
We have found simple solution that works for us:
chown nobody.nobody /tmp
(We have this problem with PHP 4.3.10 and it doesn't look like they (PHP) did anything in 4.4.0, at least according to changelog)
* http://www.aleksandrov.eu/ - just a simple personal homepage.
This is not the prob.Originally Posted by HostIt
Same Error with 4.4.0
/tmp is nobody:nobody and 777
Originally Posted by Miquel
Why not just put register_globals on i php.ini?
I was having this same issue, do not know why. I've also been having troubles rebuilding Apache from WHM. I had to replace the .htaccess file with an older one that was named .htaccess.11... something.
Join other cpanel users on IRC.. #cpanel @ EFnet
DIUINC.com
Because setting this on is a wellknown security risk. The safest way to program PHP is to set it off and program without register_globals. I found it somewhere a while ago on www.php.net. If you want to know more about this I suggest to search for it on www.php.netOriginally Posted by bjarne
In short: With register_globals on it means that variables used in the script can be manipulated from de browsers-adressbar resulting in unwanted output or when someone is really smart or lucky he might find a way to log into members-areas.
Last edited by Miquel; 11-05-2005 at 07:23 AM.
Related OS: FreeBSD 5.1-RELEASE