php-ini

problem with uploading the images with php file upload

心不动则不痛 提交于 2019-12-11 08:17:46
问题 hi guys i am uploading the images using the @PhP file upload Method @ If i upload 10 Images at a time (Each Images is 2000 /3000 dimension). then the on click save function is not working. if i upload 5 images or less than five images then its working fine wats wrong with my coding i just include my php code with this post <input value="Save" type="submit" name="SubSave" id="SubSave" onClick="return changes();"> if($_POST['SubSave'] == "Save"){ $aid = $_GET['rid']; $updcount = $_POST[

How do I enable GMP on Mac OS X / PHP 7?

こ雲淡風輕ζ 提交于 2019-12-11 05:35:40
问题 I'm using PHP 7 and Mac High Sierra. I'm trying to install and enable GMP. I installed via brew install homebrew/php/php70-gmp but when I try and enable the module through the php.ini (/usr/local/etc/php/7.0/php.ini) file, I'm failing . I tried uncommenting the line extension=php_gmp.dll but I get this error when running composer Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php70/7.0.27_19/lib/php/extensions/no-debug-non-zts-20151012/php_gmp.dll' - dlopen(/usr/local

Cookie still set on HTTP with ini_set('session.cookie_secure',1);

微笑、不失礼 提交于 2019-12-11 04:09:15
问题 My config file looks like this: ini_set('session.cookie_secure',1); ini_set('session.cookie_httponly',1); ini_set('session.use_only_cookies',1); session_start(); //database connection part... When accessing this page via https://www.mysite.com/config.php, the PHPSESSID cookie it's "Secure" slot is empty. Visiting the page via http://www.mysite.com/config.php shows the exact same cookie, with the same value. I'm new to this so maybe I'm wrong, but this shouldn't happen, right? What am I doing

Can't Enable PHP Extensions on php.ini on App Engine for Laravel

假如想象 提交于 2019-12-10 15:09:07
问题 I'm trying to enable some php extensions needed by Laravel. The documentation for the php.ini file (https://cloud.google.com/appengine/docs/php/config/php_ini) says to place a php.ini file in the root of the application. This is what my php.ini looks like: extension=openssl.so extension=pdo.so extension=tokenizer.so extension=mbstring.so google_app_engine.enable_functions = "php_sapi_name, php_uname" When I deploy it, my log says: PHP Warning: PHP Startup: Unable to load dynamic library '

PHP Sql Server PDOException:could not find driver

回眸只為那壹抹淺笑 提交于 2019-12-10 03:52:15
问题 My server is a Windows 2008 server. PHP Version 7.2.7 is installed and running. Sql Server 11 (64 bit) is installed and is working (there is a couple asp.net apps running and already using that database) I downloaded the PHP Sql Server Drivers from Microsofts website and placed the .dll files in the PHP ext directory. In my PHP.ini I added: extension=php_pdo_sqlsrv_7_nts_x64 In my .php file I am using to test my db connection I have: $SqlServer = "THISSERVER\SQLEXPRESS"; $SqlServerCon = new

CodeIgniter Fatal error: Allowed memory size of bytes exhausted

為{幸葍}努か 提交于 2019-12-08 06:48:02
问题 I'm getting this Fatal Error Message in my codeIgniter, I've already tried some answers which has the same question. I've already set my php.ini max_execution_time = 300 max_input_time = 600 memory_limit = 128M But still I'm getting the same Fatal error message, I don't know if the problem is in my code or in php settings. Here are some my of codes in controller: public function blog(){ $this->load->model("blog_model"); $data["title"] = "CodeIgniter Projects - Blog"; if($this->getLastUrl() ==

MS-SQL and PHP.INI - how to enable mssql support in PHP in IIS7

╄→尐↘猪︶ㄣ 提交于 2019-12-08 03:15:31
问题 Currently, we are running PHP on Windows IIS7. And the relevant section from the php.ini reports this to me; Configure Command .... "--without-mssql" "--without-pdo-mssql" .... Clearly, this PHP lacks the mssql support. What does it take for the --without-mssql phrase to disappear from the configure area and thus the support for mssql is present in the php compile? So far, this is what we have done. we enabled the php_mssql.dll as a php extension. we made sure that ntwdb.dll is in the same

php_ini not set to php.ini location

℡╲_俬逩灬. 提交于 2019-12-07 05:19:04
问题 I'm trying to install MongoDB PHP Driver for XAMPP on OSX, and my terminal says the following: configuration option "php_ini" is not set to php.ini location What does this mean and how can I fix it (if it's even problem at all)? 回答1: pecl config-set php_ini /etc/php5/apache2/php.ini 回答2: If you are using XAMPP included pecl version, you should use following command on your cli: /Applications/XAMPP/bin/pecl config-set php_ini /Applications/XAMPP/etc/php.ini 来源: https://stackoverflow.com

What are the “serious performance implications” of implicit_flush?

不问归期 提交于 2019-12-07 05:15:16
问题 My site's admin section has a bunch of very slow report-generating scripts that echo output line by line as it is generated. To have this output flushed immediately to the browser, instead of the user having to wait for minutes before they see any response, we have output_buffering disabled and we call ob_implicit_flush at the beginning of such scripts. For convenience, I was considering just turning on the implicit_flush setting in php.ini instead of adding ob_implicit_flush() calls to every

php 7 unable to initialize sqlsrv

一个人想着一个人 提交于 2019-12-06 21:31:55
问题 I searched all day to find out a solution for sqlsrv dll on php 7 VC14 x64 Thread Safe and i did not found a solution. Does anyone solved this issue : [04-Oct-2015 19:48:05 UTC] PHP Warning: PHP Startup: pdo_sqlsrv: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20141001 These options need to match in Unknown on line 0 Here is my php7 RC4 informations : System Windows NT 6.0 build 6002 (Windows Server 2008 Standard Edition Service Pack 2)