You are here: Trouble Compiling 4.3.10 on FreeBSD 5.X « PHP « IT news, forums, messages
Trouble Compiling 4.3.10 on FreeBSD 5.X

Posted by Tim Traver on 10/04/74 11:09

Hi all,

for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...

Here are the config commands that I used for apache and php :

EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
--enable-shared=ssl --disable-rule=SSL_COMPAT

apache installs and works just fine.

I use this for php :

../configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf
--with-freetype-dir=/usr/local/lib --enable-shared

It compiles ok, but when I go to install it, it gives an error :

Installing PHP SAPI module: apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1

Stop in /dev/php-4.3.10.

and there is no shared object file in the libs directory.

This works just fine on a FreeBSD 4.10 client, but for some reason it
doesn't create the shared object on this 5.3 system.

More info :

System is a Dual Opteron AMD architecture, running a fresh install of
FreeBSD 5.3...

thanks,

Tim.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация