Phpinfo (10) Recommended content

Source: Internet
Author: User
Tags phpinfo
Install Php_curl Extension Support under window 1. Find php.ini Modify Extension=php_curl.dll remove the preceding semicolon; note phpinfo () message php.ini the path to Ubuntu Linux Php_   Curl extension support 1. Create a new test.php file in the Web server directory (typically/var/www under Ubuntu) 2. Edit the file, type the following line of code: Phpinfo (); 3. Save the file 4. Open the browser and browse the page.   (Example: http://localhost/test.php) 5. Search for "curl" to see if Curl is already installed.   If you do not find the words must be not installed, to install please see below. The installation method is simple and requires only one command. (Choose Direct Apt-get installation here,

1. PHP Curl Extension Open

Description: Install Php_curl extension Support under window 1. Find php.ini Modify Extension=php_curl.dll remove the preceding semicolon; note phpinfo () message php.ini the path to Ubuntu Linux Php_ Curl extension support 1. Create a new test.php file in the Web server directory (typically/var/www under Ubuntu) 2. Edit the file, type the following line of code: Phpinfo (); ...

2. PHP reads AD users

Introduction: <? PHP//phpinfo (); $host = "******:389"; $user = "**@**"; $PSWD = "*****"; $ad = Ldap_connect ($host) or Die (" Could not connect!" ); if ($ad) {...

3. Ubuntu-Modified php.ini but phpinfo (); but it didn't change.

Introduction: I have changed the php.ini but Phpinfo (), the information in the change is why, I looked at the address is/etc/php5/apache2/php.ini, and also modified to save, and then restart Apache, or useless this is why??

4. Use PHP to generate parsing errors when curl is initialized

Introduction: <? Php$arr = Array ({code ...} echo json_encode ($arr); echo "<br/>"; Echo 1234;phpinfo ();? > <? PHP $ch = Curl_init ();//Initialize//curl_setopt ($ch, Curlopt_url, "Http://localhost/info ...

5. Why the Nginx php-fpm error log is not displayed

Introduction: I configured the LNMP environment under Ubuntu, where nginx configured the error log and access log, everything is OK. At the same time PHP-FPM is configured with Error_log in pool/www.conf. {Code ...} At the same time, I print phpinfo (), such as: But my php-error.log is no wrong day ...

6. Childhood memory to modify the PHP Memory_limit limit method sharing

Introduction: Childhood memory:childhood Memory Modify PHP Memory_limit Limit method sharing: To solve this problem, first need to see if your program allocated too much memory, in the case of the program without problems, You can increase the PHP memory limit (memory_limit) by a few methods. Check PHP memory limit values in order to see this value, you need to create an empty PHP file, such as view-php-info.php. Then paste the code inside. <?php phpinfo ();?> put this script on your Web server and then in the browser

7. www.letian163.com Phpmailer Message class using Smtp163com to send mail methods

Introduction: www.letian163.com:www.letian163.com Phpmailer message class using smtp163com to Send mail method: First step: Need to download Phpmailer file package phpmailer-1.73.tar.gz From the open source community: http://phpmailer.sourceforge.net/The second step: Confirm that your server system already supports sockets such as, through Phpinfo (); see if it supports sockets if this is not the case, please note: socket is part of the PHP extension and must be given one for the compile time.

8. Nine Million bicycles php get MySQL version of several methods summary

Introduction: Nine Million bicycles:nine Million bicycles php get MySQL version of several methods summary: Select Version () Current $res=mysql_query ("select version () ") $row =mysql_fetch_row ($res); This form calls the SQL query to get. If you query PHP itself installed MySQL support library (CLIENT) version, you can use <?php phpinfo (); > Easier way to use PHP's own function Mysql_ge

9. Migration of XML escape characters from C + + to php--function to determine character type

Summary: XML escape characters: XML escape characters migrate from C/s + + to php--to determine the character type: in C + +, the header file ctype.h defines a set of macros for a character type that gives the type of the given character. And there are no related functions in PHP. A few days ago found in PHP www.mm4.de download provides an extension library called Php_ctype.dll, loaded after the discovery to provide some of these functions, special collation for everyone to refer to. After loading the Php_ctype.dll file correctly in PHP, use <?php phpinfo (); > can see the following information:

dota6.69 eggs php4 Eggs

Introduction: dota6.69 Eggs: dota6.69 eggs php4 eggs: Today saw some code, saw a small egg. <? /* env.php */phpinfo ();?> access http://ipaddress/dirname/env.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 with a browser you will see! A fat man with two cigarettes in his mouth!:-) The secret is the image data defined in the Logos.h with an array. unsigned char P

"Related question and answer recommendation":

Execute ' phpinfo (); ' Error 502, what's the problem?

Use PHP to generate parsing errors when curl is initialized

Ubuntu-has changed php.ini but Phpinfo ();

Nginx-After installing Vagrant Larval/homestead, booting the virtual machine does not index.php

Xampp under PHP How to connect MSSQL, and read the data AH

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.