|
From: Tuc at T-B-O-H.N. <ml...@t-...> - 2007-05-01 20:30:33
|
Hi,
Good news and bad news....
Good news : I found there is another program, php-cgi that DOES give
me the headers. So now I get them, index.php redirects to setup/index.php .
Bad news: Even though I try to attempt to override the
session.auto_start via either the command line, or pointing to a new
php.ini.... It doesn't accept it.
So back at square one.
Still looking for help.
Tuc
>
> Hi,
>
> To start:
>
> OS - FreeBSD 4
> Web Server - Apache 1.3.37
> Database - Mysql 4.1.22
> PHP - 4.4.4 with Suhosin-Patch 0.9.6
> phpWebSite - Out of box, unconfigured
>
> I'm trying to run under CGIWRAP for Php, which is forcing me to
> run via the command line. In doing so, I really can't seem to get too far
> on this.
>
> Out of the box, I try to run the "index.php" and nothing
> returns :
>
> vjofn# php index.php
> vjofn#
>
> If I look at the script, it wants to redirect me to "./setup/index.php".
> So if I start that...
>
> vjofn# php index.php |more
> session.auto_start must be set to 0 for phpWebSite to work. Please review your p
> hp.ini file.
>
> Ok, not a problem, lets make it happy...
>
> vjofn# php -dsession.auto_start=0 index.php | head
> <html>
> <head>
> <title>phpWebSite 1.1.0 - Directory Permissions</title>
> <style type="text/css">
> body {
> background-color : #ADB583;
> font-size : 100%;
> font-family: Arial, Helvetica, sans-serif;
> color : #0E1662;
> }
>
> Which isn't bad, except since its running from the command line,
> not the Apache module, its expected to return Content Type headers and
> possibly other things.....
>
> Is there something special I need to tweak/do first before being
> able to run with the command line module, not apache mod_php?
>
> Thanks, Tuc
|