Solved

phpize error

Posted on 2004-08-23
1
2,505 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

778 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