Jump to content
The Uniform Server Community

php-cli


jdk
 Share

Recommended Posts

Greetings,

I am trying to set up KalturaCE, which requires php-cli. I've looked at the US wiki, but I don't understand how to solve this error:

You must have php-cli. This is required in order to run batch jobs, etc.

Please install php-cli and make sure that php executable is in PATH

WINDOWS users - after adding php executable to the PATH, you will need to restart

your computer in order for the changes to take effect.

I realize that I have limited skill and understanding, which is the root of my issue, but if anyone would be so kind as to offer explanation, I would be most appreciative.

Thanks,

J

Link to comment
Share on other sites

There is nothing special about CLI once you have extracted Uniform server to a folder you already have it.

 

The error message from KalturaCE means it cannot find the executable.

If you are not going to move the servers set the Windows path as follows:

 

I will assume the path to php5ts.dll is C:\Nano_5_5\UniServer\usr\local\php

(Substitute your real path) also assume you are using XP

 

1] Click Start > Click Control Panel double click on System (icon)

This opens the System Properties window

 

2] Click on Advanced tab

3] Click 'Environment Variables' button

Opens 'Environment Variables' window

 

4] In the 'System Variables' text box (bottom of window)

5] Scroll to Variable “Path”

6] Highlight it (Left mouse click) then click Edit button

Opens the Edit system variables pop-up

 

7] Click in the “Variables Values” text box

8] Using right arrow key navigate to end of this text box

9] Enter ';' followed by your PHP directory for example:

;C:\Nano_5_5\UniServer\usr\local\php

10] Click OK and restart your computer

 

All the best

Ric ;)

Link to comment
Share on other sites

Thank you for the very clear explanation. All is well now.

Cheers,

Jeff ;)

There is nothing special about CLI once you have extracted Uniform server to a folder you already have it.

 

The error message from KalturaCE means it cannot find the executable.

If you are not going to move the servers set the Windows path as follows:

 

I will assume the path to php5ts.dll is C:\Nano_5_5\UniServer\usr\local\php

(Substitute your real path) also assume you are using XP

 

1] Click Start > Click Control Panel double click on System (icon)

This opens the System Properties window

 

2] Click on Advanced tab

3] Click 'Environment Variables' button

Opens 'Environment Variables' window

 

4] In the 'System Variables' text box (bottom of window)

5] Scroll to Variable “Path”

6] Highlight it (Left mouse click) then click Edit button

Opens the Edit system variables pop-up

 

7] Click in the “Variables Values” text box

8] Using right arrow key navigate to end of this text box

9] Enter ';' followed by your PHP directory for example:

;C:\Nano_5_5\UniServer\usr\local\php

10] Click OK and restart your computer

 

All the best

Ric :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...