I was able to get this working through a bit of a kludge... it works
as a CGI but not as an apache module.

thoughts?

ScriptAlias /php/ "c:/Program Files/php/"
AddType application/x-httpd-php .php

# For PHP 5
Action application/x-httpd-php "/Program Files/php/php-cgi.exe"

On Sep 22, 12:52 pm, ding <dingfel...@gmail.com> wrote:
> I am a bit frustrated getting visualsvn up and running on a new
> server.
>
> Here are my requirements:
>
> The server must have Apache and PHP available, integrated with mysql.
> The server must have subversion (preferably available via visualsvn)
> The apache configuration must have subdomain support etc.
> All web traffic must use ports 80 or 443
>
> I would prefer not to have multiple copies of apache.
>
> I see how I can add subdomains etc to the httpd-custom.conf
> but I am having trouble getting PHP to load in this file.
>
> I installed the latest php and then set up:
>
> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
> PHPIniDir "C:/Program Files/PHP/"
> LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>
> this failed miserably with:
>
> VisualSVNServer.exe: Syntax error on line 115 of C:/Program Files/
> VisualSVN Server/conf/httpd.conf: Cannot load C:/Program Files/PHP/
> php5apache2_2.dll into server: The specified module could not be
> found.
>
> but C:/Program Files/PHP/ does contain the dll.
>
> I am presuming that the apache included by visualsvn is not doing
> something right?
>
> can someone give me a hint to get php working?

Reply via email to