Litespeed PHP Compile Error: Cannot find autoconf

Once I finally made it past the PHP build process the Litespeed Admin Console Detailed Log complained of not being able to find autoconf. This one is fairly obvious but wanted to note just in case someone is not familiar with the autoconf package. Again since this is a new server with a minimal install the autoconf package had not been installed. Below are details about the error from the Litespeed Detailed Log and how to install autoconf via yum.

Litespeed PHP Compile Process Error: Cannot Find autoconf

Below is a small snip from the Litespeed Detailed Log viewed from the Litespeed Admin Console.

Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then rerun the script.

**ERROR** Could not run PHPize for Suhosin

Cannot Find autoconf Via Litespeed Detailed Log On CentOS Linux:

Litespeed Compile Error: Cannot Find autoconf

To resolve this issue all you need to do is install autoconf using the yum package manager and then start the PHP install process again via the Litespeed Admin Console.

Install autoconf Using Yum Package Manager:

[root@dev ~]# yum install autoconf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.usc.edu
Excluding mirror: mirrors.bluehost.com
 * base: mirrors.finalasp.com
 * extras: mirrors.versaweb.com
 * updates: centos-distro.cavecreek.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
--> Running transaction check
---> Package imake.i386 0:1.0.2-3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                          Arch                           Version                         Repository                    Size
====================================================================================================================================
Installing:
 autoconf                         noarch                         2.59-12                         base                         647 k
Installing for dependencies:
 imake                            i386                           1.0.2-3                         base                         319 k

Transaction Summary
====================================================================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 966 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): imake-1.0.2-3.i386.rpm                                                                                | 319 kB     00:00
(2/2): autoconf-2.59-12.noarch.rpm                                                                           | 647 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               910 kB/s | 966 kB     00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : imake                                                                                                        1/2
  Installing     : autoconf                                                                                                     2/2

Installed:
  autoconf.noarch 0:2.59-12

Dependency Installed:
  imake.i386 0:1.0.2-3

Complete!
[root@dev ~]#

Once autoconf was installed the PHP compile process completed without issue.


List Price: $39.99 USD
New From: $14.04 USD In Stock
Used from: $3.20 USD In Stock


List Price: $29.95 USD
New From: $7.89 USD In Stock
Used from: $0.01 USD In Stock

Share