It will install apache along with it. Why must I install apache to have php? I am trying to use lighttpd and having apache on my machine just makes things more difficult.
Your php distro may have been compiled against Apache (plus its normall used in conjunction with Apache) therefore your package manager (apt) will have) flagged this and set Apache to be a dependant of php (or visa versa).
If you dont want it to install you can try apt --ignore-deps=Apache
It will install apache along with it. Why must I install apache to have php? I am trying to use lighttpd and having apache on my machine just makes things more difficult.
blame it on the meta-package :p (anyway, isn't there a php-cli package that gives you just php? )
thats not the problem, lighty is very easy to configure/use with php. It was just that when i install php5, apache is automatically detected as a dependency, which doesn't make sense to me. Whatever, its easy to get around.