WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
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 Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
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
Submit Site
Forex Trading Online forex trading platform

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 2 times)
Viewed : 3583
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 
 

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



gd libraries make gmake php3 apache-1.3.0 gd1.3 FreeBSD-2.2
Categories : Installation, PHP, Apache, Web Servers
make: Fatal error: Command failed for target `target_static`
Categories : PHP, Installation
What is safemode?
Categories : PHP, Installation, PHP Configuration
Easy windows installation kit for win 9* PHP4 MySQL Apache phpMyAdmin
Categories : Installation, PHP, MySQL, Apache, Web Servers
Query2Report : Generating Html, Pdf and Csv Reports from SQL Query
Categories : PHP, PHP, HTML, PDF, Excel
What to do if PHP3 doesn't find your FreeType library.
Categories : PHP Configuration, Installation, PHP
forum field names
Categories : Global Variables, PHP, PHP Configuration, Installation
This is Yet Another Sql Abstraction Library. Include it in your script and you can use the most important SQL functions without worrying about the SQL backend.
Categories : Databases, PHP, ODBC, MySQL, PostgreSQL
A PHP function to encrypt and decrypt a number or string or a combination of the two.
Categories : PHP, Encryption, Security
Using php3 to upload files, uploading files, file uploads.
Categories : PHP, Filesystem, HTTP
file class , uploade file , download file already uploaded on another website
Categories : PHP, PHP Classes, Filesystem, Web Services
Authorize.net AIM Interface Class v1.0.0
Categories : PHP, PHP Classes, Ecommerce, Payment Gateways
Cut your MySQL Connections to 1 line of code
Categories : PHP, Beginner Guides, Databases, MySQL
A simple class with some HTML output functions that would come in handy for consistent page layout etc.
Categories : PHP, PHP Classes, HTML and PHP, HTML, Navigation
recode -- Recode a string according to a recode request
Categories : PHP, PHP Functions, Recode