-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan Lane wrote:

> How do I make so that my PHP application running on apache can read php
> modules not in htdocs? Basically I want to "secure" my php modules away from
> the user. Is that something I need to set up in the apache conf file?

Look for the include_path directive in your php.ini file.  Place files
in the path, or add another path and put files there.  Use include,
include_once, require, or require_once from a file inside htdocs and use
relative paths from that include directory.

Brandon Stout
Stout Hosting LLC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkkCLKEACgkQx0pgn74qrcKI4wCguS2EjqzsZB+dOueHY8bcT87M
MmQAoIVJEx8PjQX5bV6JUUXrnERkUBID
=343g
-----END PGP SIGNATURE-----

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to