Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache install with php 1

Status
Not open for further replies.

cdlvj

MIS
Nov 18, 2003
678
US
Apache v 2.0.54
php 4.4.1
SCO 5.05

STEP 1
Apache
./configure --enable-module=shared
make
make install
./apachectl start
comes up and stops ok.

STEP2
PHP
./configure --prefix=/usr/local/php --without-mysql --with-informix --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --enable-track-vars
make
make install

Everything compiling, and installed smoothly.
/usr/local/php/bin/php -i works
made sure AddModule is in conf

# ./apachectl start
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic linker: /usr/local/apache2/bin/httpd: relocation error: symbol not found: getspnam

Any ideas?
Thanks in Advance.

 
Run ldconfig from the directory where your new shared object(.so) files are located so the runtime linker can find them.

 
SCO does not have ldconfig, but probably something else.
Thanks a bunch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top