Thread: PHP issue

Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default PHP issue

    Hey guys,

    I am using the Business Package from 1&1. It's a shared server but I wanted to customize the PHP to make it more secure to run Zen-Cart and phpBB3.

    The two things I need to change is register_globals and PHP Output Buffering (gzip). I was told to create a php.ini file and that I would receive no further support in this issue by 1and1. I did some research and from what I have read, I am to create a php.ini file and place it in the directory (/site-directory/store/) with the following code in it:

    register_globals = 'off';
    output_buffering = 'on'

    I added those two lines in a .ini file and named the file "php" but even after uploading it to multiple directories, the installation check still says Register Globals is On and GZip is off.

    Can someone help me turns Register Globals off and GZip on for a Shared Hosting package running on an Linux Apache 1.3.34 Webserver with PHP 4.4.9 running in CGI mode?

    Thanks in advance!
    - Jason H.

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: PHP issue

    Ask 1and1 if you have access to a local (for your website only) copy of php.ini, and if so where is it located via FTP.

    In CGI Mode you may be severely limited as to what you can do by using non-standard php.ini files or .htaccess.

    Vger

    p.s. You should also NOT be using PHP 4 now, as all support for it ended in August of this year - so there'll be no more bug and security fixes.

  3. #3
    Join Date
    Jan 2008
    Location
    Southern California Coast
    Posts
    183
    Plugin Contributions
    0

    Default Re: PHP issue

    Wow thanks, i didn't know that. I will start upgrading to PHP 5.

    - Jason

 

 

Similar Threads

  1. v150 tpl_tabs_best_sellers.php issue.
    By PetleyJ in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Oct 2012, 04:06 PM
  2. sessions.php issue. cant login to admin? PHP 5.2.0
    By Slashdot in forum General Questions
    Replies: 9
    Last Post: 30 Nov 2006, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg