Collections:
Other Resources:
Creating Your PHP Configuration File php.ini
How to create your PHP configuration file, php.ini?
✍: FYIcenter.com
1. Check to see if you already have a PHP configuration file or not: C:\Program Files\php-5.2.0-Win32\php.ini.
2. If not copy C:\Program Files\php-5.2.0-Win32\php.ini-recommended to C:\Program Files\php-5.2.0-Win32\php.ini
3. Open this file php.ini with "notepad". You will see some text like this:
[PHP] ;;;;;;;;;;;;;;;;;;; ; About php.ini ; ;;;;;;;;;;;;;;;;;;; ; This file controls many aspects of PHP's behavior. In ; order for PHP to read it, it must be named 'php.ini'. ; PHP looks for it in the current working directory, in the ; path designated by the environment variable PHPRC, and in ; the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows ; directory. ...
4. To add a new environment variable called PHPRC as mentioned above, Right mouse click My Computer, and select Properties. The System Properties dialog box shows up.
5. Click the Advanced tab, then click the Environment Variables button. The Environment Variables dialog box shows up.
6. In the System variable section, click the New button. The New System Variable dialog box shows up.
7. Enter PHPRC as the name and C:\Program Files\php-5.2.0-Win32 as the value as shown in the picture below:
2006-12-08, 35751🔥, 0💬
Popular Posts:
What is the difference between a Web page and a filtered Web page? Word 2007 supports 2 Web page for...
What is "Lenovo Camera Mute" in a service on Lenovo laptop computer that supports the camera on/off ...
What files are stored in the "C:\Users\<userid >\AppData\Local"folder? Can I delete th...
What is the best way to remove programs from the startup application list? There are a number of way...
I am unable to copy data from my external hard-disk (NTFS). When I try to repair it from cmd using c...