Forum Moderators: coopster
What i Do?
With PHP
./configure --with-mysql --with-apache=../apache_1.3.31
in apache
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
cp php.ini-dist /usr/local/lib/php.ini
And add httpd.conf
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
AddType application/x-httpd-php .php
Donīt work...
-----------------------------------------------------
After i try:
./configure --prefix=/usr/local/apache --enable-shared=max --enable-module=most --enable-module=so
make
make install
and php
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
when run make show this problem.
APACHE
./configure --prefix=/usr/local/apache --enable-shared=max --enable-module=most --enable-module=so
make
make install
PHP(4.3.8)
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
make
ERROR-------> /zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo
Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo
sapi/apache/mod_php4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt
-lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o libphp4.la
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
--------------------------------------------------------------------------------------------
Second Config (MANUAL)
./configure --prefix=/usr/local/apache --enable-module=so
make
make install
PHP(4.3.8)
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
make
-lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o libphp4.la
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
What i do? ahuehauehu(lol..)