Help With
Which version of PHP is being used?
PHP 4.3.1 is being used
In what form is PHP compiled?
PHP has been compiled as a CGI (Common Gateway Interface). The PHP processes are
executed by the php.exe file directly through Apache
What are the implications of compiling PHP
as CGI?
Compiling PHP as CGI leaves a HUGE security loophole. Anyboby can make your
execute commands from php.exe however it is faster. If you are using Phperl
simply for testing purposes then this fine but if you plan to run a website
which people are visiting you have a problem.
How else can PHP be compiled?
PHP can be compiled as a module of Apache where php.exe is not accessed This is
much safer.
How do I convert my CGI to a module?
To convert PHP from a CGI to a module you have to make a few changes in the
Apache conf files.
However in Phperl2.3 the configuration files for PHP as a module are already
present. All you have to do is go to C:\Phperl2.3\root\conf & rename Sitex.conf
to Sitex.conf.cgi (or anything or even delete it.)
Now rename Sitex.conf.module to Sitex.conf
Here 'x' is the site number where x can be 1,2,3,4
or 5
This process lets you run some sites as CGI & some as modules.