OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



PHP in safe mode

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

PHP in safe mode

Postby Simeon » Thu Mar 17, 2005 9:49 am

We are about to start a large project using PKP. We have installed it on a variety of macines and have been 'playing' with the kit. We just tried it where PHP is runningin safe mode and we find that we get errors in various places. Is there a fix to this?

Simeon.
Simeon
 

Re: PHP in safe mode

Postby jkeisers » Fri Mar 18, 2005 8:32 am

Simeon wrote:We are about to start a large project using PKP. We have installed it on a variety of macines and have been 'playing' with the kit. We just tried it where PHP is runningin safe mode and we find that we get errors in various places. Is there a fix to this?

Simeon.


If you are running PHP with register_globals off, you can turn them on by putting an .htaccess file in the directory where you are running an application that requires it. You should have this in your .htaccess:

php_flag register_globals on

Please note that register_globals is going to be depracated (i.e. turned off by default) in the newer versions of PHP, because it often leads to security bugs.

--John
jkeisers
 
Posts: 19
Joined: Wed Jul 21, 2004 9:13 pm
Location: Rutgers University, NJ, USA


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests