Apache not working after Windows 8.1 upgrade [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
After upgrading to Windows 8.1 from Windows 8 today Apache isn't working anymore. I had this problem when upgrading last time to Windows 8 from Windows 7 and had to re-install all my server components but I don't want to do that this time as I loose all the databases I had before.
Does anyone know what I can do to reconnect my Apache server, PHP and MySQL servers?
Apache 2.2
PHP 5.

You should start the MySQL, Apache and/or WAMP services from services.msc. If cannot find them, you will need to re-install them as services.
In few words, you need to execute the following binaries from an elevated command prompt:
httpd.exe -k install, here is how it works: http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
mysqld.exe --install, here is how it works http://dev.mysql.com/doc/refman/5.1/en/windows-start-service.html
If you cannot find them, try this from a command prompt:
cd c:\
dir /s /b mysqld.exe
dir /s /b httpd.exe
Then you will find them.

Related

phpmyadmin in XAMPP is not working mac OS BigSur [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I am new to php. I was already running mysql ver 8.0.27 on my mac 11.5 (BigSur)
Now i have installed XAMPP (8.0.15), Apache is running perfectly but MySQL Database is stopped and also localhost/phpmyadmin is not working. But my previously installed mysql is running, i am using it through workbench. Can i use my running mysql with it or need to change the port to run from XAMPP?
You should use modern dev stacks like Docker or Vagrant (I prefer docker) ... XAMPP is outdated. But it looks like a port problem. If you really want to use XAMPP, try changing the port numbers.
Also take a look at this video https://www.youtube.com/watch?v=YXWQTpSHIMc&ab_channel=BINARYHACK

PHP8 not working with Apache httpd localhost in Mac OS 12 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Upgraded to Mac OS 12 today and noticed PHP was removed. Have installed PHP 8 using brew. I've tried setting it up with the default httpd and also tried installing it with brew. I load the module in the config. In both cases, when I access the files on the localhost in my browser, it just prints the text in the php files and doesn't execute them. Haven't really got any clue left
You need to add the line AddType application/x-httpd-php .php to httpd.conf Apache configuration file to enable PHP file parsing. After editing the file restart Apache to reload new settings.
You can use an alternative like MAMP (My Apache MySQL and PHP). Installation instructions here: https://documentation.mamp.info/en/MAMP-Mac/Installation/.
It includes a prepackaged Apache/nginx web server, PHP and MySQL, as well as, a management GUI app native to macOS.

Setting up localhost between Xubuntu 16.04 and Windows 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have everything configured and working great within my Xubuntu 16.04 machine, including localhost (I am using LAMP stack, apache2, php7.0).
I am struggling to configure the localhost on my Windows 7 machine so that I can view my work on my google chrome browser in the Windows environment. I wasn't able to find any tutorials on how to set this up. Do I need to configure this within the apache2.conf within the virtual machine or? Thanks for any help in advance.
I have tried localhost localhost:8080 and localhost:8081
If your computers are on the same network use the command "arp -a" on your windows machine to view all of the ip addresses on your network. Replace the localhost on your windows system with that of the one on the Xubuntu machine.
(Don't forget to add the port for the apache server!)
Localhost:8080 -> 192.186.0.30:8080

PhpMyAdmin Blank Page on fodora 22 localhost server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I follow this guide to install LAMP server on fedora 22 workstation
How To Install LAMP Stack (Apache, MariaDB And PHP) In Fedora 22
Everything working well except phpmyadmin.
When i need access it of the browser
i see nothing (blank page)
How i can fix this issue ?
Any Suggestions ?
Possibly you can get more info via 2 things
1- Enabling php display_errors in php.ini file which you can find by running
php --ini
changing display_errors to on and save it then restart apache web server and revisit phpmyadmin url which should show you the error
2- looking in apache error log which mostly located in /var/log/httpd/error.log
you can use tail -f for better tshooting
tail -f /var/log/httpd/error.log
Try running phpMyAdmin's index.php over the command line. This should give you more information about the error that causes the problem.
php index.php

how can I setup LD_LIBRARY_PATH for apache daemon? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have multiple versions of gcc 4.1.2 and 4.9.1 installed as g++4.9.
The old version had really old libstdc++ and was always failing with requiring libgcc errors. I fixed that by adding
export LD_LIBARY_PATH=/home/naveen/gcc4.9/lib: /home/naveen/gcc4.9/lib64 to all users. I even set this in /etc/bashrc and did . /etc/bashrc as root.
Now I am running a c++ code using php but the code always fails with the same libgcc errors i was seeing from console. I can see that the apache is being controlled by user daemon.
How can I fix this so that apache and php use the modified ld_library_paths?
Edit the scripts that actually start httpd and export the variables there.

Categories