Has anyone had success installing phpsh on Windows?
I have Php 5.2 and Python 2.7 on my Windows 7 machine. When I try to run setup.py, I get a NameError: name '__init__' is not defined. I found someone had forked the project here, but I ran into the same error.
Any idea what I can do?
The only solution for phpsh on Windows is to run CoLinux. Then you have a full Linux and Windows running together without having to run a virtual machine. The only other choice is to run a virtual machine with Linux, but if you system is slow this would not be fun.
Related
I am currently working in PHP in my localhost. I have php version 5.5.9-1, apache2 version 2.4.7, and Mysql Ver 14.14 in my Ubuntu 14.04.
But how to check whether I am using LAMP or XAMPP?
I tried typing "lamp" and "xampp" in terminal. But it shows "command not found". Should I come to the conclusion that these things(apache, mysql and php) were installed seperately?
In my case I have installed XAMPP for Linux (LAMPP) in Ubuntu 18.10
How can you know it?
Try to go to /opt/lampp
If you can, it means Xampp for Linux it's installed, but if you want to know the version, in the same path of step 1, put in your command line ./xampp status
You will know XAMPP for Linux version and Apache, MySQL and ProFTPD status (running or not).
Know PHP version
cd /opt/lampp/bin
./php -v
Know MySQL (MariaDB) version
cd /opt/lampp/bin
./mysql --version
Know Apache version
cd /opt/lampp/bin
./apachectl -v
I hope helps somebody
./xampp status image
You have to understand this :
1) LAMP
For LAMP setup, you have to install PHP, Apache and Mysql packages separately. In LAMP you don't get anything to manage your server in GUI way.
For Ex: To start apache server you have to type command in terminal.
To start apache : sudo service apache2 start
For installing LAMP refer :
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
2) XAMPP
It is a complete package which comes bundled with PHP,Apache, Mysql etc in a single installation. It gives you a control panel from which you can manage your server and configuration files.It is something of this sort.
For XAMPP : https://www.apachefriends.org/download.html
If you don't find xampp control panel in your system, this means you have a LAMP setup. i.e : first option.
The lamp package installs apache, mysql and php separately.
In ubuntu you should have the apache installed on /etc/apache2
the mysql installed on /etc/mysql
and the php installed on /usr/share/php
If you are developing you can use PHP's built-in server.
Try:
xampp -v
If xampp is installed it will display the version else its not installed.
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
I am trying to install xampp on linux mint 32 bit OS. I downloaded xampp from here. And I got a xampp-linux-1.8.3-5-installer.run file. I tried to run that file but its showing me error. Can anyone help me to install xampp in my linux mint.
I am a noob in linux and I'm using it for the first time. I found some linux commands to install xampp. But it didn't help me well.
Without knowing the exact error, you will find a guide Here on how to install Apache, Mysql and PHP on Ubuntu which uses the same install commands as Linux Mint.
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.