wamp

Unable to find the socket transport “ssl”, CakePHP sending e-mail from shell

你离开我真会死。 提交于 2019-12-05 08:25:12
I am trying to send an e-mail from a cron using CakePHP shell but I am getting the following error "Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?: 0". The problem is on local server only, I am using WAMP server and the php_openssl extension is correctly turned on. When I checked if the extension is being loaded from a controller everything seems fine but when I debug the shell action, the extension doesn't seem to be loaded. Furthermore when I try to send an e-mail from a controller, the e-mail is successfully sent. I am using gmail

How to prevent Apache / mod_rewrite from treating path as file with same name

我怕爱的太早我们不能终老 提交于 2019-12-05 07:20:12
问题 I'm using WAMP Server, mostly configured as-is out of the box. I'm having trouble getting mod_rewrite to behave as expected locally (everything works fine on a production server). I have a PHP file located at: /ajax/graphs/get-graph.php The way this file is normally invoked is via a bootstrap file loaded by /index.php I have a .htaccess file at the root with the following rules: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php [L] So,

Codeigniter : Showing error as ' Unable to select the specified database: project' in Windows XP

强颜欢笑 提交于 2019-12-05 06:03:38
I am using Windows XP and using EasyPHP as a server. I have integrated Codeigniter with TankAuth. But, when I try to open my assignment folder, it shows error as follows: Unable to select the specified database: project Filename: C:\Program Files\EasyPHP-12.1\www\assignment\system\database\DB_driver.php Line Number: 140 The code inside my database .php is as follows" $active_group = 'default'; $active_record = TRUE; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'root'; $db['default']['password'] = 'root123'; $db['default']['database'] = 'project'; $db['default'][

Fatal error: Maximum execution exceeded

99封情书 提交于 2019-12-05 01:37:53
问题 I am trying to import a large database into my WAMP 2.5 server phpmyadmin. After importing some tables an error occurs: Fatal error: Maximum execution time of 360 seconds exceeded in C:\wamp\apps\phpmyadmin4.1.14\libraries\dbi\DBIMysqli.class.php on line 285 and the importing process is stopped. I have already increased max_execution_time in my php.ini file. Can anyone help me resolve this problem? 回答1: Don't modify the php.ini file ! Modify the alias of the phpMyAdmin file : J:\wamp\alias

html not parsing as php in wamp

喜夏-厌秋 提交于 2019-12-05 01:05:10
问题 I am using this snippet in my .htaccess file to parse html as php: <FilesMatch "\.(html|htm|txt)$"> SetHandler application/x-httpd-php5 </FilesMatch> this is working fine in my website(online) but not in my localhost (using WAMP latest version).. but if I change the above code to: <FilesMatch "\.(html|htm|txt)$"> SetHandler application/x-httpd-php </FilesMatch> then, this is working fine in my localhost but not in my website.. I have to add/remove the 5 in SetHandler application/x-httpd-php

WAMP server, localhost is not working

你说的曾经没有我的故事 提交于 2019-12-05 00:50:05
My WAMP server localhost was broken when my Windows 7 updates automatically. My port 80 is already used by IIS server. I searched on website, many people suggested that I need to change the port 80 to port 8080 or something difference. I updated Listen:80 to Listen:8080 and ServerName localhost to ServerName localhost:8080 . But it is still not working and leaves me a blank page. Can anyone help me to solve this problem? Goto This link its working.. http://www.ttkalec.com/blog/resolving-yellow-wamp-server-status-freeing-up-port-80-for-apache/ Update: Using XAMP After I’ve written this blog

配置Apache使局域网内的设备都可以访问

二次信任 提交于 2019-12-04 23:53:25
1这里用wamp做演示,wamp2.5内置了Apache2.4.9 2我们打开Apache目录\wamp\bin\apache\apache2.4.9下的“conf”文件夹,完整路径:C:\wamp\bin\apache\apache2.4.9\conf,找到httpd.conf,用sublime text或者notepad等代码编辑器打开。 3找到 # onlineoffline tag - don't remove 下方的: Require local 4将 Require local 替换成: Require all granted 即可。 来源: oschina 链接: https://my.oschina.net/u/2541651/blog/626747

Can&apos;t connect to MySQL server on &apos;localhost&apos; (1...

半世苍凉 提交于 2019-12-04 22:56:28
今天在笔记本上安装 wamp server,一切正常,顺利,phpmyadmin,连接使用,都ok,部署wordpress成功。 然后使用 HeidiSql 连一下mysql,悲催了。 Can't connect to MySQL server on 'localhost' (10061) 怀疑是不是 wamp 里面的有什么说道,就单独搞了个最新版本的mysql,结果还是一样,客户端无法连接。 百度,Google,搜了一堆,什么 卸载补丁,改注册表,反复重启……等等方案,都不好使呀。 后来终于找到一个方案,在my.ini里面[mysqld]部分中加这个参数 bind-address = 127.0.0.1,问题解决!!! 原帖 http://serverfault.com/questions/260239/unable-to-connect-to-mysql-through-port-3306 来源: oschina 链接: https://my.oschina.net/u/134610/blog/28605

How to know relations between tables

大城市里の小女人 提交于 2019-12-04 22:38:50
I have a database in MySQL created by someone. I don't have any documentation of the database. How can I know the relationship between the tables? Is there any query or a procedure to generate a report so that it's easy to find the relations? I can look into Schema information and manually figure it out, but it would be great if I could generate a relationship report. The better way as programmatically speaking is gathering data from INFORMATION_SCHEMA.KEY_COLUMN_USAGE table as follows: SELECT `TABLE_SCHEMA`, -- Foreign key schema `TABLE_NAME`, -- Foreign key table `COLUMN_NAME`, -- Foreign

WAMP equivalent for JSP [closed]

爷,独闯天下 提交于 2019-12-04 21:56:04
I already have WAMP server installed in my system which makes life much easier :-). So can anyone tell me what is the WAMP server equivalent for JSP? WAMP basically stands for "Windows, Apache HTTP Server , MySQL DB Server and PHP ". It's just a convenience software bundle for the lazy (pardon me ;) ) who doesn't want (or doesn't know how) to download/install/configure each separately. The JSP/Servlet equivalent would look like " Apache Tomcat Server , MySQL DB Server ". The JSP support is already builtin Tomcat as being a JSP/Servlet implementation (also known as servlet container ), while