spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Detecting the PHP CLI path - 2006/05/15 11:56 I just installed Swisscenter on a WAMP (Win/Apache/MySQL/PHP) platform, and for some reason its attempts (via file.phphp_cli_location) to determine the path to php.exe were failing (I guess because I'm running an Apache module not CLI).

My fix was to insert:
Code:

   if ( defined("PHP_CLI_PATH") )     return PHP_CLI_PATH;


.. at the start of that function, then define the full path to php.exe in the swisscenter.ini file.

I'm not sure if that's the best method, but if it helps anyone else...
Player : Lite-On LVD-2010 (wired ethernet)
Server : Apache2/PHP5 on Win2k running on Athlon XP, 1Gb RAM, 1 Tb storage.
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer