Newbie issue with php!!!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Newbie issue with php!!!

Postby ulmi® » 06. February 2005 12:36

Well for my final degree project i want to implement a webmapping utility, and which i choose http://maplink.sourceforge.net/ 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:
User avatar
ulmi®
 
Posts: 4
Joined: 06. February 2005 12:00
Location: Portugal

Postby ulmi® » 06. February 2005 17:17

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
User avatar
ulmi®
 
Posts: 4
Joined: 06. February 2005 12:00
Location: Portugal

Postby ulmi® » 07. February 2005 00:25

Help please, someone!!! :oops: :(
User avatar
ulmi®
 
Posts: 4
Joined: 06. February 2005 12:00
Location: Portugal

Postby Capono » 07. February 2005 14:05

I think the # must not be there in #LoadModule
Capono
 
Posts: 3
Joined: 07. February 2005 09:31

Postby ulmi® » 07. February 2005 16:37

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!
User avatar
ulmi®
 
Posts: 4
Joined: 06. February 2005 12:00
Location: Portugal


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 108 guests