WampServer 3.0.6 64Bit cannot open php.ini - php

I am having a problem opening php.ini on the above version of wamp, installed on a windows server 2012 platform.
When I go to the WAMP icon->php->php.ini
i get an error message:
"Could not execute menu item (internal error) [Exception] Could not execute run action: The system cannot find the file specified"
this is a vanilla install of wamp, and everything seems to be operating fine other than this... I need to access php.ini to change some smtp settings, but I can't find it, and neither can WAMP , so it seems
Any ideas how to fix this?

Got to wampmanager.conf and look for: editor =" "
the path to you editor must be the right one
in my case : I use Atom
editor =" C:/Users/user/AppData/Local/atom/app-1.14.4/atom.exe"
map : app-1.14.4 was app-1.08.1 I change it in the right name and now work perfect.
hope that help !

Related

my wamp 3.0.6 is not starting giving apache error.Can someone pleaserecommend?

I want to install latest PHP 7 version so I was installing it in my vista homepremium 32 bit. But it is giving Apache error. My Apache is not working. Can someone please help or recommend me another version for PHP 7 so as I can install Laravel.
If you have an issue in the httpd.conf or any files included by it there are a couple of ways to find out what the problem is
First look at your Windows Event Viewer. Click on the Windows link in the left and menu and then Applications. Look for messages from Apache with the red error icon.
Secondly, open a command window, then CD into \wamp\bin\apache\apache2.x.y\bin, replace x,y with your actual version. Now you can run this command to get Apache(httpd) to vaidate the httpd.conf file.
httpd.exe -t
This should give errors with line numbers related to the http.conf file. It stops on the first error, so you will have to keep running it and fixing the error and then run it again until it gives the all OK message.
Original answer: RiggsFolly

xdebug and MAMP horror show

i have been using MAMP PRO and xdebug for years (through Netbeans) and suddenly I am unable to debug. I have narrowed the issue down to the following. Whenever I append the parameter XDEBUG_SESSION_START=anyvalue to the localhost url the page freezes, and obviously, Netbeans just waits for a connection.
for example, the following url works fine:
localhost:8888/index.php
this url freezes:
localhost:8888/anypage.php?XDEBUG_SESSION_START=netbeans-xdebug
I have tried:
-closing all copies of Netbeans.
-restarting MAMP PRO.
-restarting the Mac.(Mavericks)
-deleting MAMP temp files in /Applications/MAMP/tmp/php
-creating a new MAMP host ..ex localhost1
nothing seems to fix the problem. There is nothing wrong with the php.ini file, or Netbeans config, or xdebug config. I am desperate.
To be clear, when i restart the computer, start MAMP PRO and nothing else (Netbeans is not running), then go here in ANY BROWSER---
localhost:8888/anypage.php?XDEBUG_SESSION_START=netbeans-xdebug
the page does not load and just waits.
other examples the following DOES load
localhost:8888/anypage.php?XDEBUG_SESSION_ST=netbeans-xdebug
the following DOES NOT load
localhost:8888/anypage.php?XDEBUG_SESSION_START=netb
what is blocking the connection when the get parameter "XDEBUG_SESSION_START" is added??? I am ready to give up.
Fixed this by changing one line in the php.ini file from:
xdebug.remote_host=localhost:8888
to:
xdebug.remote_host=127.0.0.1:8888
I have no idea why it worked with localhost for years, and all of a sudden did not. I suspect the installation of Xcode, but cannot prove or disprove.

Cannot open phpMyAdmin setup wizard

While setting up MySQL I've got dozen of headaches, but nothing hurts as much as this one. I've been bashing my head around trying to install phpMyAdmin, followed all kinds of tutorials (they pretty much all said the same) but if something can go wrong it probably will.
When trying to open the setup wizard(from browser) by going to localhost/phpmyadmin/setup/index.php (Step 4. in tutorial below, part when trying to invoke setup wizard) I get "Web page not avaiable" thing. Now when i just type localhost/ in browser I get the "It Works!" page.
I've followed the steps from tutorial, and it all worked (until step 4). Also installed Apache and MySQL with their reference tutorial at beginning(worked without any problem)
From what I've got I assume apache is set-up correctly since it shows "It Works!" page, but somehow it cant access the rest of the path phpmyadmin/setup/index.php
What did I do wrong?
Tutorial I followed:
http://www.thegeekstuff.com/2010/09/install-phpmyadmin/
Some basic info you might need:
PHP 5.5.3-1ubuntu2.6 (cli)
MySQL 5.5.37-0ubuntu0.13.10.1 (Ubuntu)
Apache2 Apache/2.4.6 (Ubuntu)
phpMyAdmin 4.3.6-all_languages pack from their website(extracted to /usr/local/apache2/htdocs/phpmyadmin )
OS: Linux Mint 16 32bit
Browser: Chromium
Check your php.ini file and see if it's there.
extension_dir = "ext"
If its there just specify the full path to your extension directory.
extension_dir = "C:\php\ext"
According to me this will make this error solved.
Hope this helps you

Cannot Start Wamp Server

For some unknown reason I cannot start WAMP server - The icon stays yellow no matter what:
Checked port 80, and it's not used.
No Skype, no Firewall.
Tried MANY solutions I suggested here in stackoverflow - absolutely nothing.
Tried to uninstall and reinstall - it worked for 10 minutes, then it didn't work again.
The only thing I'm changing is to include Virtual Hosts under httpd.conf. Checked every solution I could find on the net - nothing is working for me.
Maybe, just maybe it's because I previously installed PHP 5.5 apart from WAMP? If I go to PHP > PHP Extensions > then I can see there's a problem in php_opcache and php_enchant. When I click on them I get an error message that says: Could not execute menu item (internal error). [Execption] Could not perform service action: the service has not been started. The PHP Version I installed is 5.5.15. The PHP WAMP is 5.5.12... I don't have a clue how to uninstall PHP, and I couldn't find anything about that on the net.
PHP Error log says: PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - %1 is not a valid Win32 application. in Unknown on line 0
EDIT - It seems like the cause for the problem is me trying to include Virtual Host via httpd.conf file. When I excluded, like in default, WAMP is online again. Any suggestion of how to include virtual host and still get WAMP get online?
It looks like you're running on a corrupt install have you tried reinstalling the software?
Alternatively i would recommend using Xampp which basically offers the same service as Wampp only with a bit more ease of access (also allowing for Mecury mail service and an FTP server for remote access).
The problem with php_intl can be corrected easily, see this answer
In order to find out what Apache is complaining about with the Virtual Hosts definition look at the Windows Event Log or, launch a command window and
cd \wamp\bin\apache\apachex.y.z\bin
httpd -t
This should give you filename and line number where your errors are.
Try changing that port number anyway. Mine stays yellow if the port number is set to 80, even though WAMP says it's not being used by any other program.

Error in Configuration File EasyPHP and WAMP not working

I tried to install both EasyPHP and Wamp but when I start easyphp it starts sql normally but won't let me start apache server and gives error "Error in configuration file Edit?" but the same version works fine on my desktop computer and when I tried wamp it just crashes saying "Aestan Tray menu has encountered.. bla bla". I searched a lot on google but could not find solution to this. Kindly help me removing this error. What could be the possible cause and how could I make it working? I have tried removing Skype too.
I had the same problem and just fixed it.
ALl you have to do is downloading and installing Microsoft .NET Framework 3.5 and if you use a non english windows xp make sure you change the language of .net framework to the one you have on XP before you download it, otherwise it won't be installed
If you use Windows 7 there could also be error with line breaks when you add virtual host via virtual hosts manager.
I had an error with following easyphp response "Error in Apache configuration file ... Synthax error on line 12 of ... conf/inc_virtual_hosts.conf".
To fix this just open [EasyPhp Folder]\binaries\apache\conf\inc_virtual_hosts.conf and add line break where it should be!
# Virtual hosts<VirtualHost 127.0.0.1> - error!!!
DocumentRoot "D:/projects/...
Also you can check [EasyPhp Folder]\binaries\conf_files\httpd.conf - there also can be bad synthax.

Categories