I have followed your tip and add add the following to /etc/ld.so.conf:
Quote:
Originally posted by __J
/usr/local/php/lib
/usr/local/apache/lib (assuming it has shared libraries you need to link)
after you have the above lines added into /etc/ld.so.conf run (as root):
/sbin/ldconfig
[/b]
|
But i have no clear idea what do you mean with "run apache ot"
Quote:
Originally posted by __J
to run apache out of that directory set up the PATH environment variable to add /usr/local/apache/bin. [/b]
|
Any way i am a bit confused with this installation.
I swear that the php installation ended ok, i even got the messages that at the end gives you tips of security. Or i might not seen some other mesaages??? Who knows!!!
The thing is that this time the php installation ended with erros. And they are related to the libphp4.so.
It said:
libroll: install warning remember to run 'libtool --finish /usr/src/php-4.3.10/libs
Warning! dlname not found in /usr/local/apache/modules/libphp4.la
Assuming installing a .so rather a libtool archive
chmod 755 /usr/local/apache/modules/libphp4.so
chmod: attributes of: No such file or directory
apxs. Error Command falied withrc:65536
make: ***[install-sapi] Error 1
I hope i wrote everything appeared on the screen right becasue i am not able to copy from the monitor to any application(it si posted as well in this forum).
So i executed the following sentence:
#libtool --finish /usr/src/php-4.3.10/libs
And i installed again.
I didnt get again the errors above written but i couldnt start the web server. The error i got is:
(98) Address already in use:
make_sock: could not bind to adress 0.0.0.0:80
But i reboot the system (i am sorry ia had to do that) and now it works. I will try now to see if php works.
Thanks for all your tips.