WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Stronghold 2.3 PHP3RC4 PHP3 COMPILE FAILURE parse error httpd.h
Categories : Installation, PHP Update Picture
Garth Gillespie
Date : May 21st 1998
Grade : 1 of 5 (graded 3 times)
Viewed : 4732
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Garth Gillespie
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

When compiling PHP3RC4 with Stronghold 2.3 you will get an
error right away. It will complain about parse errors at
line 621 of httpd.h.

To fix the problem note the following

The original lines in question will look like

------------
/* STRONGHOLD */
SSL *ssl; /* active ssl connection. NULL if not being used. */
X509 *cert; /* cache of certificate received */
char *hashname; /* filename where certificate is stored */
-------------

If your change it to ...
-------------
/* STRONGHOLD */
#if defined(STRONGHOLD)
SSL *ssl; /* active ssl connection. NULL if not being used. */
X509 *cert; /* cache of certificate received */
char *hashname; /* filename where certificate is stored */
#endif
-------------

Then PHP will compile without a further wimper.

Cheers!
Garth



What is safemode?
Categories : PHP, Installation, PHP Configuration
What to do if PHP3 doesn't find your FreeType library.
Categories : PHP Configuration, Installation, PHP
Easy windows installation kit for win 9* PHP4 MySQL Apache phpMyAdmin
Categories : Installation, PHP, MySQL, Apache, Web Servers
forum field names
Categories : Global Variables, PHP, PHP Configuration, Installation
make: Fatal error: Command failed for target `target_static`
Categories : PHP, Installation
Query2Report : Generating Html, Pdf and Csv Reports from SQL Query
Categories : PHP, PHP, HTML, PDF, Excel
gd libraries make gmake php3 apache-1.3.0 gd1.3 FreeBSD-2.2
Categories : Installation, PHP, Apache, Web Servers
Authentication HTTP protocol POST
Categories : Authentication, HTTP, PHP
A couple of functions that convert an IP address into its color code and not-color-code. Useful when viewing an apache log with a mysql result grouped by IP
Categories : PHP, Graphics, Databases
Intelligent 404 Handler
Categories : PHP, Errors and Logging
Sending mail to a mailing list and showing progress
Categories : PHP, Mail, Beginner Guides
Simple PHP program which calls other PHP program you can pass the variables to other PHP program : by Raju
Categories : PHP, PHP Options and Info, Regexps, Program Execution
How to display any array in several rows and columns of a table. Not just in one column or in alternate rows. This example shows a nice color table generated with PHP, but can be used with any array values(e.g. Database)
Categories : Arrays, PHP, Miscellaneous, Beginner Guides, Graphics
Working with files - putting file contents to a string / var
Categories : PHP, Filesystem, Variables, Strings
ezRemoteScripter - A little remote scripting (AJAX) helper
Categories : PHP, Java Script, AJAX