Reputation: 11
I tried to install Apache Solr on WAMP server (in Windows) and I succeeded but the problem was that I couldn't use the PHP Solr library on this environment. The error I keep getting is:
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.12/ext/php_solr.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0.
I've downloaded, included and activated the dll file containing the PHP Solr library but this error keeps comming.
PHP version: 5.4.12
Wampserver version: 2.4
Upvotes: 1
Views: 2105
Reputation: 333
C:\wamp\apache-solr-4.0.0
)C:\wamp\apache-solr-4.0.0\example\solr\collection1
[optional]cd c:\wamp\apache-solr-4.0.0\example\
Also, in Command Prompt; type the following command java -jar start.jar
NOTE: Command Prompt should be kept open since Solr service is running. If you close it the service will stop.
This will start jetty webserver and deploy Solr automatically
http://localhost:8983/solr
Upvotes: 1