PHP CLI not working

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

PHP CLI not working

Postby epoy » 04. June 2010 10:55

I wan't to execute php commands from the command line, and I'm using XAMPP 1.6.7 for windows as it's server. When I try to use the php.exe from c:\xampp\php\php.exe the following errors apear.

PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_pgsql.dll' - This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.

I reinstalled the xampp server, but it still show the same result.
epoy
 
Posts: 1
Joined: 04. June 2010 10:50

Re: PHP CLI not working

Postby JonB » 04. June 2010 13:42

uuuh - basically you can't. PHP, unlike Perl, is not a free standing complete language. It needs a server context to parse it.

http://php.net/manual/en/introduction.php

http://en.wikipedia.org/wiki/PHP

:roll:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: intspeed and 116 guests