installing php mysql installation on windows 7 with iis [closed] - php

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
im installing WordPress on my local host for development purpose.
i have installed php and verified it is working using
phpinfo();
I have also installed MySQL on my machine.
I have unmarked MySQL.dll
Unmarked MySQL.dll extension on my PHP.INI file and restarted IIS.
now once i go to the WordPress installation address im getting :
HTTP Error 500.0 - Internal Server Error
is there another settings im forgetting to deal with ?

Just get IIS Express with Web Platform Installer. You'll find PHP in the list there and URL Rewrite, PHP WinCache and more utilities. IIS Express is better for local dev than IIS as it's lighter on the permissions that it needs.
Read here IIS Express vs Default IIS that comes with Windows 7 ... you might have issues this your permissions and that's a major PITA to handle. I always eventually set IIS up properly but can never actually tell what I did :) on the permissions side.
Apache on Windows is not as fast as IIS. But if your hosting is Linux, you might want to use it to get acquainted to .htaccess Rewrites and overall rules too.

Related

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.

Can't install joomla 3.4 (blank page) [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've tried installing Joomla 3.4 on to my server(upload .zip and extract everything), but everytime I want to run it, it directs me to "installation/index.php" then the entire page is blank. On the console menu inspect element the error I got is :
"Failed to load resource: the server responded with a status of 500 (Internal Server Error)".
I really have no idea what's wrong, also tried changing the file/directory permission, didnt work.
Here is the direct link to my site www.bobaking.co.uk
Here are my server specs:
Apache Version 2.2.29
PHP Version 5.4.33
MySQL Version 5.5.42-cll
Architecture x86_64
Operating System linux
Any help would be greatly appreciated, thanks a lot!
Faced same problem yesterday and solved once enabled PDO module via Easyapache update.
Maybe try changing .htaccess file configuration.

How to configure Apache for PHP on Windows 7? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have installed Apache 2.0(httpd-2.0.64-win32-x86-no_ssl) and it works, then I have installed Php5.3 and it pointed to Apache configuration folder.
failed scenario:
1- create simple test.php, put in under C:\Apache\Apache2\htdocs
2- call "http://localhost:8080/test.php" --> "Bad Request..Your browser sent a request that this server could not understand."
Proposed solution by NetBeans blog (failed)
1-add those two lines to httpd.conf
AddType Application/x-httpd-php .php
LoadModule php5_module "c:/php/sapi/php5apache2_2.dll"
It doesnt works because there is no "php5apache2_2.dll" under my Php installation folder??
I have such .dll : php5ts.dll, ssleay32.dll,..
Any one have any suggestion in order to run the PHP script successfully?
It would probably be easiest to just download WAMP or a similar all-in-one web server, especially since your environment is most likely not a production environment.
Just download php5apache2_4.dll-php-5.3-win32.zip from http://www.apachelounge.com/download/
Here is a guide how to configure your apache to work with PHP 5.4
I know this is not what you asked for but why to use WAMP? First of all it's not a good idea to integrate you desktop with DEV environment (it gets messy quickly). Windows is not a natural environment for web application.
Get yourself a VMWare player (it's free) and install Ubuntu Server on it. Now you can work from Windows on your Linux server. You can also get your VMWare environment home if required.

Magento is not working in wamp server 5.4 , 32bit - Shows Internal Server Error [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I Tried to Install magento in WAMP server 5.4 , 32 bit
But every time it just shows 500 internal server error
I traced code some code and found error of
Deprecated: Function get_magic_quotes_gpc() is deprecated in C:\wamp\www\magento\app\code\core\Mage\Core\functions.php on line 32
Magento works perfectly on 5.3 version on wamp server with 32 bit
But how to fix this problem with wamp 5.4
I think the deprecation message is not the problem. But perhaps its better when you reconfigure your php.ini and disable it.
error_reporting(E_ALL & ~E_DEPRECATED|E_NOTICE)
You should disable the notices only to test.
I run Magento with EasyPHP and PHP 5.4.8 and have no problems. I had some problems with WAMP because the PHP Versions had some bugs and espacially some extensions were very buggy i don't know why. So i changed to EasyPHP which uses WAMP and its working well.
Perhaps you should download a frech version of Magento and test it with your Webserver.
But at the end your problem could have many solution. Its possible that you have a wrong line ending in a file or your .htaccess has a syntax error and your webserver give the message. The Internal Server errors are very hard to solve.

PHP windows 64bit [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We have a PHP application installed for a client on his windows server, using Apache and Mysql. Now the client wants to upgrade his server and is asking
"Does the application, apache web server, and mysql support Windows 64 bit?"
Now, I see there is a mysql version for windows 64bit, but I can't find anything official for Apache and PHP, but only binaries from 3rd-party sites.
Does anyone know if there is an official Apache and PHP release for windows 64bit (or a trustworthy 3rd-party at least)? For Apache I could use IIS so it's not really a problem, so it's mainly PHP I'm interested in.
Alternatively, will there be a problem if I run the standard latest binaries that are offered from the PHP site?
As always, thanks in advance
You can get a WAMP stack on 64bit windows system. However there' might be some problems with some dll extensions for example CURL as described in this article.
I'm using Windows 7 64Bit and use the XAMPP for 32 Bit.
So you can just install Apache, PHP and MySQL for 32Bit systems on a 64Bit machine.

Categories