My apologies if this answer already exists on here but I have not been able to find it.
I am trying to install an sqlite3 driver (verion 3.7.6.3) for php 5.2.14 on a Linux machine. Unfortunately this machine does not and cannot have internet access. I only have internet access on a fairly shutdown Windows machine (e.g. I can't use cmd) and I have the ability to transfer files to the Linux machine. Everything I have found so far has suggested running apt-get install php5-sqlite or another package manager from the Linux machine which obviously will not work with my present setup. The Linux machine also does not have a C compiler so I cannot compile the plug-in from source either.
I was wondering if anyone knew a way to manually download the correct package and install it or a reason why it cannot be done. rpm does exist on the Linux machine but I have not been able to download the correct .rpm package through the browser either.
The output of uname -a on the Linux machine is Linux version 3.0.76-0.11-default if that helps
Related
I just installed the Windows 10 Technical Preview, and now I'm trying to install Wamp in order to install Composer on my machine. Yet when I go to use the PHP.exe file from Wamp for Composer, I get the following error:
The PHP exe file you specified did not execute correctly: C:\wamp\bin\php\php5.5.12\php.exe
I've checked the OpenSSL and it's enabled in all three files for Wamp. I've tried installing the 32-bit and 64-bit versions of Wamp, but neither work.
When I try to run PHP from command line, it tells me that the php.exe file is missing from my computer.
Has anyone else run into this problem? If so, have you found a solution for it?
Please and thank you.
I have just installed the Windows 10 Tech Preview myself. I see that it does not come with the Microsoft Visual C/C++ runtimes installed by default.
If you did not install the MSVC 2012, 2010 and 2008 runtimes, then I suggest you do that.
Having those runtimes installed and by entering
C:\wamp\bin\php\php5.5.12\php.exe -v
The PHP CLI runs.
If you are still using the 64bit WAMPServer please remember that you need to install the 32bit AND 64bit MSVC runtimes. The wampmanager.exe program is still a 32bit App regardless and therefore needs the 32bit MSVC runtimes. I think it actually only need the MSVC 2008, but it is safer to install all 3 version for both 32 and 64 bit.
I tried to install Phabricator on windows 8 with WAMP Apache Server.
As per the below link I installed Arcanist and confirmed with the comment
arc -v
https://secure.phabricator.com/book/phabricator/article/arcanist_windows/
Next I try to access the Phabricator page on my localhost, I can see only the .sh for Linux, Nothing for windows. Please guide me if you installed successfully on windows.
http://localhost/phabricator/scripts/install/
Use below steps to setup phabricator/arc cli on windows box.
Download & Install Git Bash.
It needs PHP, if you don't have PHP installed on machine then you use XAMP or WAMP. Find the installation directory for PHP and set system path for that.
Open command prompt and test the php installation by writing php command. If it does not show any error then you can skip step-4.
In case of MSVCR100.dll missing error. download the exe file from here: http://www.microsoft.com/en-in/download/details.aspx?id=30679 and install it.Once again test php installation.
Use Git Bash to do following:
Clone below repos somewhere:
git clone https://github.com/phacility/libphutil.git
git clone https://github.com/phacility/arcanist.git
Again update system path similar to step 3 and add there : <path>\arcanist\bin
Test arc help command in Git Bash.
Install Phabricator server certificate using arc install-certificate command.
Add an editor by following https://secure.phabricator.com/book/phabricator/article/arcanist_windows/
You cannot install Phabricator on Windows. However, you can install it on a Virtual Box such as Oracle VM VirtualBox which is free. Once you have VirtualBox, you need to create a Virtual Ubuntu there. After installing Ubuntu on VirtualBox you can install Phabricator there, on Ubuntu, by following the instructions.
If you need more help with details and whatnot, I will gladly help you.
The Phabricator server does not support Windows. See the Install Guide:
To install the Phabricator server software, you will need an operating system ... which is not Windows. ... [T]he server software does not run on Windows. It does run on most other operating systems, so choose one of these instead:
I'm new in symfony2, I have an instance when I'm trying to installing vendors in windows using the below command.
php app/console bin/vendors install
after this command I got the below errors
In mac and linux this command works but in windows it is not working properly. In windows After this command it deletes some of the folder in vendor .
Does anybody knows about this why it happens in windows?
I helped a poor (actually he uses windows seven like you, so he must be kind of rich) friend of mine the other day with the very same issue. Just install git-bash and you'll be fine. Plus, git-bash will provide you with a waaaaaaay better cli than what you have for the moment.
You can install it from here. Make sure you check the git-bash option.
I currently use XAMPP on Windows 7 for my dev server which is a LAMP stack.
I recently installed cygwin and have been messing around with it. I am just curious, with cygwin since it is like unix/linux does that mean that you can install apache and php just as if you were installing it on a Linux server? I know you can install them on cygwin as I saw them in a package list but I'm not sure if this is the same as if I was installing it on a real production linux server?
From what I read cygwin mimics unix/linux on windows.
The old question (and old answers) are still functional these days. However, I thought it'd be worth to add that, right now (June 2017), this became much simpler under Cygwin. Don't know if it has to do with Apache or PHP 7 changing something, but anyway I didn't have to follow lots of tutorials for my initial configuration.
Now it's really just a matter of running Cygwin setup, and selecting packages httpd, php, httpd-mod_php7, php-mysqli and mysql-server (in fact, some additional dependent packages will also be selected by Cygwin - and it will ask you for your confirmation, as you might already know).
When you next go to Cygwin console, you just need to apachectl start, and there it is readily available on port 80. If you need it as an all-time available server, configuring server is still the same with cygserver-config.
No apt-cyg needed, or importing packages from Cygwin Ports - although it's also great and still works beautifully. It just became a bit simpler.
Install cygwin
with the following packages:
gawk, (default install)
tar, (default install)
bzip2, (default install)
wget,
subversion,
mail,
sSMTP,
util-linux,
ncurses,
openSSH,
cygrunsrv,
apache2
and MySQL
apt-cyg
Install php
install PHP using:
apt-cyg -m ftp://ftp.cygwinports.org/pub/cygwinports/ install php
and also
apache2-mod_php5
php-mysql
php-mysqli
php-PEAR
Configuring Servers
/usr/bin/cygserver-config
It highly depends on your production needs, but after all cygwin is just an emulation-layer and nothing more. It does an incredible job but its hard for me to believe its hardly as reliable as a Unix box.
You can read more about it in this slashdot thread:
http://ask.slashdot.org/story/04/08/12/1932246/cygwin-in-a-production-environment
Shai.
I am trying to get APC up & running but there are to many versions out there - and to many open questions. My configuration is as follows:
PHP 5.2.17 windows installer
Server 2003
IIS
I also seen some topics that the cant be uninstalled?
Questions,
What file should i download from http://downloads.php.net/pierre/ ?
Is it possible to get APC to work with this config?
Regards, Joakim
I believe you can install APC with pecl, which should come with PHP.
So find the pecl executable and run from command: pecl install apc.
Then make sure it places the .so in the right directory.
Note that I'm a linux user, not sure if this works exactly the same way on Windows.
Edit:
First result on google: http://www.iis-aid.com/articles/how_to_guides/install_and_configure_apc_on_iis