VerySimple Developer Blog
Technical Tips, Tricks and Rants.
 
Mar
30
Filed Under (Apache, PHP) by Jason on 30-03-2006

I just spent about an hour trying to figure this out, but when you have a php application that requires call time pass reference to be enabled, you can set in the .htaccess file.

the trick is that you have to set it to “1″ and not “on” as is indicated on the PHP support forums. here’s the code:


php_flag allow_call_time_pass_reference 1

 

Comments:
3 Comments posted on "set php allow_call_time_pass_reference in .htaccess"
Jesse Donat on September 17th, 2007 at 11:15 am #

You just saved me some time! Thanks.


sanguis on December 12th, 2007 at 3:25 pm #

didn’t work for me but I bet there is a good reason for that.


dj.luiting on May 1st, 2008 at 6:13 am #

i was doing an install of another program, that said i needed this option. luckily i found your post after some google-ing.
i first tried
allow_call_time_pass_reference 1
without php_flag at the beginning
that didnt work
thanks!


Post a comment

Name: 
Email: 
URL: 
Comments: 
Close
  • Social Web

NOTE: Email is disabled

E-mail It