How to configure PHP engine with Apache 2.2.x? [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 11 years ago.
Improve this question
i have installed Apache 2.2.x but when i turned to instal PHP V5.2.17 i didn't find the apache 2.2.x radio button in the web server setup step !! only the fast CGI,other CGI and don't install a web server radio buttons is appearing, what i can do ??

I suspect you're talking about windows. Lining up a proper build of apache, php module, etc is a bit of a pain, so unless it's for production, I suggest using WampServer or XAMPP.
Otherwise, the PHP modules are here if you really want to roll your own. Remember to match the PHP and Apache runtimes and word-size (32 or 64 bit).

Related

php development under iis. is it good choice? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am classic asp developer, now shifting to PHP, MySQL development. I am using windows OS for my development. I don't want shift on Linux ( this is personal choice , I don't want to get in debate of windows vs Linux ) .
I tried to install php and other stuff on IIS , I am slowly turning towards frameworks like Laravel.
So, is it good to use php under IIS than apache , what difference will it make if I dont use apache ..
EDIT
i just want know, will some feature will disabled under iis, and what will be difference for execution of php script under iis ,
There is no reason to use IIS with PHP. Apache is much easier to set up and much closer to any shared hosting environment you are likely to run your code on. I used to use IIS for my dev and it always drove me crazy.
I installed Apache on windows and I've never looked back.

phpredis + pconnect [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 am using phpredis on my php based website. The webserver I am using is a the simplest apache apt-get installation, no configuration involved, as this is only a development environment.
The issue I am facing is that basically, while using phpredis, there is no difference between "connect" and "pconnect" commands: they both create a new connection everytime, as I can see from the "info" command on redis-cli.
Now, I am pretty sure it is because of the apache configuration and the fact that it probably (most likely) is a multi-threaded env, therefore can't enstablish a single connection.
My question is basically for when I will turn into production: what would the best choice of a webserver be to avoid this problem? I remember using lighttpd with thousands of users and still get only a very few (like 2 or 3) connections on mongoDB.
Any ideas?
Thanks in advance.

PHP_APC extension causes error in WAMP server [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 Windows 2003 Webserver with Apache 2.2.23 and php 5.3.18 VC9 ts on the boart. When I add php_apc 3.1.9 extension, it works over an hour and shuts down Apache. I can only restart apache with stop and start buttons on Apache Monitor, because restart button popups error message and fails Apache. New beta versions of apc don't work, neither does older. Maybe new version of php conflicts with apc? I have no other idea.
Most often reason to happen such error is if you have PHP Thread safe and you trying to set not tread safe extension or opposite...
Get both thread safe and non thread safe apc extensions and try to run your apache with each of them..

Apache server - how to and where [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 11 years ago.
Improve this question
I am learning PHP and need to download the Apache server. I have a 64 bit pc, where can i download it, also using Windows Vista and also which one is recommended.
Sorry Instructor said not to use XAMP - forgot to mention
http://httpd.apache.org/download.cgi
Two alternatives:
http://www.wampserver.com/en/download.php
http://www.apachefriends.org/es/xampp.html
Many recommend xampp over wamp.
Download Xampp.
It is made exactly for your situation.
Includes php mysql apache and a ton of other stuff.
I recommend going with
http://www.easyphp.org/
or
http://www.apachefriends.org/en/xampp-windows.html
no 64bit, only 32bit with ssl.

Php 5.3 or 6 windows install [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
How do I install latest versions of PHP as Apache 2 module?
PHPIniDir directive throws error.
And what's more important, there's no php5apache2.dll file or similar in latest distributions of PHP!
Example distr php 5.3
According to the PHP QA site, if you are using PHP with Apache 1 or Apache2 then you need to be using the VC6 release candidates, not the VC9. VC9 is for use with IIS.
Since the link you provided in your question goes to a VC9 download, I would assume that's what you downloaded, and I'd say you should go download the VC6 version instead.

Categories