easyphp

Using ini_set(“memory_limit”, “-1”) and still out of memory

一个人想着一个人 提交于 2019-11-28 13:16:51
I'm processing an old database php array to a new database. The data .php files are in total around 220 MB large. I've inserted these lines in the script so that it should run fine: ini_set("memory_limit", "-1"); set_time_limit(0); This is how I include the products: // The exports made by PHPMYADMIN, exported as PHP-Array require_once 'export/tx_ttproductsv2_products.php'; require_once 'export/tx_ttproductsv2_keyword.php'; require_once 'export/tx_ttproductsv2_keywords_in_products.php'; require_once 'export/tx_ttproductsv2_typebook.php'; require_once 'export/tx_ttproductsv2_typegospel7.php';

PHP to EasyPHP MySQL server 1 second connection delay

安稳与你 提交于 2019-11-27 22:14:57
I'm asking this here because I think it applies to more than just EasyPHP itself. I currently use EasyPHP as my WAMP development server so I can create web applications. The problem is, when I get the mysqli object to connect to the database it takes 1 second. Running the same query on shared hosting results in speeds over 200 times faster. Should this be something I should be worried about? In terms of scalability or moving my application to another server would it be smart to spend a while seeing what the issue is? I just assumed that perhaps EasyPHP was slow. Not a major, just something

Activation Curl on EasyPHP

偶尔善良 提交于 2019-11-27 21:56:29
问题 After uncommenting the curl-modul in the php.ini i get the following error: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5617x160120145639\ext\php_curl.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0 回答1: This as, Anar Hariyev states, works: 100% working solution, I won this problem! 1) Copy libssh2.dll from php directory to Windows/system directory 2) In php.ini #zend_extension remove (;

XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:

隐身守侯 提交于 2019-11-27 12:50:18
This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims port 80 is busy....WHAT DOES THAT EVEN MEAN? So I tried just uninstalling and moving to EasyPHP instead and when I installed that I get the error "error in Apache configuration file: the system cannot execute the specified program" No, I do not have Skype or any other programs really for that matter at this point, like I said I JUST REFORMATTED so idk whats going on. I would love to get this fixed, but if you leave me a answer

Fatal error: Call to undefined method mysqli_stmt::get_result()

浪尽此生 提交于 2019-11-27 09:48:15
i'm working to a web app, and PHP is my backend language... until now, i tested the website on localhost, using easyPHP ( PHP version 5.4.6 )... and everything was good! Today i tried to run the website online ( PHP version 5.3.18 ), and i've this error: Fatal error: Call to undefined method mysqli_stmt::get_result() in etc. I think this is strange, because the get_result() method should be supported since PHP 5.3.0 ( source ) Do you have any ideas how to solve this problem? Thank you in advance UPDATE: i didn't share any code because it is just fine (it still works on my localhost)... the

Using ini_set(“memory_limit”, “-1”) and still out of memory

↘锁芯ラ 提交于 2019-11-27 07:34:41
问题 I'm processing an old database php array to a new database. The data .php files are in total around 220 MB large. I've inserted these lines in the script so that it should run fine: ini_set("memory_limit", "-1"); set_time_limit(0); This is how I include the products: // The exports made by PHPMYADMIN, exported as PHP-Array require_once 'export/tx_ttproductsv2_products.php'; require_once 'export/tx_ttproductsv2_keyword.php'; require_once 'export/tx_ttproductsv2_keywords_in_products.php';

OpenSSL not working on Windows, errors 0x02001003 0x2006D080 0x0E064002

此生再无相见时 提交于 2019-11-27 07:32:48
Problem: OpenSSL is not working in my Windows environment. OpenSSL repeatedly reports errors 0x02001003, 0x2006D080 and 0x0E064002. Environment: Windows NT x 6.1 build 7601 (Windows 7 Business Edition Service Pack 1) i586 Apache/2.4.4 (Win32) PHP/5.4.13 x86 PHP Directory: E:\wamp\php\ Virtual Host Directory: E:\Projects\1\public_html What I've Attempted: Installation Instructions http://www.php.net/manual/en/openssl.installation.php PHP.ini extension=php_openssl.dll Openssl.cnf E:\wamp\php\extras\openssl.cnf %PATH% E:\wamp\php Rebooted phpinfo: ----OpenSSL support enabled ----OpenSSL Library

XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:

徘徊边缘 提交于 2019-11-26 16:08:55
问题 This problem has completely shot my entire day. I reformatted my old windows XP comp and tried installing XAMPP only to find that when i try to start Apache xampp claims port 80 is busy....WHAT DOES THAT EVEN MEAN? So I tried just uninstalling and moving to EasyPHP instead and when I installed that I get the error "error in Apache configuration file: the system cannot execute the specified program" No, I do not have Skype or any other programs really for that matter at this point, like I said

Fatal error: Call to undefined method mysqli_stmt::get_result()

走远了吗. 提交于 2019-11-26 14:52:12
问题 i'm working to a web app, and PHP is my backend language... until now, i tested the website on localhost, using easyPHP ( PHP version 5.4.6 )... and everything was good! Today i tried to run the website online ( PHP version 5.3.18 ), and i've this error: Fatal error: Call to undefined method mysqli_stmt::get_result() in etc. I think this is strange, because the get_result() method should be supported since PHP 5.3.0 (source) Do you have any ideas how to solve this problem? Thank you in

How to find the php.ini file used by the command line?

跟風遠走 提交于 2019-11-26 01:55:38
问题 I need to enable pdo_mysql in my EasyPhp environment, so I went to php.ini file and uncommented the following line: extension=php_pdo_mysql.dll Unfortunately I still have the same problem. I\'m using the CLI so I suppose I need to locate the php.ini file used by the CLI. How can I find it? 回答1: Just run php --ini and look for Loaded Configuration File in output for the location of php.ini used by your CLI 回答2: You can get a full phpinfo() using : php -i And, in there, there is the php.ini