[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] updating documentation for php, javascript, css
From:       Børge_Holen <borge () arivene ! net>
Date:       2006-08-29 21:52:28
Message-ID: 200608292352.28847.borge () arivene ! net
[Download RAW message or body]

On Tuesday 29 August 2006 23:31, Andras Mantia wrote:
> On Tuesday 29 August 2006 18:46, Julio wrote:
> > I need to know the simplest way to Prepare Quanta to process PHP
> > scripts. I have already installed APACHE, PHP5, MySQL and.
> > Apache is OK because LocalHost informs me about that.
> > PHP works fine because I have been able to call .php scripts in
> > /www/and they work fine - From the address tab of the browser.
> > The problems is in Quanta. The preview for HTML pages works fine but
> > the .php scripts return a blank page.
> > If possible let me know about some examples of Postgres - Php from
> > Quanta.
>
> The solution is to use the preview prefix. I use the following setup
> here:
> - my project is in $HOME/development/htmlsite
> - the apache default directory is in /srv/www/htdocs (Suse system)
> - create a symbolic link  from $HOME/development/htmlsite
> to /srv/www/htdocs/htmlsite
> - in the project option set the preview prefix to
> http://localhost/htmlsite and check the box to allow usage of preview
> prefix
>
> From now on whenever you preview a document, it will preview through
> your apache server, thus will render the PHP if apache is configured
> correctly.
>
> If it works for you, you might make the symlink to $HOME/public_html and
> use http://localhost/~username/htmlsite for preview prefix.
>
> Andras


OR! do as Andreas says. I actually tried this... didn't get the hang of it... 
and mysql didn't like my powerbook. 
-- 
---
Børge
Kennel Arivene 
http://www.arivene.net
---
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic