Cost-Effective Web Conferencing and Online Meetings  
 
             Meeting ID
 

 

Configure PHP Server

Your PHP server needs to be configured to accept files uploaded with HTTP POST. To find out if your PHP server is configured to accept HTTP POST file uploads, create a file called "info.php" with the following line of text:

<?php phpinfo(); ?>

Upload the file to your Web site and enter the file's URL to a browser, such as http://www.mywebsite.com/info.php 

If your Web site supports PHP, you should see a page displaying all of the PHP settings, including PHP version number, etc. Look for "PHP Core" under the section "Configuration" and find the following parameters regarding file uploads:

Configuration

PHP Core

file_uploads

On

upload_max_filesize

2M

upload_tmp_dir

/tmp

safe_mode

 Off

open_basedir

 NULL or the meeting directory path

"file_uploads" should be "On" or "1". "upload_max_filesize" should be at least 1M. If "upload_tmp_dir" is "Null", PHP will use the default server temporary directory. Otherwise, the directory specified should exist on your Web site. You may need to create a "tmp" directory in your Web site's home directory for PHP's file upload functions to work properly. In addition, the "safe_mode" value needs to be "Off" to allow the PHP scripts to execute under a different owner id. The "open_basedir" should be NULL or includes the meeting directory path so the php scripts can open files in the meeting directory. Note that it will not work if "open_basedir" is set to ".", which allows opening files only in the same directory as the script file.

If you are running IIS on Windows PC, you need to make sure to follow the instructions here.

It is also highly recommended to install PHP as a SAPI module instead of as a CGI module. Running PHP as a SAPI module offers significant performance improvement. If you are experiencing long delays in screen sharing, you should check if PHP is installed as CGI module. To check your PHP installation mode, look for the "Server API" line from the info.php output. It should say "Apache" or "ISAPI" instead of CGI. For more information about installing PHP as SAPI, please visit
http://us3.php.net/manual/sl/install.windows.php

For Windows PC, you can download and install both PHP and Apache from EasyPHP (http://www.easyphp.org/telechargements.php3?lang=en), which will set up PHP to run as a Apache module. You will need to disable IIS in this case.

Follow these steps to diagnose your PHP configuration problems:

  1. Create a folder (phpCheck) on your Web site and set its permission to read/write by everyone (777) or (755), depending on the PHP configuration.
  2. Upload the file vcheck.php to the folder (download vcheck.php)
  3. Enter the PHP file's URL to a browser, such as http://www.mywebsite.com/phpCheck/vcheck.php
  4. If the response is OK, your PHP server is configured to run VShow. Otherwise, you will get an error message. See "http://us2.php.net/manual/en/features.file-upload.php" for more details.
  5. In VShow, select Tools/Meeting Room Check to test the server configuration and speeds. Pay special attention to the PHP request latency, it should be less than 300ms. See http://www.persony.com/support/faq.htm#Why_is_there_a_long_delay_when_I_share_my_screen for more details.

 © Copyright 2005, Persony, Inc. All rights reserved. Persony and VShow are trademarks of Persony, Inc.