Skip to content

Commit c2396e3

Browse files
committed
update installation instructions
1 parent de05de3 commit c2396e3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.INSTALLATION

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PHP VERSION Dependencies
33
================================================================================
44

5-
PHP version 5.3 or later is needed
5+
PHP version 7.0 or later is needed
66

77
================================================================================
88
Extension Dependencies
@@ -16,10 +16,10 @@ Library Dependencies
1616

1717
libxml2 2.6.26 or later is required
1818

19-
libcurl 7.15.0 or later is required
19+
libcurl 7.15.5 or later is required
2020

2121
================================================================================
22-
On UNIX
22+
On Linux/UNIX
2323
================================================================================
2424

2525
As mentioned before, the libxml and curl extensions must be enabled for the Apache Solr extension to be functional.
@@ -30,7 +30,7 @@ To install the Apache Solr extension directly from PECL, please enter the follow
3030

3131
pecl install solr
3232

33-
To compile from source, please follow the following steps
33+
4A. To compile from source, please follow the following steps
3434

3535
$ phpize
3636

@@ -46,9 +46,7 @@ extension=solr.so
4646

4747
Then restart your webserver. For CLI only, you do not have to restart your webserver.
4848

49-
Note :
50-
51-
If your system does not have the minimum version of the libcurl or libxml libraries, you can download the libraries
49+
4B. If your system does not have the minimum version of the libcurl or libxml libraries, you can download the libraries
5250

5351
and compile them from source into a separate install prefix.
5452

@@ -94,7 +92,8 @@ Then you can pass libcurl prefix to the configure script for CURL and LIBXML res
9492

9593
during the configuration phase as shown here :
9694

97-
4B ./configure --enable-solr --with-curl=/root/custom/software --with-libxml-dir=/root/custom/software
95+
export PKG_CONFIG_PATH=/root/custom/software
96+
./configure --enable-solr --with-libxml-dir=/root/custom/software
9897

9998
If you already have the latest versions of the libraries then the step listed in 4A alone is sufficient.
10099

0 commit comments

Comments
 (0)