hi,
I am trying to install php 5.2.9 from source on CentOS 5.2. After make install I get a strange warning, and I do not get the libphp5.so file, but I do get the .la and .a file.
Here is the message...
# make install
Installing PHP SAPI module: apache2handler
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' libphp5.la /usr/lib64/httpd/modules
/usr/lib64/apr-1/build/libtool --mode=install cp libphp5.la /usr/lib64/httpd/modules/
cp .libs/libphp5.lai /usr/lib64/httpd/modules/libphp5.la
cp .libs/libphp5.a /usr/lib64/httpd/modules/libphp5.a
chmod 644 /usr/lib64/httpd/modules/libphp5.a
ranlib /usr/lib64/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /root/php-5.2.9/libs'
Warning! dlname not found in /usr/lib64/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib64/httpd/modules/libphp5.so
[activating module `php5' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/php/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing build environment: /usr/lib64/build/
Installing header files: /usr/local/php/include/php/
Installing helper programs: /usr/local/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/lib64/php/
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] Archive_Tar - already installed: 1.3.2
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] PEAR - already installed: 1.7.2
Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
You may want to add: /usr/lib64/php to your php.ini include_path
Installing PDO headers: /usr/local/php/include/php/ext/pdo/
any help would be great.
UPDATE: I have marked in red where I think the problem is.
Installing php from source on CentOS 5.2
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey