Oninit Logo
The Down System Specialists
+1-913-674-0360
+44-2081-337529
Partnerships Contact
eeTDS being compiled in. For Informix you might need # to "export INFORMIXDIR=/opt/informix" or where-ever Informix is located so # that the configure and make steps will be able to find the appropriate # libraries. Your mileage may vary and you might need to set LD_LIBRARY_PATH # as well for some platforms. Do this on the command-line on your Linux box # BEFORE running configure, only if you need to. Use the "unset SYBASE" or # "unset INFORMIXDIR" if this causes problems. Re-run configure until you get # it right. # # 6c. Make PHP. This is done in two steps: # make # make install # # 7. Test PHP on the command-line # php -v # php -i # # 8. Edit Apache2 httpd.conf # Add the following if it isn't there already and make sure to give # your server a name. Add these lines to their appropriate sections. # # LoadModule php4_module modules/libphp4.so # DirectoryIndex index.html index.html.var index.php # AddType application/x-httpd-php .php # # 9. If you use MySQL and phpMyAdmin you might also want to add these # lines. Make sure to put the correct path to where phpMyAdmin is. # # Alias /phpMyAdmin "/srv/www/phpMyAdmin/" # Alias /phpMyAdmin/ "/srv/www/phpMyAdmin/" # # # Options Indexes +Includes FollowSymLinks ExecCGI MultiViews # AllowOverride None # Order allow,deny # Allow from all # # # 10. If you want a cgi-bin to worki uncomment: # # AddHandler cgi-script .cgi # # 11. If you want Server-Side-Includes to work uncomment these lines: # # AddType text/html .shtml # AddType text/html .html # AddOutputFilter INCLUDES .shtml # AddOutputFilter INCLUDES .html # # 12. Edit a php.ini file. Where does it go? PHP assumes a # /usr/local/lib/php.ini but you can change this. Here you can # change server-specific settings for your installation. To get # up and running quickly, copy a php.ini to /usr/local/lib and # later you can change this location. Any changes you make require # stopping and restarting Apache. # # 13. Start/Stop/Help Apache2 # # /usr/local/apache2/bin/apachectl start # /usr/local/apache2/bin/apachectl stop # /usr/local/apache2/bin/apachectl help # # ################################################################################ # # 14. Explanation of PHP configure # # ./configure \ # --with-apache2=../httpd-2.0.48 # --with-apxs2=/usr/local/apache2/bin/apxs # --with-module=so # # Assumes Apache2 build next to php build directory. You need to have # Apache compiled before you compile anything else. It does not need to # be running to build PHP with it. PHP "make install" will append to the # httpd.conf a Load directive. The INSTALL guide from PHP will tell you # what to add to httpd.conf to make PHP work. # # --with-mysql # PHP without MySQL, what are you nuts! # # --with-openssl=/usr/local/ssl/ # OpenSSL Encryption based on default install. This is practically # required for your system, and a great way to get SSH installed along # PHP. # # --with-sybase=/usr/local # FreeTDS - connect to MS-SQL-Server or Sybase. Why install it? # It makes connecting to SQL-Server quick and painless, comes with # tsql, and freebcp. Is also essential for many ODBC drivers. # # --with-bz2 # bzip2 /bunzip2 support # The highest compression utility available. Optional and won't cause # problems. # # --with-flatfile # Flatfile support. # # --with-zlib=/usr # Zlib compression, useful and may be needed for other PHP stuff, and # won't cause problems. # # --with-gd # GD Graphics Library support, essential for a lot of PHP tools. # # --with-mcrypt # Encryption support essential for Md5 and a great way to encrypt # data. Make sure your system can compile with this, if not, remove # from configure command. # ################################################################################ # # 15. Informix support # # Add --with-informix to ./configure # # make # make install # # Make changes to /usr/local/lib/php.ini for Informix # # Restart Apache # # Test Settings # ################################################################################

To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.