wamp

How to remove index.php in Wamp?

為{幸葍}努か 提交于 2019-12-04 06:46:10
I 've been using CodeIgniter in XAMPP. There was no problem to redirect to a function URL (e.g., function1 ): http://localhost/function1 When I changed to WAMP, I got a problem. I could not redirect to function1 . However, function1 is still accessed at: http://localhost/index.php/function1 How to configure WAMP and CodeIgniter to remove index.php? In order that I could run function1 as I run using XAMPP. Thank you. Manju Please try the following: 1) Create .htaccess file in parallel to application folder and just copy paste the following code: RewriteEngine On RewriteBase /CodeIgniter/

codeigniter setting session variable with a variable not working

喜夏-厌秋 提交于 2019-12-04 04:44:20
问题 Using codeigniter running locally on WAMP and dealing with sessions. I tried the default session handler, db session, native session and now db session. They all result in the same issue and I can't for the life of me figure it out. The problem is that I am trying to set a session variable using a variable. I have confirmed the variable and have echoed it out and all is well in the controller. The controller calls on a view and the variable is there as well. The view calls on a uploader file

Call to undefined function sqlsrv_connect() with WAMP

风流意气都作罢 提交于 2019-12-04 03:30:14
问题 I know that this question has already been asked several times on this website but I'm seriously starting to wonder wheter I'm crazy or not. My configuration : WampServer 2.5 64bits (PHP 5.5.12, Apache 2.4.9) My steps: Download Microsoft Driver SQLSRV32.exe from https://www.microsoft.com/en-us/download/details.aspx?id=20098 Extract the files from the .exe downloaded on my desktop Copy php_sqlsrv_55_ts.dll and php_pdo_sqlsrv_55_ts.dll into C:\wamp\bin\php\php5.5.12\ext Edit C:\wamp\bin\php

Windows 10 - WAMP Orange

爷,独闯天下 提交于 2019-12-04 03:01:19
I've installed WAMP 64bit server on my windows 10 enterprise machine. However I'm getting a orange icon. I've checked the following: Apache -> Service, the start/resume service is greyed out and stop service is red. In addition Test Port 80 gives me: Your port 80 is actually used by : Server: Apache/2.4.9 (Win64) PHP/5.5.12 Mysql -> service, start/resume service is green. When I click on it nothing happens. I've tried turning off the windows firewall, nothing happens. I've checked for skype but it is actually not installed on my machine. Tried netstat-b in the command prompt and I can't see

I am getting error in wamp for PHP in path

本小妞迷上赌 提交于 2019-12-04 02:50:25
My wamp server icon is currently orange, which means only 2 out of 3 servers are running. I can not open my phpmyadmin page because it gives 404 not found error. if I right click on my wamp icon at the bottom I get an error saying Error: C:/wamp64 or PHP in PATH. If I click on this error then a command prompt window appear saying this:- Sorry, There is an error. There is Wampserver path (c:/wamp64) into Windows PATH environnement variable: (C:\wamp64\bin\php\php7.2.4) It seems that a PHP installation is declared in the environment variable PATH C:\wamp64\bin\php\php7.2.4 Wampserver does not

Limit WAMP file system access

瘦欲@ 提交于 2019-12-04 02:27:56
问题 I have a WAMP stack installed in my PC. Yesterday, I was working with file system with PHP and noticed that I can access any directory in my hard disk even above the website document root directory. This is a clear security issue that I want to avoid. Currently, I am using several virtual hosts in my WAMP stack along with custom domain using hosts file. I am looking for some configuration that I can made in httpd.conf file or better if possible in .htaccess file that will limit the access of

PHPMailer Hangs on Send

依然范特西╮ 提交于 2019-12-04 01:24:27
问题 I had successfully setup a web app using WAMPSERVER on a desktop used by a few people internally, this used PHPMailer to an internal SMTP server without encryption or authentication and it worked. That desktop crashed and I've migrated to a "new" desktop. I had an SVN setup so I was even using most of the same files and config. One difference which might matter is that the old desktop was 64-bit and the new is 32-bit. This means I'm using different versions of WAMPSERVER. The mailer just

Wamp server startup error “-can not startup [Ephase error]”

空扰寡人 提交于 2019-12-04 00:14:00
After I download the WAMP Server, a windows pop out stating: The configuration file contains a syntax error on line 1235;[EParseError]parameter "service "specifies an unknown service . I have no idea what type of this problem. Did anyone facing this type of problem? How can I solve this type of problem? If you're installing WAMP 2.5 and above, you have to make sure that you uninstall any previous version first. Backup your www folder, php.ini , my.ini and httpd-vhosts.conf files. Then try follow these steps in order to remove the old services: Launch WAMP server, disregard that it doesn't

Why is mysqlserver.lib file very large? Is this file neccessary in wamp stack?

守給你的承諾、 提交于 2019-12-04 00:00:57
Recently I created my development server using php7.0.1, mysql5.7 and apache 2.4.20. After I successfully got it running, I checked the file size of my server and found that it is almost 2 GB. So I digged further and found that mysqlserver.lib file inside mysql/lib folder is around 976 MB. So my problem is how can I make my server file size smaller? Is this mysqlserver.lib safe to delete? I don't see mysqlserver.lib in the wamp2.5 version of mysql. Any suggestion for making file size in mysql community edition smaller is welcome. The lib folder is there for you to compile MYSQL yourself if you

Unable to access MySQL from phpMyAdmin after setting root password in EasyPHP{WAMP}

↘锁芯ラ 提交于 2019-12-03 22:55:59
问题 After successful setup on initial launch of MySQL, the page prompted me to set up ROOT password for security reasons. On setting the password, am no longer able to access MySQL. The error is: 1045 - Access denied for user 'root'@'localhost' (using password: NO) Looked up on the net and tried the following options in the config.inc.php from the phpmyadmin foler: Set the authentication to "http" so that it prompts to enter the username and password /* Authentication type */ $cfg['Servers'][$i][