Sponsored Content
Full Discussion: php.ini
Operating Systems Linux Ubuntu php.ini Post 302575050 by Neo on Sunday 20th of November 2011 04:20:30 AM
Old 11-20-2011
Quote:
Originally Posted by programAngel
When you say browser you mean someone try to access it via the Apache serve?
Yes, that is what he means.... when you use PHP with Apache web server.

Note that it is not necessary to strictly use "a browser" as it is only necessary to query the web server, and this can be done with web browsers or with command line utilities such as wget, curl, etc.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Multi-booting Win2000 and FreeBSD with boot.ini

Actually, I'm going to be setting up my new hard drive to boot 3-4 OSes...so far I'm definite on Windows 2000 Advanced Server and FreeBSD 4.4, and I'm stuck between RedHat 7.2 and Mandrake 8.1 for my Linux choice...anyways.... I'm gonna be using boot.ini as the boot loader thing. I've already... (3 Replies)
Discussion started by: DownSouthMoe
3 Replies

2. Shell Programming and Scripting

reading data from .ini file

Hi, I have a sample data file that contains name-value pairs in it. For example: name1=value1 name2=value2 name3=value3 ... ... ... My concern is 1. How to get values of name1, name2, name3 using korn shell script? 2. I don't want to access each varible using $name1,$name2, $name3... (2 Replies)
Discussion started by: vinna
2 Replies

3. UNIX for Dummies Questions & Answers

Updating the ODBC.ini file

Hi, I want to access MS SQL Server database through Informatica which is an ETL tool installed on sun solaris Unix operating system. For me to access the MS SQL Server i studied that i need to update the odbc.ini file on Unix box. Could you please let me know how and where i can access this file... (1 Reply)
Discussion started by: Ariean
1 Replies

4. Web Development

about php.ini and mysql linux

I can't use mysql .How should i config the file of php.ini . the message: Fatal error: Call to undefined function mysql_errno() in /var/www/html/inc/dv_clssql.php on line 129 how should i do? please help me (2 Replies)
Discussion started by: fang_xiaoan
2 Replies

5. UNIX for Dummies Questions & Answers

Trying to show lines in INI files until the comment character (#)

I have a working directory on a server with over 100 INI files. For the most part, they are configured the same way. Each line will contain 1 or none variables listed from the first character in the line such as VariableName=0. Unfortunately there are comments everywhere using the... (4 Replies)
Discussion started by: hindesite
4 Replies

6. Shell Programming and Scripting

[NEED] Shoutcast Stream Ini Script

Hi there, my english is not the best but i try to tell what i want. i want a Shell Script with this i can creat a Shoutcast Stream and stop, start and restart it. I have found this Script: http://serversupportforum.de/forum/sonstige-serverdienste/10602-shoutcast-server-init-script.html When i... (1 Reply)
Discussion started by: Cannon
1 Replies

7. Shell Programming and Scripting

Trouble with sed and ini file parsing

hi people, i'm having a hard time trying to extract a list of vars delimited by section inside a ini file ... let's consider this ini file : ; config file DESC = "channel synchro TGG01" DMM_VER = DMM23 PATH_FIFO = /users/tgg00/fifo QRT = BTS01.TGG.01.2 MODE_TRACE... (5 Replies)
Discussion started by: odium74
5 Replies

8. UNIX for Dummies Questions & Answers

Append two lines of text to php.ini in the entire directory tree.e

I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file. I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
DL(3)									 1								     DL(3)

dl - Loads a PHP extension at runtime

SYNOPSIS
bool dl (string $library) DESCRIPTION
Loads the PHP extension given by the parameter $library. Use extension_loaded(3) to test whether a given extension is already available or not. This works on both built-in extensions and dynami- cally loaded ones (either through php.ini or dl(3)). Warning This function has been removed from some SAPIs in PHP 5.3. PARAMETERS
o $library - This parameter is only the filename of the extension to load which also depends on your platform. For example, the sockets extension (if compiled as a shared module, not the default!) would be called sockets.so on Unix platforms whereas it is called php_sockets.dll on the Windows platform. The directory where the extension is loaded from depends on your platform: Windows - If not explicitly set in the php.ini, the extension is loaded from C:php4extensions (PHP 4) or C:php5 (PHP 5) by default. Unix - If not explicitly set in the php.ini, the default extension directory depends on o whether PHP has been built with --enable-debug or not o whether PHP has been built with (experimental) ZTS (Zend Thread Safety) support or not o the current internal ZEND_MODULE_API_NO (Zend internal module API number, which is basically the date on which a major module API change hap- pened, e.g. 20010901) Taking into account the above, the directory then defaults to <install-dir>/lib/php/extensions/ <debug-or-not>-<zts-or- not>-ZEND_MODULE_API_NO, e.g. /usr/local/php/lib/php/extensions/debug-non-zts-20010901 or /usr/local/php/lib/php/extensions/no- debug-zts-20010901. RETURN VALUES
Returns TRUE on success or FALSE on failure. If the functionality of loading modules is not available or has been disabled (either by set- ting enable_dl off or by enabling safe mode in php.ini) an E_ERROR is emitted and execution is stopped. If dl(3) fails because the speci- fied library couldn't be loaded, in addition to FALSE an E_WARNING message is emitted. EXAMPLES
Example #1 dl(3) examples <?php // Example loading an extension based on OS if (!extension_loaded('sqlite')) { if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { dl('php_sqlite.dll'); } else { dl('sqlite.so'); } } // Or, the PHP_SHLIB_SUFFIX constant is available as of PHP 4.3.0 if (!extension_loaded('sqlite')) { $prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : ''; dl($prefix . 'sqlite.' . PHP_SHLIB_SUFFIX); } ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | dl(3) is now disabled in some SAPIs due to sta- | | | bility issues. The only SAPIs that allow dl(3) | | | are CLI and Embed. Use the Extension Loading | | | Directives instead. | | | | +--------+---------------------------------------------------+ NOTES
Note dl(3) is not supported when PHP is built with ZTS support. Use the Extension Loading Directives instead. Note dl(3) is case sensitive on Unix platforms. Note This function is disabled when PHP is running in safe mode. SEE ALSO
Extension Loading Directives, extension_loaded(3). PHP Documentation Group DL(3)
All times are GMT -4. The time now is 10:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy