For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > July 2004 > Re: [PHP-INSTALL] Installing PHP5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Installing PHP5
Jeffrey N Dyke

2004-07-22, 3:56 pm




I'm installing PHP5 over top of my current installation (as a module).

Here's the error message:

> ----------------------------------------------------------------
> root@bagle:~/php-5.0.0# make && make install


> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).


> Installing PHP SAPI module: apache
> [activating module `php5' in /etc/apache/httpd.conf]
> cp libs/libphp5.so /usr/libexec/apache/libphp5.so
> cp: cannot stat `libs/libphp5.so': No such file or directory
> apxs:Break: Command failed with rc=1
> make: *** [install-sapi] Error 1
> root@bagle:~/php-5.0.0#
> ----------------------------------------------------------------


> What's the problem here?


I've not installed 5 yet, but i've seen this with other packages...is there
a libphp5.so under libs? do you have rights to it(looks you're root, so
yes), if it doesn't happen to be there look under 'modules', sometimes i've
seen it end up there and i have to move it to get the make install to work.

otherwise run: find / -name libphp5.so (you could likely do find ./ -name
....) from the install directory.
and see if this was created at all.

HTH
Jeff
--
+---------------------+----------------------------+
| Cody Harris | NEWS: |
| Nova Scotia, Canada | VParse production resumed. |
+---------------------+----------------------------+


--
+---------------------+----------------------------+
| Cody Harris | NEWS: |
| Nova Scotia, Canada | VParse production resumed. |
+---------------------+----------------------------+
Cody Harris

2004-07-22, 3:56 pm

I looked, but this turned up:

root@bagle:~/php-5.0.0# find ./ -name libphp5.so
root@bagle:~/php-5.0.0#

I've configured and made with root, because I don't have any normal user logins on that box...

I'm not doing a global search for it, but I doubt i'll find it.

On Thu, 22 Jul 2004 12:21:40 -0400,
Someone named jeffrey_n_Dyke@Keane.com wrote:

>
>
>
> I'm installing PHP5 over top of my current installation (as a module).
>
> Here's the error message:
>
>
>
>
>
> I've not installed 5 yet, but i've seen this with other packages...is there
> a libphp5.so under libs? do you have rights to it(looks you're root, so
> yes), if it doesn't happen to be there look under 'modules', sometimes i've
> seen it end up there and i have to move it to get the make install to work.
>
> otherwise run: find / -name libphp5.so (you could likely do find ./ -name
> ...) from the install directory.
> and see if this was created at all.
>
> HTH
> Jeff
> --
> +---------------------+----------------------------+
> | Cody Harris | NEWS: |
> | Nova Scotia, Canada | VParse production resumed. |
> +---------------------+----------------------------+
>
>
> --
> +---------------------+----------------------------+
> | Cody Harris | NEWS: |
> | Nova Scotia, Canada | VParse production resumed. |
> +---------------------+----------------------------+



--
+---------------------+----------------------------+
| Cody Harris | NEWS: |
| Nova Scotia, Canada | VParse production resumed. |
+---------------------+----------------------------+
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com