🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.www.php-user
Article #1

have anyone use the -c option in a script

#1
From: Chris Allen
Date: Mon, 02 Oct 2000 00:00
17 lines
1260 bytes
I have php in cgi mode, I want to use a differnt php.ini file using the
-c option inside of the script

i tried this

#!/usr/local/bin/php -c /home/domains/cyo
<?php



                               phpinfo();



                               ?>

what am i doing wrong?
Technical Details
Message-ID: <39D81F61.C13ED90E@swbell.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9981,9585cd8c77a5ef8e,start
X-Google-Attributes: gidf9981,public
X-Google-Thread: 108904,9585cd8c77a5ef8e,start
X-Google-Attributes: gid108904,public
X-Google-Thread: 10ce1c,9585cd8c77a5ef8e,start
X-Google-Attributes: gid10ce1c,public
From: Chris Allen <cyochris@swbell.net>
Subject: have anyone use the -c option in a script
Date: 2000/10/02
Message-ID: <39D81F61.C13ED90E@swbell.net>
X-Deja-AN: 676464661
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@pacbell.net
X-Trace: MTggTm9BdXRoVXNlciBDZW50cmFsLVJlZ2lvbi1Qb3N0ZXJzIDIxNi42My4yMDAuMTI1ICBTdW4s!IDAxIE9jdCAyMDAwIDIyOjM4OjQxIFBEVA==
Organization: SBC Internet Services
MIME-Version: 1.0
NNTP-Posting-Date: Sun, 01 Oct 2000 22:38:41 PDT
Newsgroups: mailing.www.php-user,alt.php,ba.php