Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues

Reply
 
Topic Tools
  #1  
Old October 29th, 2012, 10:47 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
Enable PHP directives

Hi,
This is all based on a script I have downloaded.
I have been trying to figure out how to turn on 2 PHP function which are disabled by default. Unfortunately my host Godaddy is not helping much, or not as much as I would like.
I wanted to turn on 3 different things originally.
expose_php
allow_call_time_pass_reference
register_globals

Anyway after a bit of searching I created a php5.ini file and inserted the line,

register_globals = on
The above line did work

So I then thought I would add the following lines

expose_php = on
allow_call_time_pass_reference = on

So now my php5.ini file looks like

register_globals = on
expose_php = on
allow_call_time_pass_reference = on

This did not work because because the bottom 2 lines are still not turned on. Anyway I was then told I could try

allow_call_time_pass_reference=on

But still this does not work my phpinfo.php file is still telling me it is turned off. Does anyone have any other ideas how I can turn these other 2 on.
Cheers Nige.

PS, I also have a php.ini file which is a replica of the php5.ini file I created.
Reply With Quote
  #2  
Old October 29th, 2012, 11:54 PM
Buzz Buzz is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: MacOS
Location: Oregon, USA
Posts: 4,005
expose_php = On
allow_call_time_pass_reference = On

Should work.

The only thing I could possibly think of is perhaps it's case sensitive and the O needs to be an uppercase O. Beyond that, I would suggest that GoDaddy may be preventing those items from being switched at the host level.
Reply With Quote
  #3  
Old October 31st, 2012, 08:41 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,475
I was thinking myself that maybe there is another ini file that is taking precedence
Reply With Quote
  #4  
Old November 2nd, 2012, 09:30 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
Hi I tried your suggestion about using uppercase O so I will leave it 24 hours just in case there is some kind of delay. I will then assuming the above don't work try removing one of the ini files and swapping them about. I will post results back in a couple of days.
Cheers Nige.
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
How to enable AGP 2.0. gzibocod Hardware 1 July 11th, 2006 10:41 PM
I can't enable AGP 8x Snoopy13 Hardware 0 February 26th, 2006 07:32 AM
H-E-L-P PLEASE!! My CD-ROM Drive is not enable and it WON'T let me enable it! imcrafts Hardware 5 April 21st, 2005 04:12 AM
How to enable AGP??? Yuen47 Hardware 10 February 14th, 2005 12:47 AM
cannot enable DMA blackbetty50 Windows 98 1 February 24th, 2003 01:44 AM


All times are GMT +1. The time now is 01:57 PM.