PDA

View Full Version : yet another PHP thread...




iBert
Aug 4, 2004, 11:50 AM
Hey, just need to ask to someone with experience in php, apache.

I had working php and apache and mysql. But now I can't seem to start apache because of libphp4.so. Could it be because it has been moved or something? the help provided will be greatly appreciated.



Thom_Edwards
Aug 4, 2004, 12:32 PM
it *may* have moved, but it is probably due to a configuration issue with apache. (you gotta ask yourself, "how would have this file moved?" they generally don't decide to move to the country because they're tired of traffic.)

did you move the php code from one server where it worked to a different server where it didn't work? or, is this the same server, but the code just suddenly decided not to work?

and, as always, remember to google. it's amazing how much i've learned when trying to find an answer to an issue. it may take a while to find exactly the answer i'm looking for, but all the little knowledge nuggets i find along the way makes it worthwhile. btw, i just googled "apache libphp4.so" and got 20,000 hits. before that, i might have guessed it was a configuration problem. now i know it probably is, plus i found out a little something about curl and php that i didn't know. go figure...

iBert
Aug 4, 2004, 01:14 PM
I have been having trouble with starting web sharing. Any suggestion?

kgarner
Aug 4, 2004, 02:44 PM
I have been having trouble with starting web sharing. Any suggestion?
Usually when there is a problem starting Web Sharing it is because there is an error somewhere in the httpd.conf file.

angelneo
Aug 6, 2004, 05:43 AM
Hey, just need to ask to someone with experience in php, apache.

I had working php and apache and mysql. But now I can't seem to start apache because of libphp4.so. Could it be because it has been moved or something? the help provided will be greatly appreciated.

You could try manually look for the file under the path that is specified by the LoadModule statement inside your httpd.conf. It should be missing then manually look for that file and either replace the LoadModule with the correct path to the file or copy the file to the specified path.

mcarvin
Aug 18, 2004, 10:43 AM
Usually when there is a problem starting Web Sharing it is because there is an error somewhere in the httpd.conf file.

Kick open a Terminal and type:
sudo apachectl configtest

If there's a problem in your httpd.conf, it will show up here. :D