Click to See Complete Forum and Search --> : Install PHP without apache


Apps5
02-28-2003, 03:47 AM
I'm trying to install PHP without apache so I can run it from a cron job. I'm using ./configure --without-apache --with-mysql

I was told that it should default to /usr/local/php


Can anyone help me....Please

shad0w
02-28-2003, 10:26 AM
if you install the newest version of php this should be a problem at all

just run the configure script like you have it (you don't really need the --without-apache) and it will install the cli version of php

if you want it to go to /usr/local/php then add:

--prefix=/usr/local/php