|
Posted by Janwillem Borleffs on 01/01/06 23:48
Jim Carlock wrote:
> And the content of that page left me puzzled as to how or where
> to place that. Also, the Unix server that the site I'm deploying to
> is a hosting company. IS there a way to edit the httpd.conf file
> through PHP?
>
Most configurations support .htaccess overrides, Just put a file called
..htaccess (so: dot htaccess) in de root of your webfolder and put the
php_value directive in there.
> And I'm trying to get some other things working to find out what
> modules are installed... tried...
>
> apache_get_modules()
>
> but that particular item is failing on my local machine.
> apache_get_version() works and returns the version.
>
Then, you probably installed PHP as CGI. On my system, where PHP runs as a
module, there isn't any problem with this function.
> Also, found the include_path in the php.ini file. So that is
> probably what I'm looking for on the local Windows
> system. But will that work for the remote Apache (Unix)
> server when I don't know where or how to get to it ?
>
For this you should test the .htaccess approach mentioned before. BTW, this
approach will also work on Windows systems.
JW
Navigation:
[Reply to this message]
|