Mailing List Archive

Anyone got Davical working on OS X as a server?
I'm trying to get Davical working on an OS X 10.6.1 machine with Web Sharing
turned on so it's the server. I have gone through the installation
instructions dozens of times but at best I end up with a blank page when I
go to my site, and it doesn't seem to want to process the virtual host
properly - php docs don't want to execute through the symlink to
/usr/share/davical/htdocs. For example, I can replace the index.php file
with a simple one <?php phpinfo(); ?> and it just dumps the text into the
browser. But if I put it in the main web directory and turn off the virtual
host, it executes the php properly.

So big question is... anyone get Davical set up on an OS X machine as a
server? If so, how'd you do it? If not, any suggestions I could try?

Thanks,

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
Anyone got Davical working on OS X as a server? [ In reply to ]
On 10 Dec 2009, at 17:38, Ken Ray wrote:

> I'm trying to get Davical working on an OS X 10.6.1 machine with Web Sharing
> turned on so it's the server.

I haven't tried it. Maybe some clues in/around <http://discussions.apple.com/search.jspa?objID=c263&search=Go&q=PHP>.

Also of interest, <http://wiki.apache.org/httpd/DistrosDefaultLayout>.

(If you're using Mac OS X Server, things should be easier.)

Good luck
Graham
Anyone got Davical working on OS X as a server? [ In reply to ]
On Thu, 2009-12-10 at 11:38 -0600, Ken Ray wrote:
> I'm trying to get Davical working on an OS X 10.6.1 machine with Web Sharing
> turned on so it's the server. I have gone through the installation
> instructions dozens of times but at best I end up with a blank page when I
> go to my site, and it doesn't seem to want to process the virtual host
> properly - php docs don't want to execute through the symlink to
> /usr/share/davical/htdocs. For example, I can replace the index.php file
> with a simple one <?php phpinfo(); ?> and it just dumps the text into the
> browser. But if I put it in the main web directory and turn off the virtual
> host, it executes the php properly.
>
> So big question is... anyone get Davical set up on an OS X machine as a
> server? If so, how'd you do it? If not, any suggestions I could try?
----
you can pretty much count on php to give you a blank page when you have
a page with php errors on it.

You probably want to check the web server logs for clues but
generally...

php -l /etc/davical/$YOUR_HOST_conf.php # assuming the Macintosh
supports php cli which might be a bad assumption

will report whether there are errors or not (and would be bet there are)

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.