Solved

phpize error

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php error 27 61
How do I post more than 1 item to php backend 24 32
Echo values after a query in php 5 26
php hashing methods 3 16
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

726 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