Solved

phpize error

Posted on 2004-08-23
1
2,503 Views
Last Modified: 2013-12-13
I got these error during install mmcache. Does anyone know how to fix it

Thanks

root@cpanel [/mmcache]# cd turck-mmcache-2.4.6
root@cpanel [/mmcache/turck-mmcache-2.4.6]# export PHP_PREFIX="/usr/local"
root@cpanel [/mmcache/turck-mmcache-2.4.6]# $PHP_PREFIX/bin/phpize
/usr/local/bin/phpize: line 48: cd: /usr/local/lib/php/build: No such file or directory
/usr/local/bin/phpize: line 49: cd: /usr/local/lib/php/build: No such file or directory
/usr/local/bin/phpize: line 52: /usr/local/lib/php/build/phpize.m4: No such file or directory
aclocal: `configure.ac' or `configure.in' is required
root@cpanel [/mmcache/turck-mmcache-2.4.6]#
0
Comment
Question by:lokm
1 Comment
 
LVL 48

Accepted Solution

by:
hernst42 earned 125 total points
ID: 11878653
Try to use only /usr/local/bin/phpize without the export of PHP_PREFIX

Some files may also be missing on your system
# ll /usr/share/php/build/
-rwxr-xr-x  1 root root 46494 2004-04-05 02:20 acinclude.m4
-rwxr-xr-x  1 root root  3157 2004-04-05 02:20 Makefile.global
-rwxr-xr-x  1 root root  2277 2004-04-05 02:20 mkdep.awk
-rwxr-xr-x  1 root root  2241 2004-04-05 02:20 phpize.m4
-rwxr-xr-x  1 root root   410 2004-04-05 02:20 scan_makefile_in.awk
-rwxr-xr-x  1 root root 36075 2004-04-05 02:20 shtool

on your system the path should be /usr/local/lib/php/build and there those files should be present. Maybe something went wrong when installing php
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Php Array Diff 3 27
Paging Using PHP 7 33
Return data with AJAX, JQUERY and PHP 13 35
Upgrades AWS EC2 & RDS Boxes 1 11
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now