Optimizing Website Performance On Apache

There are three easy things that you can do to optimize a website’s load time on an Apache server. The first thing is to compress the web page output that is sent to the client with mod_deflate. The second thing is to enable or allow browser caching on the client’s end. The third is to enable http keep-alive requests. The following will be a brief example of how to enable these features. Continue reading Optimizing Website Performance On Apache

Prevent *Zone.Identifier* Files From Windows On Samba Shares

If you have a Samba file server and windows client network, you’ve come across these annoying files at some point. They are added by windows and some say it is for “Security” purposes. Windows may show these files as ‘WDFGH~8’ as the files name. Since that is not the true file name on the Samba system, the files will be untouchable except by the server os. On the Samba server, the file names will appear as ‘:encryptable:$DATA’ ‘:favicon:$DATA’ or ‘:zone.identifier:$DATA’.

To prevent these files from being a problem, you need to add this line to your smb.conf somewhere in the [GLOBAL] section.

vfs objects = streams_xattr

Once added, simply restart and the problematic files will no longer be visible. If you wish to delete these files from the actual file system on the server, you will need to do that manually or problematically if you have the skill to.

Install ioncube and zend optimizer on linux and plesk

To install Zend Optimizer and Ioncube Loader, you will need to download the packages according to your version of PHP on Linux. In this case, the PHP version is 5.2.

Download these packages and extract them to a place of your choice on your Linux server. I chose to save them to /usr/local/lib/zend/ and /usr/local/lib/ioncube/ respectively.

Continue reading Install ioncube and zend optimizer on linux and plesk

HTC Hero 2.1 Stock Apps List

# cd /system/app
# ls
UploadProvider.odex
Phone.apk
com.htc.MusicWidget.odex
TelephonyProvider.odex
CertInstaller.apk
ContactsProvider.odex
VpnServices.odex
HtcLocationService.odex
HtcSoundRecorder.odex
com.htc.StockWidget.apk
LearnMore.odex
Updater.odex
htccalendarwidgets.apk
HtcStreamPlayer.apk
OMADM.odex
HTCNew.apk
com.htc.WeatherWidget.apk
HTCSetupWizard.odex
HtcFootprintsWidget.odex
UploadProvider.apk
Phone.odex
VoiceDialer.odex
WeatherProvider.odex
SettingsProvider.odex
HtcFootprints.odex
OMADM.apk
UserDictionaryProvider.apk
EnhancedGoogleSearchProvider.apk
htcsettingwidgets.apk
Sprint_NFL.apk
PicoTts.apk
MarketUpdater.apk
FilePicker.odex
HtcLockScreen.odex
CalendarProvider.apk
CalendarProvider.odex
SettingsProvider.apk
DCSImpl.odex
HtcDialer.apk
htcmsgwidgets.apk
WeatherSyncProvider.odex
EPST.odex
GlobalSearch.apk
HtcSettingsProvider.odex
Sprint_Navigation.apk
HTCCamera.apk
MediaProvider.odex
HtcPPST.odex
WidgetDownloadManager.odex
HtcSettingsProvider.apk
FlashLitePlugin.apk
YouTube.apk
teeter.apk
HtcFootprints.apk
Weather.apk
HtcMusic.odex
Rosie.apk
DmService.apk
PDFViewer.odex
StatusBarCleanService.odex
Bluetooth.apk
HtcContacts.odex
HtcAddProgramWidget.apk
GoogleSettingsProvider.apk
DrmProvider.odex
Flickr.odex
TtsService.apk
FieldTest.apk
htcmailwidgets.apk
HtcMessageUploader.odex
DMPortRead.odex
GoogleCheckin.apk
Browser.apk
Calendar.odex
FlashPlayer.odex
restartapp.odex
Bluetooth.odex
DCSWeather.odex
NetworkLocation.apk
Maps.apk
Clicker.odex
PackageInstaller.apk
Sprint_TVWidget.apk
HtcStreamPlayer.odex
HtcNaviPanel.odex
htcsearchwidgets.odex
WeatherAgentService.apk
GSD.apk
TelephonyProvider.apk
HtcNaviPanel.apk
TalkProvider.apk
TtsService.odex
DCSImpl.apk
DCSWeather.apk
HtcTwitter.apk
VoiceDialer.apk
IQRD.odex
LearnMore.apk
HtcLocationService.apk
WidgetDownloadManager.apk
HtcClockWidget.odex
Rosie.odex
Sprint_Core.apk
HtcPhotoWidget.odex
htccontactwidgets.odex
IM.apk
WeatherProvider.apk
HtcIQAgent.odex
HTCNew.odex
FieldTrial.apk
Stock.odex
CertInstaller.odex
HtcWeatherWallpaper.apk
HTCAlbum.odex
WorldClock.apk
DCSStock.apk
HTCAlbum.apk
GoogleContactsSyncAdapter.apk
HtcMusic.apk
HTMLViewer.apk
CustomizationSettingsProvider.odex
SocialNetworkProvider.apk
HtcPhotoWidget.apk
Calculator.odex
WorldClock.odex
WeatherSyncProvider.apk
ApplicationsProvider.odex
amazonmp3.apk
EPST.apk
PCSCII.odex
FilePicker.apk
ApplicationsProvider.apk
Calendar.apk
com.htc.WeatherWidget.odex
GSD.odex
SetupWizard.apk
DCSUtility.apk
Weather.odex
GoogleApps.apk
HtcFootprintsWidget.apk
AccountAndSyncSettings.apk
HTC_IME.apk
CheckinProvider.apk
htccontactwidgets.apk
htcsettingwidgets.odex
htcmailwidgets.odex
HtcWeatherWallpaper.odex
Settings.odex
teeter.odex
GooglePartnerSetup.apk
ContactsProvider.apk
Calculator.apk
htcmsgwidgets.odex
HtcAddProgramWidget.odex
Settings.apk
UserDictionaryProvider.odex
HTCSetupWizard.apk
VoiceSearch.apk
HTCCamera.odex
MediaUploader.apk
HtcIQAgent.apk
GoogleSubscribedFeedsProvider.apk
htcbookmarkwidget.apk
SocialNetworkProvider.odex
Flickr.apk
StatusBarCleanService.apk
CustomizationSettingsProvider.apk
DrmProvider.apk
HtcClockWidget.apk
DMPortRead.apk
Mail.odex
HtcFacebook.odex
PicoTts.odex
Sprint_Nscar.apk
com.htc.MusicWidget.apk
HtcLocationPicker.odex
com.htc.TwitterWidget.apk
Street.apk
GlobalSearch.odex
FlashLitePlugin.odex
Sprint_App_Updater.apk
HtcContacts.apk
MediaProvider.apk
CustomizationSetup.apk
IQRD.apk
VpnServices.apk
Mms.apk
HTMLViewer.odex
GmailProvider.apk
Clicker.apk
WeatherAgentService.odex
htccalendarwidgets.odex
HtcRingtoneTrimmer.odex
FieldTrial.odex
AccountAndSyncSettings.odex
com.htc.StockWidget.odex
HtcSoundRecorder.apk
AccountSyncManager.apk
Updater.apk
HtcDialer.odex
com.htc.TwitterWidget.odex
DownloadProvider.apk
gtalkservice.apk
SDSA.apk
Stock.apk
HtcPPST.apk
Talk.apk
Gmail.apk
HtcMessageUploader.apk
DCSUtility.odex
Facebook.apk
Vending.apk
FlashPlayer.apk
PCSCII.apk
PDFViewer.apk
Quickoffice.apk
Sprint_TV.apk
restartapp.apk
HtcLockScreen.apk
Browser.odex
HTC_IME.odex
Mail.apk
IM.odex
AccountSyncManager.odex
HtcLocationPicker.apk
CustomizationSetup.odex
DCSStock.odex
HtcTwitter.odex
DownloadProvider.odex
htcsearchwidgets.apk
HtcFacebook.apk
CheckinProvider.odex
Mms.odex
HtcRingtoneTrimmer.apk
PackageInstaller.odex
htcbookmarkwidget.odex
#

php include_path configuration problems

I recently updated my plesk server and it broke the php.ini configuration. I was working with an OSCommerce site and it was giving me all sorts of errors.

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /var/www/vhosts/ocdpellets.com/httpdocs/shop/includes/application_top.php on line 28

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /var/www/vhosts/ocdpellets.com/httpdocs/shop/includes/application_top.php on line 28

Fatal error: main(): Failed opening required ‘includes/configure.php’ (include_path=’\’) in /var/www/vhosts/ocdpellets.com/httpdocs/shop/includes/application_top.php on line 28

Continue reading php include_path configuration problems