Earlier it worked without any problems.
But when I installed php and made the configurations I tried to open phpMyAdmin on the browser and then I realized the Apache web server wasn't running.
I took these steps:
Tried to check for any configuration problems but there weren't any.
I changed the port.
I re-downloaded but it didn't work again (I configured and changed the port correctly after re-downloading).
below are some info about versions of xampp and phpthis is the info about versionsand this is my xampp version
Related
between yesterday and today something happened that prevents processes running under Apache accessing an MSSQL server that is essential for functioning of the site.
This is what I find in the Apache error logs for PHP scripts:
PHP Warning: mssql_connect(): Unable to connect to server
Flask/SQLAlchemy applications are a bit more informative:
OperationalError: (OperationalError) (20009, 'DB-Lib error message 20009,
severity 9:\\nUnable to connect: Adaptive Server is unavailable or does
not exist (####:1234)\\nNet-Lib error during Permission
denied(13)\\n') None None
When I start the same WSGI app in test mode from the console on the same machine that Apache is running on, everything works. To summarize:
Both WSGI and PHP fail to connect to an MSSQL server literally overnight if run under Apache
When run w/o Apache, the WSGI scripts work fine (can't tell about PHP because that's not my domain)
Nothing was changed on the server that runs the web applications (can't say about the MSSQL server)
I need a clue quick. This stuff is running in a company intranet and people are getting impatient. I have control only over the RHEL server running Apache, not the MSSQL server.
The troubleshooting tips using tsql on the freetds page all work fine.
My /etc/freetds.conf is just out of the box and essentially empty (everything commented out).
Turns out it had nothing to do with Apache et al. This was an SELinux permission issue which started after the VM was rebooted during the night, probably initiated by a sysop in India. Apparently there was an updated security policy for apache. Found the issue in /var/log/messages, which thankfully even included instructions on how to fix it.
I am trying to configure xdebug to work in PhpStorm with my Vagrant machine, but I cannot figure out how to properly configure everything.
Here is the Vagrantfile I am using:
https://github.com/fideloper/Vaprobash
This Vagrantfile installs and configures xdebug for my Vagrant machine, but I'm not sure how to hook that up with PhpStorm. Between my xdebug.ini config, my web server config, and the PHP web app debug config, I cannot figure out how to get everything working.
When I click run->debug in PhpStorm, I get the following:
I have tried hacking away at the configuration details but have had 0 luck. Can anyone point out what I'm doing wrong here?
xdebug runs "backwards" to most typical server software one would deal with on Vagrant. IE, for apache you would fire that up on the VM and forward a port from the host to the VM so you could hit the server. Well, xdebug wants to push data from the VM to the host machine. Which means you need to feed xdebug the host's IP address -- which is probably the one the VM configured on the host only network and not your typical IP address -- and also to make sure that xdebug server is running and can accept connections.
Yeah that leaves a bit to be desired . . . .
I'm having a machine running on Windows 7. First I installed WAMP server on my local machine. It was working fine. Then I installed Microsoft Visual Studio 2008. From that time the WAMP server is not working at all. Means the "W" symbol of WAMP server gets Green but nothing is working like if I print http://localhost/abc or http://localhost/phpmyadmin. The page loader keeps on revolving and revolving and ultimately after long time error message comes. I gone into the details of this issue. Then I found Apache server is not running. Also I checked port 80 status. But nothing is worked for me till now. Does anyone know how to resolve this issue?
change your apache listen port
open this file c:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf
find that line Listen 80 in this file and change to other number example Listen 8080 after that changed restart all wamp service and open your browser and test it again with http://loacalhost:8080/
I have set up a local webserver using MAMP on ports 8888 for Apache and 8889 for MySQL.
I am using this exclusively for Drupal 6 multisite.
I would also like to have a local webserver using the native mac os x capabilities through ports 80 and 3306. Is it possible to run both MAMP local server and native osx webserver concurrently?
I have tried to install php on my local server by editing the http.conf file but whenever I open a .php file (any php file) using Firefox I get an infinite loop of blank browser windows opening (FF) or in Safari the actual code of the php file is displayed rather than the php processed page.
Have I missed/messed up something?
I have installed Ubuntu Server 10 on a virtual machine (VMWare) and I have set up a LAMP stack. Everything runs fine when I go to "mysitename" in Firefox on the linux virtual machine, but when I try to access it on my windows machine, it only gives me the HTML in my .php file, and does not execute the PHP. Can anyone provide some suggestions? I'm guessing it will be an apache setting, but I'm not sure.
What URL are you accessing from your Windows machine? Are you sure that the PHP file is actually interpreted when you're accessing it from the Linux Guest?