Obsolete:PHP on ariel

From Wikitech
(Redirected from PHP on ariel)
Jump to navigation Jump to search

Jun 23 2004

Uninstalled Fedora's PHP (yum remove php) in favour of the 4.3.4 one from /home/wikipedia/src (tried make install; didn't build it). This failed because it wants something from apache:

--($:/home/wikipedia/src/php-4.3.4)-- make install
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module:       apache
/bin/sh: line 1: /usr/local/apache/bin/apxs: No such file or directory
make: *** [install-sapi] Error 127

Installed apache:

--($:/home/wikipedia/src/apache_1.3.29)-- make install
make[1]: Entering directory `/home/wikipedia/src/apache_1.3.29'
...

This apparently worked, but apache won't start. Tried to install PHP again:

--($:/home/wikipedia/src/php-4.3.4)-- make install
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module:       apache
/usr/local/apache/bin/httpd: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/apache/bin/httpd'.
make: *** [install-sapi] Error 1