php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41313 Cannot install apache SO
Submitted: 2007-05-07 15:32 UTC Modified: 2007-05-07 15:34 UTC
From: dimitry at bintime dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.4.7 OS: SuSE Linux 9.2 (x86-64)
Private report: No CVE-ID: None
 [2007-05-07 15:32 UTC] dimitry at bintime dot com
Description:
------------
libphp4.so is not created in apache modules directory.
Instead .la/.a files are there:

www:/usr/local/src/php-4.4.7 # ll /usr/local/apache2/modules/ | grep php
-rw-r--r--   1 root root 11083872 May  7 17:15 libphp4.a
-rw-r--r--   1 root root     1244 May  7 17:15 libphp4.la



Reproduce code:
---------------
Configure string:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-pear --with-xml --with-xmlrpc --with-sqlite --enable-session --enable-inline-optimization --enable-ftp --disable-debug --prefix=/usr --with-config-file-path=/usr/local/lib  --enable-soap --with-zlib-dir=/usr/lib64 --with-dom --with-gd=/usr/local --with-dom-xslt --enable-xslt --with-xslt-sablot=/usr/local  --enable-force-cgi-redirect --with-curl --with-iconv --enable-memory-limit --with-zip=/usr/local/lib


Make is done without errors.
Output of `make install`:

www:/usr/local/src/php-4.4.7 # make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-4.4.7/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing PEAR environment:      /usr/lib/php/
[PEAR] Archive_Tar    - already installed: 1.3.2
[PEAR] Console_Getopt - already installed: 1.2.1
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR           - already installed: 1.5.0
Warning! a PEAR user config file already exists from a previous PEAR installation at '/root/.pearrc'. You may probably want to remove it.
Wrote PEAR system config file at: /usr/etc/pear.conf
You may want to add: /usr/lib/php to your php.ini include_path
[PEAR] Structures_Graph- already installed: 1.0.2
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1


Expected result:
----------------
libphp4.so in /usr/local/apache2/modules/


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-07 15:34 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 11:01:32 2024 UTC