Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 14, 2008, 01:57:11 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Question about you server settings  (Read 289 times)
emirage
Newbie
*
Offline Offline

Posts: 4


« on: July 04, 2008, 10:13:22 AM »

I want to open a new account to run a PHP script that requires 'safe_mode off'. I also wanted to ask if adult content websites are still allowed on LunarPages.

These are the requirements for the php script I want to run:
- PHP 4 or 5
- 1 mysql database
- Curl
- safe_mode must be set to off

Happy 4th to all!  Bouncin for Joy
Carlos
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 7971



WWW
« Reply #1 on: July 04, 2008, 10:17:59 AM »

Hello,

Thank you for your interest in Lunarpages for your web hosting needs.  We appreciate your business, interest and will be more than happy to help you out in any way that we can. I think either the Basic or Business hosting plans would suit your requirements:

http://www.lunarpages.com/basic-hosting/
http://www.lunarpages.com/business-hosting/

Safe mode can be toggled via your php.ini file, and with adult content here are the general rules:

Lunarpages has no restrictions upon content of your website as long as it is legal as defined by California law.

I hope that helps and if there is anything else we can do for you please feel free to let us know.  We are here to help with anything else you might need.  Thank you for your time.

Logged

emirage
Newbie
*
Offline Offline

Posts: 4


« Reply #2 on: July 04, 2008, 10:27:58 AM »

I will be opening an account with you guys.

Thanks for your prompt reply!
Carlos
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 7971



WWW
« Reply #3 on: July 04, 2008, 10:30:29 AM »

Happy to have you coming aboard soon!  If there is anything else we can assist you with please feel free to ask anytime!
Logged

emirage
Newbie
*
Offline Offline

Posts: 4


« Reply #4 on: July 11, 2008, 03:44:09 PM »

Hi again,

I got my account up and running and now I have gone to the php.ini file from my browser and all I see is a text document that has this:

register_globals = Off

zend_extension="/usr/local/IonCube/ioncube_loader_lin_4.4.so"
zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_4.4_ts.so"

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3


zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


It seems that there is no place to change the safe_mode to off. Am I doing something wrong?

Thanks in advance,
Carlos
Logged
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3400



« Reply #5 on: July 11, 2008, 06:01:41 PM »

1) Safe mode may already be "off" by default. Run the following page to see what it says:

Code:
<?php
phpinfo
();
?>

2) If you need to change the setting, add the following line to php.ini

Code:
safe_mode = off

3) Don't forget to have an entry in your .htaccess file pointing to php.ini:

Code:
suPHP_ConfigPath  /home/ACCOUNTNAME/public_html

4) Search for postings concerning php.ini security -- you may want to hide this file or secure it from inspection by browser, so that hackers can't read it to figure out your site's vulnerabilities.
Logged

emirage
Newbie
*
Offline Offline

Posts: 4


« Reply #6 on: July 11, 2008, 08:30:51 PM »

It was actually off.

Thanks for your help!
Carlos
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM