Disabling extensions?

123 views
Skip to first unread message

Gerhard Killesreiter

unread,
Jun 26, 2010, 12:27:36 PM6/26/10
to hiphop-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

can I disable one of the included extensions during runtime? or do I
need to remove the associated files and recompile?

Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwmKngACgkQfg6TFvELooRoMACgr3kK7CU2GA0V1kyzlSLM2uYS
1YcAniFfe51jFuvtpHXJkKW2gun1YBnT
=Q6Hy
-----END PGP SIGNATURE-----

Gerhard Killesreiter

unread,
Jun 26, 2010, 12:52:50 PM6/26/10
to hiphop-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerhard Killesreiter schrieb:


> Hi there,
>
> can I disable one of the included extensions during runtime? or do I
> need to remove the associated files and recompile?

OK, the latter doesn't work at all...

What I really want to do is to change some mbstring options which I'd
usually do in php.ini. Where do I configure them in hiphop?

Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwmMGIACgkQfg6TFvELooTB+QCfStC9IMfmp2y3HL8euU6oVoUW
x50AoLrptUjW7UYJvbPveCvYEVFmJRfO
=rMXp
-----END PGP SIGNATURE-----

Scott MacVicar

unread,
Jun 26, 2010, 8:50:12 PM6/26/10
to <hiphop-php-dev@googlegroups.com>
What settings need to be exposed and I can make it happen.

We just expose things as needed, though the function overloading stuff probably doesn't work.

- S

Gerhard Killesreiter

unread,
Jun 26, 2010, 9:00:38 PM6/26/10
to hiphop-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott MacVicar schrieb:


> What settings need to be exposed and I can make it happen.
>
> We just expose things as needed, though the function overloading stuff probably doesn't work.

Currently, I have in my .htaccess:

php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0

I believe these are standard.

php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0

I need these, though.

Furthermore in a settings.php file:


ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');

The last one being quite important.


Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwmorYACgkQfg6TFvELooQ+sACgvYZUlCJL5xZepTkyDW6rVdBQ
J5wAnRe4T9RXM0dULeskLTVwOCPqgvnC
=c58V
-----END PGP SIGNATURE-----

Scott MacVicar

unread,
Jun 26, 2010, 9:57:59 PM6/26/10
to <hiphop-php-dev@googlegroups.com>
Those are all standard.

magic_quotes_gpc is off, register_globals are off and so is session.auto_start.

You can register a handler using session_set_save_handler() at the top of a file.

- S

Gerhard Killesreiter

unread,
Jun 27, 2010, 8:26:58 AM6/27/10
to hiphop-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott MacVicar schrieb:


> Those are all standard.
>
> magic_quotes_gpc is off, register_globals are off and so is session.auto_start.
>

what about

php_value mbstring.http_input pass
etc?

?

Should ini_set work for these?

> You can register a handler using session_set_save_handler() at the top of a file.


Tried that but got:

HipHop Fatal error: No storage module chosen - failed to initialize session


Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwnQ5IACgkQfg6TFvELooQWBgCgu497DBqORIHHKlBa+WxTAjGN
Q94AniJYIISPq4eRB8+fhdSehp2REPww
=R7MA
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages