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've recently switched to my own cloudserver and not 100% sure what's the optimal settings to run mostly Wordpress sites would be. OS I'm running is CloudLinux 6.1 x64
A few things I'm not sure about:
Run PHP as: PHP as an Apache Module or PHP as CGI
And also if I should choose to activate "SSI".
The last thing I'm not so sure about is under PHP configurations, should I select to active "register_globals".
Any help would be greatly appreciated.
If you are using Apache, running PHP as an Apache module has performance benefit over running PHP as CGI.
SSI is server-side includes, and is likely referring to the feature of Apache. You do not need to enable this.
Regarding register_globals, absolutely do not enable this. It is a security flaw required for backwards compatibility of some ancient (10+ year old) PHP scripts. If this is even an option for you, your version of PHP is out of date and shouldn't be used. register_globals was removed in PHP 5.4. http://www.php.net/manual/en/security.globals.php
Fairly standard would be - run as Apache module, do not activate register_globals unless you know what you're doing and know why you need it, SSI is optional as well.
Related
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 recently registered to iPage web hosting, they are providing PHP Version 5.3.13 but Laravel 4.2 required PHP Version >= 5.4
Please guide me, how can I upgrade iPage php version or how can I configure laravel 4.2 to run?
You can't. Shared hosts like iPage (shared meaning they're based on traditional unix multiuser systems) do not allow end users to upgrade the version of PHP running on a server -- doing so would be chaos, as all users share the same PHP binaries.
Some shared hosts install multiple versions of PHP on their servers and provide a mechanism that allows users to switch between versions. It looks like iPage might offer this feature, although it's unclear if PHP 5.4 will be an option.
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
I am attempting to update from phpmyadmin 3.3.7deb7 to the latest or closest possible to 4.0.4.1. I dislike the look of 3.3.7 and would really like to update. But not knowing how to do much in a Linux environment, I've looked on Google and other search engines. But nothing is simple enough to follow for a "noob".
Any help is greatly appreciated ;D
I am on VPS which uses debian-6.0-x86 64-cvps-base
Unfortunately, for your version of Debian the packaged version is the 3.x branch of phpMyAdmin, so relying on the packaged version isn't going to work for you.
There are theoretically ways to force installing a package from another version in to yours, but I would not advise that (unless you're quite careful you can end up with a mess of dependencies).
What I'd suggest is simply to remove the Debian packaged version and install your own. You can download it from https://phpmyadmin.net, and installation takes only a few minutes and minimal configuration. You can learn a lot about the process from the phpMyAdmin documentation.
Good luck!
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
I've installed XAMPP Windows 1.8.2 and after installing and turning on Apache & MySQL, I can't load my PMA webpage: http://localhost/phpmyadmin/ . It still loading, but nothing happens. I really don't know, what I am doing wrong. Also I can't use any PHP application, which is trying to use MySQL connection (like Symfony2). If I turn off MySQL in XAMPP Control Panel and trying to reload this URL, same problem.
Thanks for any help.
From this point, I would recommend for you to use 1.5.1 version of Xammp right away. Long story why (shortly, this is a Windows matter and with this answer its irrelevant).
So....
Uninstal that version
find 1.5.1
Install
However, when you install 1.5.x you might have problems with PMA when larger tables are loaded. This sorts things out
Find PMA version 2.11.11.3 package (this baby is really stable)
Unpack
c/p all files from pack to your xampp/PMA folder and overwrite everything :P
And thats it.
You may, later on, upgrade PHP to ie 5.3.0 and there is a trick how to do that painless somewhere on www (google ekhm) but cant remember where exactly. Enjoy.
ps: If you dont like this answer, youre probably on XP and you need something like vcredist_x86.exe but problems wont stop there ;)
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
i installed the following s/w versions
php5.3.0
mysql5.0
now what is minimum requirement of apache server... anybody give right version to suggest me
thanks
Kumar
The best version is always the latest version.
This because with every updated version a lot of bugs and security problems are fixed.
Using an outdated version of software is never a good idea.
But then, sometimes you come accross poorly written software, or software written 10 years ago that still needs that old buggy software to run on. My advice: don't connect it to the internet.
Do you have to connect it to the itnernet? Look for another job ;)
As DCoder mentioned in the comment. ALWAYS test before deploying an update.
Minimum version of Apache server: 1.3.x (Windows, Unix)
Recommended version of Apache server: 2.x (Windows, Unix)
"We strongly recommend that users of all
earlier versions, including 1.3 family release, upgrade to to the
current 2.2 version as soon as possible." (source)
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
Most results I get on Google is how to get both versions running simultaneously on the same page but at different URLS but that's not what I want, I'd like for example to get http:\localhost to run PHP4 and PHP5 at the same time on the same page because I got a website that has old code from PHP4 that breaks up when loaded only in PHP5, and it has some parts made only in PHP5, so I would like to run both PHP versions at the same spot.
I'm on Windows XP running Apache, I wouldn't mind switching to IIS 2007 if it's required. I really need to do this I'm already aware of the security risk.
I know it's a repost but I got downvoted to oblivion because some of you don't want me to do this but I know I need to do this.
Update: the issue is that I have a site running locally that connects to a database I was told some of the code was in PHP4 and some in PHP5 and that both versions were required, I was assigned to fix this by running both versions, it's not a website that's connected to the internet so I figured no issues would happen.
Nopez. Not possible.
I think you have two options:
'embed' the other php version (iframe / ajax)
'patch' the old project to PHP5
I had to the second option a couple of times and it is do-able (all depending on the size and the code used of the project of course).