Sunday October 14, 2007

Getting PhP to work

It took some effort and UNIX insight. I was stumped for a moment when I had uncommented the line in apache's config file to allow it to see the php config files. It turned out that the cause for the browser, firefox, not to run the scripts, is that the execute bit needs to be set, standard rule for scripts. Once I added execute, the scripts began to run, which is not to say that they did what I thought they did. Simple ones did work, one which gets a random selection of pictures from a pictures subdirectory does not work. It appears that the config makes different assumptions about path names than I made over on the Mac. I have to find my PhP texts and figure this out. I need something like a basename.

Quanta and Konqueror not full browsers like Firefox

Neither "browser" can deal with PhP, and XML with Xslt may be questionable, although Quanta looks like it may be able to look at my DTD for may xml, but it doesn't do so by default, certiantly not Konqueror. Still, I may be able to fix this. For now, I have to use Firefox to really text PhP or XML files.

Free Web Hosting