Page 1 of 1

Newbie issue with php!!!

PostPosted: 06. February 2005 12:36
by ulmi®
Well for my final degree project i want to implement a webmapping utility, and which i choose which uses phpmapscript.dll that needs to run on apache server with php runing as cgi...and here begins my problem to configure xampp's php (already switch to php4.3.10) as cgi...could someone help???

P.S. I know there are some security issues but the server will be restriced to only some ips, i think this will help :!:

Thanx in advance :wink:

PostPosted: 06. February 2005 17:17
by ulmi®
ok I think i got it running, but the thing is, now on the xampp start page, when i go to status i get that mysql, php and Common Gateway Interface (CGI) are deactivated?????How can i solve this???

but on php info it shows that Server API is now CGI/FastCGI, so i think i'm now running php as cgi

But none of demos work, because php is deactivated??!!!??!?!

I did this by these lines in httpd.conf
Code: Select all
#LoadModule php4_module "E:/apachefriends/xampp/apache/bin/php4apache2.dll"

ScriptAlias /php/ "E:/apachefriends/xampp/php/php4/"

AddType application/x-httpd-php .php .php4 .php3 .phtml
Action application/x-httpd-php "/php/php.exe"

the thing is when i try to run wmsclient.phtml to run the php application, it asks me for "c:\php4\php_pgsql.dll"... what do i need to change to put on the right path?

Thanks in advance

PostPosted: 07. February 2005 00:25
by ulmi®
Help please, someone!!! :oops: :(

PostPosted: 07. February 2005 14:05
by Capono
I think the # must not be there in #LoadModule

PostPosted: 07. February 2005 16:37
by ulmi®
yeah when i remove that everything goes okay, but on phpinfo it shows that the server api is apache2handler and not cgi...

but thanks a lot!