|Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.|
|3-11-07, 01:04 AM||#1|
Join Date: Jan 2002
Location: St. Louis MO
NETPBM path - Speed up your website - CGI enable/fulfillment on Powweb
Was notified by a user on one of my sites that makes use of standard Unix graphics utils such as: CJPEG, DJPEG, PNMSCALE, etc., was no longer working correctly.
After investigating and running a short script that tells me where these utilities are, it appears the NETPBM utils (pnmscale, pngtopnm, giftopnm, etc.) were moved from:
After making that change to my script, all is well again. This may have been part of the CGI-POOL UPGRADES.
I did a search to see if anyone had posted anything on this lately but no joy ... so figured I would.
|5-31-07, 11:16 PM||#2|
Join Date: Jul 2005
Speed Up Your Sites
List for Faster Web Page Methods
Sources & References
|2-18-08, 11:00 AM||#3|
Join Date: May 2006
Location: Planet Earth - for now!
CGI Enable/Fulfillment on Powweb
Powweb operates servers that support CGI (Common Gateway Interface) which are separate from the facilities/services provided by the web servers.
CGI is also referred to as "CGI and Scripted Language Support", since any scripting language is rolled-out with and provided by means of the CGI system.
Currently, Powweb does not automatically enable CGI on a new account -- You can select the CGI link in the OPS panel and click the [Enable CGI] button to schedule the system to fulfill CGI for your account.
CGI Fulfillment runs after 9 AM ET and again after 6 PM ET, each day. Any account which has requested an enable will normally be scheduled and completed in the next scheduled run.
To test whether the system has enabled completely, use a simple test php script (name it phpinfo.php or something similar):
In addition, if you are using PHP, you may need to set your session.save_path variable in the php.ini on your account for sessions to work as expected. The default value is /var/php_sessions, which will not operate correctly. You should change the session savepath to a writable area on your account -- typically, this will be an area not under your /htdocs document root. Many people choose to use /phpsessions as the area; so:
session.save_path = /home/users/web/bnnnn/pow.username/phpsessions
(Note: you must use the complete absolute path beginning at /home when you specify the value).
The same value (or a similar one) can be used when you set up the temporary upload directory value in your php.ini
Also note, that you can choose to use PHP4 or PHP5 as your default PHP version-- there is a separate php.ini for each version.
You can force a particular version to be used by changing the file extensions -- .php4 files run in PHP4 -- .php5 in PHP Version 5;
thus, it is possible to run PHP5 as the default, but run some scripts in PHP4 by ending the relevant scripts with the .php4 file extension.
Changes to the CGI system, to allow more frequent (near instantaneous) fulfillment have been announced; selected test customers affected will be contacted via an email prior to the change; a complete System Advisory notice of any rollout will occur before the system is introduced generally -- no fixed date for the beginning of this upgrade/change has yet been set..
Well, that's the way I see it -- for the moment!