LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Missing File on Slackware PHP Build (?) (https://www.linuxquestions.org/questions/linux-software-2/missing-file-on-slackware-php-build-328129/)

Skizzler 05-28-2005 11:16 PM

Missing File on Slackware PHP Build (?)
 
I have a quick question after doing what I think is a standard LAMP setup on Slackware 10.0, building packages from source. I read 3 or 4 different LAMP guides and decided on the best course of action, unfortunately it didnt' seem to work out.


== quick version ==
I configured and installed PHP5 on Slackware 10.0, after setting up MySQL and Apache. The file I believe I need to point apache to, php5lib.so, is non-existent on my system, and I'm stumped as to how to get PHP working, as all the guides I read said I need to point httpd.conf to that file.
--

== detailed version ==
I got the source for MySQL, latest version, configured, made, installed and it tested out okay.

Next I got the source for Apache http server 2.0.54, and configured with options --enable-so, as the guides I read all pointed to this being necessary for PHP & apache to work together, then made & installed. After starting the server, I can see the default page at localhost. I stopped apache.

Next step was PHP 5.0.4, I configured it with options --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql, made and installed.

This is where I ran into a snag - supposedly I need to point httpd.conf to a file named 'php5lib.so' with a LoadModule line. After searching multipe times I'm 100% sure that file doesn't exist, and I have no idea what to do to get it to work.
--


Any guidance on this issue would be greatly appreciated. Thanks!

Tinkster 05-29-2005 04:32 PM

I haven't installed php5 here, but the equivalent
file in php4 is called libphp4.so


Cheers,
Tink

Skizzler 05-29-2005 05:20 PM

There is no file that matches libphp*.so, ><

Is there a way I can un-make install php, and just re-work the whole process?

Tinkster 05-29-2005 05:28 PM

Depends on how you installed ... if you use slack-build
scripts or checkinstall, trivial ... if not, try to use make uninstall.
If that option is invalid, tough luck, find & delete them manually.



Cheers,
Tink


All times are GMT -5. The time now is 03:20 PM.