No physical access. I had it working before on Fedora 10, but for some reason on CentOS it won't work. No httpd service in init.d, I'm used to just saying 'service httpd start'
Not sure what the problem is.
Well, like I said, building from source on RPM-based distros like Red Hat/CentOS or Fedora is a bad idea. Try doing a make uninstall on apache, purging out the build tools like GCC (use
yum, the package manager for this!), and deleting all the temp apache source stuff when you're finished. Then use yum to install packages you need. For example, if you wanted to install apache, mysql, apache and php5:
Code:
# yum install httpd php mysqld php-mysql
... yum will take care of the rest. If these things are aleady installed and are broken, try replacing 'install' with 'reinstall'. Unless you have a good reason,
always install software with your distro's package manager. Avoid drop-in ready-made environments like XAMPP and the like, because it's a nightmare to maintain. Especially avoid compiling from source, since this can make a mess of your OS, and leave it looking like a typical Windows install with half uninstalled bits of crap everywhere. Instead, install and remove software with the package manger whenever possible. If there's something you have to build for some strange reason, and this should be really rare in a typical environment, build an RPM and install it with the package manager.
As for running LAMP on CentOS, I'm using the following extra repos on my Cent-based LAMP servers:
RPMforge - RPMRepo Wiki
atomicrocketturtle.com :: digital turtlist - Home
These will add extra packages and some more up-to-date ones than those shipped with CentOS/RH. And it all goes through the package manager. :)
Good luck!