JSP / Servlet - PHP Integration OptionsMay 10th, 2006 There are four different integration options in order of complexity and your requirements. They are as follows:
Multi-port Integration
Run Apache (with PHP) on default port 80 and Tomcat on default port (8080).
How To Enable / Use .htaccess / Nice permalinks in Apache Web Server on WindowsOctober 23rd, 2006 .htaccess is a web server directive file populalrly used in Apache Web Server in Linux / Unix environment. In windows environment there is a simple way to enable and use .htaccess.
How To Enable Nice Friendly URL in Vanilla ForumOctober 23rd, 2006 Open up conf/settings.php and add this line:
$Configuration['URL_BUILDING_METHOD'] = 'mod_rewrite';
Believe me, that's all you need to do. Ain't that easy?
Note: I am assuming that you are using Apache HTTPD Web Server with mod_rewrite enabled.
The Backend of Tribal FusionNovember 9th, 2005 I was in Drudge report when I saw an advertisement spot occupied by advertisement giant TribalFusion filled with Apache error message instead. The error message was rather interesting.
How To Use Apache HTTP WebDav Server With Windows XP ExplorerJanuary 24th, 2008 You have two options. Either you tear your (remaining) hair looking for solution on the web and trying different changes to Apache Web Server or Explorer even try magic incantations (alohamora?).
Shutdown Apache James Mail Server - Java UtilityFebruary 15th, 2006 Overview
A Java class to shutdown Apache James Mail Server via TCP/IP. It shuts down Apache James Mail Server by passing shutdown command via simulated telnet session.
Facebook tops 10 most popular online brands poll in the UKMay 13th, 2009 LONDON - A survey on the most popular online brands in the UK has revealed that Facebook tops that chart, accounting for 13 per cent of all UK internet time last month. As per Nielsen Online, which tracked the top 10 most popular online brands, this equated to the UK users spending one in every eight minutes on the site.
DansGuardian Configure Error Fix - configure: error: pcre-config not found!April 5th, 2008 On running ./configure in dansguardian (web content filter for Linux), I got the following error - configure: error: pcre-config not found!configure: WARNING: Cache variable ac_cv_prog_PCRE contains a newline.. The solution, as usual, is simple:
Install pcre-devel.
Apache Ant: How To Set Property When Initially UnsetAugust 19th, 2008 Also: How To Flexibly Pass JVM parameters to Apache Ant Java (Runtime) Task
Apache Ant is an excellent Java based build & deployment system using XML configuration file. In Ant properties are extensively used to configure tasks, conditionally run targets and more.
Subversion Hack: Automatic Versioning on Save With SubversionAugust 14th, 2007 I discovered a really cool way to use Subversion, my favorite version control system - automatic versioning / commit on save. Essentially with this simple tweak you can use subversioned files like you would use any ordinary files.
Tomcat 5.5 with Apache 2.0 Integration in 5 Simple StepsMay 4th, 2005 The simplest configuration is described. It assumes you already have Tomcat 5.5 and Apache 2.0 (instructions for Apache 1.3 is also provided) installed and running.
WebDAV, DeltaV, Apache Slide - Resources and GuidesAugust 2nd, 2005 This is a brief compilation of essential resources for those venturing in the world of WebDAV, DeltaV and Slide. Apache Slide
Slide is a noteworthy, yet often forgotten, project which provides WebDAV Server and client implementation along with Delta-V support.
How To Install XMemo (IPMsg Alternative) in Fedora Core 6 / LinuxApril 10th, 2007 XMemo is an alternative to IPMsg (for Windows only) and claims to interoperate with IPMSg protocol. In short a quick messaging tool for intranet use.
Apache Web Server Suddenly Fails to Load With EMalloc Error - Solution (php_exif.dll)June 1st, 2006 The common symptom of the problem is that Apache web server suddenly fails to load as a service (on windows) or even from command line. The error message from log is as follows:
FATAL: emalloc(): Unable to allocate -2103443420 bytes
[Thu Jun 01 23:57:21 2006] [crit] master_main: create child process failed.
Fighting With Linux Server SetupJuly 7th, 2006 Finally my (unmanaged dedicated) server has been deployed (under 48 hours). Now my actual work begins.
September 22nd, 2007 at 4:16 am
Thank U very much..
October 14th, 2007 at 11:28 pm
hi
does this config works on vista?
i download the latest php, but font contian the php5apache2.dll but i have the php5ts, can any1 tell me what to do..please
December 18th, 2007 at 10:50 am
Awesome, thanks! this was the critical part I needed. Even book installation procedures were off base
February 24th, 2008 at 9:39 pm
Thanks,
That worked well.
Extra step to smooth things in Vista
I would add that in the htdocs folder (for those lazy folks who don\’t change the root directory to be something else), that changing the permission ability for USER makes it really simple to add/edit files
go to htdocs directory
right click and select \”Customize This Folder\”
select \”Security\” tab.
select \”Edit\” or \”Advanced\” to change the permissions for USER
May 31st, 2008 at 7:17 am
Hi
Thanks for the info
Short and good.
Well done
I have follow you instructions but I get an error:
The specified module could not be found.
My OS is Vista home premium.
Must say that the file: php5apache2.dll
was not part of the PHP package.
instead, I have: php5ts.dll
(Here is a good link to find that missing php5apache2.dll
http://kromann.info/download.php?strFolder=php5_1-Release_TS&strIndex=PHP5_1
)
This is the code lines from my httpd.conf
I have placed the lines at the end of the LoadModule list.
This line is the last one on the list:
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
Then right bellow I have placed the 3 lines as you instructed:
LoadModule php5_module “php/php5apache2.dll”
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Please advice
Thanks for your help
Amit C.
January 16th, 2009 at 9:44 pm
I recently installed apache and php on a Windows XP box and had the same error message ‘The Specified Module Could not be found’ as the above post.
My problem (and its solution) was due to the fact that I installed version 2.2 of Apache and had the line LoadModule php5_module “D:/php/php5apache2.dll” in my conf file. I changed this to LoadModule php5_module “C:/PHP/php5apache2_2.dll” and the problem was sorted.
The PHP install package includes this file - php5apache2_2.dll - as part of the download so you should already have it in your c:/php (or wherever you put php) folder.
April 10th, 2009 at 4:14 pm
It is missing one trivial addition of index.php addition to the httpd.conf file. this was not allowing my apache to auto load index.php
July 18th, 2009 at 4:43 pm
This does not work because when you restart the server it does not restart. These instructions aren’t very clear. This has mucked up my whole website. I suggest you do not use
September 1st, 2009 at 1:48 pm
hello..i am having problem integrating PHP 5 with my Apache server 2.2..i have followed the above stated step but when i try to open a php(notepad file with .php extension) file from explorer(firefox) even after placing it in the htdocs folder in the Apache installation..the explorer gives and error The requested URL /phpinfo.php was not found on this server…plzz help me…and tell me whats wrong here
September 10th, 2009 at 6:03 am
Thanks, worked a treat! As mentioned below, make sure you use php5apache2_2.dll if using php5.3 and apache 2.2 though.
September 30th, 2009 at 5:08 pm
Thanks. It really helped me to set up php and Apache on Windows XP.
November 11th, 2009 at 1:26 pm
thanks,its awesome it worked for me on windows xp,but the smae works on windows server 2003…please replyy mee…its very urgent