xampp

JOOMLA site too slow

笑着哭i 提交于 2019-11-29 12:13:05
my Joomla site is too slow. It approximately uses 8 to 10 s to load main page. I am using xampp. template protostar. PC core i7. OS windows. JOOMLA 3.15. Is it normal ?? OR any any one may please guide me how to debug this issue. Oppz i solved it just right now. I disable Xdebug in php.ini and time reduces form 8s to 1s [XDebug] ;zend_extension= "C:\Users\arslan\Desktop\xampp-win32-1.8.1-VC9\xampp\php\ext\php_xdebug.dll" ;xdebug.remote_enable=on ;xdebug.remote_handler=dbgp ;xdebug.remote_host="localhost" ;xdebug.remote_port=9001 ;xdebug.remote_autostart=1 my server was xampp. Joomla site slow

cURL is unable to use client certificate , in local server

两盒软妹~` 提交于 2019-11-29 12:06:57
I set up a local server using XAMPP. I have two PHP scripts , a sender and a receiver. I am trying to send an XML file from the sender to the receiver using HTTP over SSL (HTTPS). I created a self signed certificate, configured XAMPP, and I am using this code on my sender : <?php /* * XML Sender/Client. */ // Get our XML. You can declare it here or even load a file. $xml = file_get_contents("data.xml"); // We send XML via CURL using POST with a http header of text/xml. $ch = curl_init(); //curl_setopt($ch, CURLOPT_SSLVERSION,3); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($ch,

Oracle instantclient DYLD_LIBRARY_PATH error

偶尔善良 提交于 2019-11-29 12:06:36
I am using Xamppp for macos on OSX 10.9 with Php 5.4.19 I've installed oracle instantclient and i can see oci8 is enabled in phpinfo (below): OCI8 Support enabled Version 1.4.9 Revision $Id: 44bfa713983a99b3e59477f6532e5fb51b6dee94 $ Active Persistent Connections 0 Active Connections 0 I can see DYLD_LIBRARY_PATH is set in my phpinfo also. DYLD_LIBRARY_PATH /usr/local/instantclient/11.2.0.3 But when i try to connect with php i got the same error for two days now :( Warning: oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that DYLD_LIBRARY_PATH

What may cause an ERR_CONNECTION_RESET error, on xampp while using session

自闭症网瘾萝莉.ら 提交于 2019-11-29 10:47:13
I have problem with xampp (Windows) where I have session_start(); in my file but it like drops that request... When I try to access page with localhost/folder/index.php it works but when i try external ip/folder/index.php or 127.0.0.1/folder/index.php or [::1]/folder/index.php it just drops connection (tried multiple browsers and chrome gives ERR_CONNECTION_RESET ... I am clueless and I desperately need help... It worked when I removed session_start(); from my file... When I make new file with session_start(); it still doesn't work... Some error.log lines [Sun Jan 10 19:33:45.805036 2016] [

php的yii框架下开发环境xampp,vim,xdebug,DBGp的搭建

送分小仙女□ 提交于 2019-11-29 10:21:24
本文适用于yii1.1及yii2普通安装模式,yii2采用composer安装的见 这里 。 php 的 yii 框架下开发环境 xampp,vim,xdebug,DBGp 的 搭建 选择 Linux 桌面环境 Deepin2014.1 下开发网站的理由很简单,能截图,有搜狗输入法,可以 WPS 文档记录,终端下复制粘贴很容易,相比 ubuntu,fedora 死机次数少了,对,就是不用折腾,自带的。 先说 vim 和 DBGp 插件。 Deepin2014.1 简体中文,自带的 vim7.4 版本,很多配置已经很适合大陆的人使用了,比如 Php 和 Python 的调试支持等,不需要重新编译了。可以节省不少步骤。这里提供一个 vim 的配置文件,已经自带了 DBGp 这个 vim 的插件,在 ~ 文件夹下解压缩,得到 .vim 和 .vimrc 文件,就已经在 ~ 文件夹下了。注意,复制之前做好你文件的备份,复制完毕后,命令 ll ~ 查看是否有 .vim .vimrc 这两个文件,还需要安装一下 cscope 和 ctags ,就可以了,该配置文件说明及下载见 这里 ( www.eechina.com 里最后一个文件)。你用 vim 随便打开一个文件,比如 vim test.php ,如果没有提示其他错误说明这个配置文件暂时适合你了。 再说 xampp 。 Xampp 专为

Error in running apache services from XAMPP

廉价感情. 提交于 2019-11-29 08:48:50
I installed XAMPP a few months ago and it has been working fine. But recently when I open it I get an error of a port being occupied. Now whenever I start my XAMPP and run apache services I get these errors: Apache Service detected with wrong path Change XAMPP Apache settings or Uninstall/disable the other service manually first Found Path: ERROR: Not Able To Open Service Manager Expected Path: "d:\my local server\xampp\apache\bin\httpd.exe" -k runservice Problem detected! Port 80 in use by "system"! Apache WILL NOT start without the configured ports free! You need to uninstall/disable

XAMPP - Apache Error

天涯浪子 提交于 2019-11-29 08:10:53
This is the error I get when I try to start Apache. The error logs are : [ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [mpm_winnt:notice] [pid 7132:tid 392] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations [mpm_winnt:notice] [pid 7132:tid 392] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08 [core:notice] [pid 7132

How to save php file as .php or .html extension?

萝らか妹 提交于 2019-11-29 07:57:31
why we have php file as .php , can we save php file as .html,because at some sites,I seen webpages with .php extension,why can't we have .html extension of php file. Does it effect the execution of php file on php server engine. if we have it as .html file,which has php code inside it. If you really want to serve your PHP code with .html files, it can be done. Your web server is configured to detect the file type by looking at the extension. By default it will route .php files through the PHP interpreter, and .html files will be served directly to the end user. You can configure this behaviour

PHP openssl_public_encrypt causing Page Timeout/Connection Reset?

浪子不回头ぞ 提交于 2019-11-29 07:29:50
Just migrated to a new machine and having issues. Note: This is a Windows 7 , Apache 2.2.21, MySQL 5.5.16, php 5.3.8 setup. Each time I run a certain PHP script, I am faced with a "Page Load Error - The connection was reset". I know the script works before the function call with various echo statements but calling: openssl_public_encrypt(); I am given a page timeout. I have added the appropriate openssl.dll PATH to my windows configuration settings (D:\xampp\php\etc) but I am still getting page timeout errors on my actual localhost machine (and the errors above). The page returns: The

How to use composer on windows?

社会主义新天地 提交于 2019-11-29 07:19:10
问题 I have installed xampp on my PC. After that I installed composer using window installer. On the website they tell about composer.json which looks something like this in the example { "require": { "monolog/monolog": "1.2.*" } } Where do I put it? How do I run it? I have searched a lot but found nothing. Any suggestion would be great. I ran command prompt as administrator with following command C:\windows\system32>composer It printed out a bunch of commands. I tried typing C:\windows\system32