Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 11-03-2005, 12:59 PM   #1
horseygirl
Confirmed User
 
Join Date: Nov 2005
Location: uk
Posts: 337
php how do i disable safe mode

hi guys. im trying to disable safe mode but have no idea where the php.ini file is and even what to do with it when i find it. im hosted by lycos that will allow it to be changed. please help and keep it simple im a girl. lol xxxx
horseygirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-03-2005, 05:04 PM   #2
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,600
Lycos... You don't have access to that file.

It would be located at:

/usr/local/cpanel/3rdparty/etc

php.ini

Why do you need access to it ?
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-03-2005, 06:30 PM   #3
AdultEUhost
ORLY?
 
AdultEUhost's Avatar
 
Industry Role:
Join Date: Oct 2005
Location: NL & US
Posts: 2,579
There is another topic about this, use search to find it
__________________
ICQ: 267-443-722 / leon [at] adulteuhost [dotcom]

Nominated for an XBIZ Award as "Webhost of the Year" in 2007, 2012, 2013 and 2014
AdultEUhost is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-03-2005, 07:23 PM   #4
horseygirl
Confirmed User
 
Join Date: Nov 2005
Location: uk
Posts: 337
to install a script i found to make comus work
horseygirl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-04-2005, 08:48 AM   #5
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,600
Quote:
Originally Posted by horseygirl
to install a script i found to make comus work
To make sure, upload to your server a phpinfo.php file :

PHP Code:
<?php phpinfo(); ?>
Check in configuration core, about 3/4 down. You will see :

safe_mode Off Off

If they are on, you can try to get Lycos to edit their php.ini file, but don't count on it.

Or change to a normal host that will have everything setup from the start for his clients:

http://www.pdghosting.com/phpinfo.php


Good luck
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2005, 08:18 AM   #6
ragingdick
Registered User
 
Join Date: Nov 2005
Location: North Carolina, USA
Posts: 8
I know you need to turn it off in the php.ini as said above... I'm more than likely wrong but can't it also be overridden using .htaccess?

maybe i am thinking of register_globals...
__________________
Raging Dick Adult Design Studio

ICQ 35527997
ragingdick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2005, 04:09 AM   #7
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
http://www.php.net/manual/en/function.ini-set.php

will be something like this string ini_set ( string varname, string newvalue )

sample
result=ini_set(safe_mode,false);
put it at the top of your script.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888

Last edited by grumpy; 11-06-2005 at 04:11 AM..
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2005, 12:24 PM   #8
nakki
Confirmed User
 
Join Date: May 2001
Location: http://topadultblogs.com/
Posts: 137
Sorry, but it can't be changed with .htaccess, and ini_set won't have any effect either. I don't really see Lycos changing their php.ini either, so think your best bet would be to find a new host that doesn't have safe mode on..
__________________
- adult blog aggregator - sign up here
NastyLittle.com - trade with an established adult blog
nakki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2005, 03:51 PM   #9
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,600
Quote:
Originally Posted by nakki
Sorry, but it can't be changed with .htaccess, and ini_set won't have any effect either. I don't really see Lycos changing their php.ini either, so think your best bet would be to find a new host that doesn't have safe mode on..
Definitively easier, but some stay were they are.

So in thaty case, if safe_mode is ON, you can always add to the apache config file ( or get them to add ....):

[HTML]<VirtualHost ***.***.***.***>
ServerAlias www.domain.net domain.net
ServerAdmin [email protected]
DocumentRoot /home/domain/public_html
php_admin_flag safe_mode Off
BytesLog domlogs/domain.net-bytes_log
ServerName www.domain.net
User domain
Group domain
CustomLog domlogs/domain.net combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>[/HTML]


please note the added line:

php_admin_flag safe_mode Off


or this other one, but not both at the same time:

php_admin_value safe_mode 0
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....

Last edited by directfiesta; 11-06-2005 at 03:53 PM..
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.