CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Install issue? Trying to generate php app for apache2

Print topic Send  topic

Author Message
BillAngus

Posts: 4
Posted: 09/16/2005, 11:39 AM

Hi all:

I hope this isn't the wrong forum to post this in. If so please let me know where one may discuss CCS/php installation/config type questions...

I really like the look of CCS and I'm trying to make it work in my environment. Evaluation edition CCS ver. 2.3.2.28

I have an apache2 server with php, perl and MySQL setup and running fine. At least my merchant order form perl scripts run fine, and phpmyadmin runs fine as well.

Can anyone tell me how best to resolve the following?

In my server setup, PHP scripts are executed from any web directory (they have .php or one of 4 other extensions that indicate a php-type file).
I have separately setup a cgi-bin directory. Perl processes .CGI scripts only in this directory. These require a she-bang at the top something like ...
#!C:/perl/bin/perl
...
(and naturally enough... there ought to be Perl code in the script following the she-bang)

When I try to get Codecharge to generate a php application. It seems to be generating php scripts with .cgi extensions. These fail in the .CGI directory because they don't have a she-bang -- and aren't perl scripts. They begin with ...
<?php
//Include Common Files @1-7C2F8C97
define("RelativePath", ".");
define("PathToCurrentPage", "/");
include(RelativePath . "/Common.cgi");

They display their coding rather than rendered output in regular directories because, lacking the .PHP file tag, they do not get processed as PHP script.

Does everybody else do something like manually changing the .CGI file tags to .PHP Or is my setup fubar in some other way?

Thanks in advance. Bill A.
View profile  Send private message
BillAngus

Posts: 4
Posted: 09/17/2005, 11:40 PM

PLEASE DISREGARD this post.. RTFM fixed the problems more or less
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.