Page 1 of 1

PHP CLI not working

PostPosted: 04. June 2010 10:55
by epoy
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.

Re: PHP CLI not working

PostPosted: 04. June 2010 13:42
by JonB
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: