[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:[2] Re:[cobalt-users] Read Log Files with PHP



>> Maybe it would be a better idea to write the script for the Script-
>> Version of php and have it run via cron ?
>> Thomas

>My intention was to have the thing run in cron eventually... I'm not
>familiar with the "Script-Version" of php; I found some information in 
>the list archive about compiling PHP to run as a CGI, is this what 
>you're talking about? Is there any way I can run the existing version 
>of PHP on the RaQ 4 as a CGI without having to install a second copy?

Hi !

I sent a detailed install to this list a few days ago.
You cannot use the Apache version for scripting. You have to compile
another one. But you can have the two working side by side without
trouble.

Thomas


OK - here it is again:

cd /usr/local
tar -xzvf php-xxxxxxx.tar.gz  // take the latest version
ln -s php-xxxxxxx php         // make a symbolic link for easy access
cd php
/configure --with-mysql=/pathToMySQL --enable-track-vars
make
make install
 
If you play around a bit you can include more features like:
--enable-ftp                       // which is VERY usefull

--
InternAd.de
Internet Advertising
Thomas Prosi
tp@xxxxxxxxxxx