[nylug-talk] VirtualDocumentRoot and PHP
Seth Rothenberg
Thu Nov 30 15:28:22 EST 2006
A month later, I am returning to this issue.
> Seth Rothenberg wrote:
>> Greetings,
>> I have a server running apache 1.3 and using
>> VirtualDocumentRoot and PHP.
>>
>> And I have a server running apache2 and VirtualDocumentRoot
>> and not succeeding in running PHP.
One suggestion:
> apt-get install apache2 libapache-mod-php4
>
> Seriously. That's the entire procedure, and if it doesn't work, it's
> not your fault. Debian's PHP packages (4 & 5) have been somewhat broken
> lately, failing to reliably do the most basic things necessary for PHP
> to work with Apache.
>
> Start by making sure the Apache2 /etc/apache/modules.conf (or whatever
> they call it, I forget how A2 lays things out) is loading the PHP4 module.
The above did not work.
There are two separate, different How-To files in apache.org
that together or independently did not work.
The error is the same,
"Error in suphp.c on line 244: Script is not in document root"
I was wondering if anyone has done this?
Short of succeeding in the above, I seem to have 2 options:
1. manually configure a dozen domains (ok, easy enough with emacs)
2. install apache 1.3 and use the known working config....
Thanks
Seth
More information about the nylug-talk
mailing list