php !?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
jmroth
Cacti User
Posts: 59
Joined: Sun Jan 20, 2002 7:00 pm

#1 Post by jmroth » Mon Jan 21, 2002 8:50 am

Hi there,
seems to be a great tool but I got a problem with the crontab
The doc says to start "php cmd.php". However my php is an Apache module. There is no command called "php".
What do I do?
Greets
jmr

raX
Lead Developer
Posts: 2237
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

#2 Post by raX » Mon Jan 21, 2002 9:25 am

If you do not already have a php binary, you must recompile php to get one. You can do this by downloading and untaring the current php source. Then run:

./configure --with-mysql
make
make install (as root)

If everything goes correctly, you should end up with a php binary somewhere in your path.

Tell me if you need any assistance,
-Ian

jmroth
Cacti User
Posts: 59
Joined: Sun Jan 20, 2002 7:00 pm

#3 Post by jmroth » Mon Jan 21, 2002 9:29 am

I thought so...
(There were not many possibilities) <g>
Thanks anyway

Post Reply