Solved

phpize error

Posted on 2004-08-23
1
2,509 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 count occurrences of each item in an array.

691 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