Programming Tutorials

PHP Tutorials

51. Installing PHP with nginx-server under windows

By: Donald : 2011-03-26

Description: There is a way to install PHP with nginx-server under windows (current version is 0.7.60)


52. Warning: session_start(): open .... failed - PHP error

By: CG : 2011-03-26

Description: If you encounter the following error using PHP under IIS: "Warning: session_start(): open .... failed", you need to grant "read/write" permissions to the "IUSR" on the directory listed in "session.save_path" (in "php.ini").


53. PHP pages does not display in IIS 6 with Windows 2003

By: Ejay Hire : 2011-03-26

Description: I could not get PHP pages to display in IIS 6 with Windows 2003, using the default install of the stable binaries from php.net.


54. Running different websites on different versions of PHP in Windows 2003 & IIS6 platform

By: Donald : 2011-03-26

Description: On the Windows 2003 & IIS6 platform, you can run different websites on different versions & copies of PHP. This is useful in at least two cases:


55. Building PHP with Apache2 on SuSE Professional 9.1/9.2

By: Dan Scott : 2011-03-25

Description: SuSE uses a rather fragmented set of Apache configuration files stored in /etc/apache2/. When you configure PHP 5.x with:


56. PHP INSTALLATION on Solaris 9 (Sparc)

By: Jaya : 2011-03-25

Description: There could be easier ways. But this worked for me. So if you are a newbie you this will be of help.


57. PHP ./configure RESULTING IN __rcp_thread_destroy@GLIBC_2_2_3_... AND UNRESOLVED REFERENCES WITH ORACLE OCI8

By: D Presley : 2011-03-25

Description: For building php-4.4.1 or later with oci8, make sure your LD_LIBARRY_PATH has at a minimum the following directories in its path for Oracle8i 8.1.5 or later, Oracle9i 9.0.2 or later, and Oracle9i Release 2: 9.2.0.4 or later, do the following:


58. Installing PHP and MySQL in windows, mac and linux

By: Jason Khov : 2011-03-25

Description: While LAMP environment is most widely used (Linux, Apache, MySQL and PHP) you also can use PHP in windows or mac computers. Here's how you can install PHP development environment in windows and mac pcs.


59. Where does the PHP run?

By: George Langley : 2011-03-25

Description: This is an important concept for the first-time PHP programmer to understand, so that when you get into string formatting later on, you understand the difference between formatting the on-screen content (as parsed by your browser) and formatting the HTML code (as returned by the server). 


60. Decrypting files using GnuPG (GPG) via PHP

By: Darrell Brogdon : 2011-01-24

Description: Decrypting an encrypted file with PHP and GnuPG can be a bit more complex than encrypting, since you are required to provide a GnuPG passphrase. The solution to having to type the passphrase every time the script is run lies in a handy little gpg switch called --passphrase-fd. This switch tells GnuPG to accept the passphrase from a file descriptor, which means that you can echo the passphrase and pipe the output to gpg, as seen in the following example.