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
Caudium

Caudium

PHP can be built as a Pike module for the » Caudium webserver. Follow the simple instructions below to install PHP for Caudium.

Example #1 Caudium Installation Instructions

 
 1.  Make sure you have Caudium installed prior to attempting to     install PHP 4. For PHP 4 to work correctly, you will need Pike     7.0.268 or newer. For the sake of this example we assume that     Caudium is installed in /opt/caudium/server/. 2.  Change directory to php-x.y.z (where x.y.z is the version number). 3.  ./configure --with-caudium=/opt/caudium/server 4.  make 5.  make install 6.  Restart Caudium if it's currently running. 7.  Log into the graphical configuration interface and go to the     virtual server where you want to add PHP 4 support. 8.  Click Add Module and locate and then add the PHP 4 Script Support module. 9.  If the documentation says that the 'PHP 4 interpreter isn't     available', make sure that you restarted the server. If you did     check /opt/caudium/logs/debug/default.1 for any errors related to     <filename>PHP4.so</filename>. Also make sure that      <filename>caudium/server/lib/[pike-version]/PHP4.so</filename>     is present. 10. Configure the PHP Script Support module if needed. 

You can of course compile your Caudium module with support for the various extensions available in PHP 4. See the reference pages for extension specific configure options.

Note: When compiling PHP 4 with MySQL support you must make sure that the normal MySQL client code is used. Otherwise there might be conflicts if your Pike already has MySQL support. You do this by specifying a MySQL install directory the --with-mysql option.