Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
(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.
And I can't find it anywhere else in my computer, also can't find anywhere on the net to download it.
If your build was successful, then libphp5.so should be under /php-source/libs and also in /php-source/.libs, so you can copy it to the apache modules dir.
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?
And the main problem is the libphp5.so doesn't create by PHP itself.
If running make produced no errors, then you should have a libphp5.so under the libs and/or .libs subdirectory in the directory you're compiling php. You can also try the recent version of php-5.2.1 to see if it works.
Quote:
I know that under windows we can install PHP in two ways, ISAPI and CGI. Does it the same in the Linux?
You can build php as an isapi or cgi module, but if you're going to use apache as webserver the first is not applicable and the second is not a good solution since it's very slow compared to the dso.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.