PHP5 doesn't compile on OpenSUSE 10.2
It's now one week that I am get confused with installing PHP5.2.x, Apache 2, and openSuse 10.2 (I also tried to install PHP 5.1.x, without any success).
The problem is about make install PHP. I can install Apache2 from source successfully. Here is the commands which I use for doing it: ./configure --prefix=/usr/local/apache2 --enable-so Apache successfully installed, and I can telnet localhost on port 80, and see contents of my webserver folder via browser. I also can configure and make PHP. Here is list of my commands: ./configure \ --with-oci8-instant-client \ --prefix=usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-sigchild –with-config-file-path=/usr/local/apache2/conf (Please note that I already installed Oracle Instant Clinet RPMs successfully). But after running make install command, I got this error: Warning! dlname not found in /usr/local/apache2/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp5.so chmod: cannot access `/usr/local/apache2/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 I tryed it several times, with several versions of PHP, even I try to install openSuse from the scratch (!), re partition my hard disk, and still I have problems. The problem is that I can't find libphp5.so in /usr/local/apache2/modules. And I can't find it anywhere else in my computer, also can't find anywhere on the net to download it. If somebody know where is the problem and can help me, I beg him/her to tell me. I am completely exhausted about this. |
Are you sure you're running make install as root?
Quote:
|
Of course I am logged in as root. And the main problem is the libphp5.so doesn't create by PHP itself.
I know that under windows we can install PHP in two ways, ISAPI and CGI. Does it the same in the Linux? |
Quote:
Quote:
|
for open suse I'd use L.A.M.P which installs mysql and php, the php version is 5.2 and you don't need to compile it, it is on the dvd,
|
All times are GMT -5. The time now is 08:52 PM. |