I decided to upgrade my easyphp server, and after installing found that I can't run php from console anymore, for some reason when tried to install pear, I get an error box. The program can't start because php5.dll is missing from your computer. Try reinstalling the program to fix this problem.
Try uninstalling easyphp completely and delete all remaning files after uninstalling, sometimes they don't get deleted all, so you have to do it manually, then reinstall it and see if that works
Related
MacOS 12.1 After successfully installing php 8.1 with homebrew (along with apache/mySQL and phpmyadmin) I am trying unsuccessfully to install/link php 7.4. After following instructions to install, unlink, link, php -v returns 7.4 but phpinfo() shows 8.1. What am I doing wrong?
Strange enough, using a full name such as "shivammathur/php/php#8.1" for the link command is what worked for me.
Eg:
brew link --overwrite --force shivammathur/php/php#7.4
Also, don't forget to close your terminal completely and reopen it before checking the version with php -v.
It looks as if I never successfully killed the included MacOS Apache. I uninstalled home-brew and the server was still running (with PHP8.1!). Not sure what went wrong.
Ok guys, I've been trying to do this for 3 days. I downloaded php5 and tried unsuscessfully to install pear, it installed but would just give me a return on the cli when i tried to install a package.
So I deleted the php5 folder and all the enviornemnt variables.
I put in a php7 folder and tried downloading the go-pear.phar file using curl, and updated the enviornment variables. Now when I run the "php go-pear.phar" command it gets stuck in an infinite loop and I have to press cntrl-c to exit. it says ERROR where you should press enter.
I don't know if the previous version of php is throwing off the install, is there anything besides the enviornment variables? A bin directory?? Should I just get a mac and blow this laptop?
The answer was to do a manual install. If anyone does this and gets an error that the pear install dir is wrong, just search the bat file for "pear" and you'll see where they added it to the %prefix%
https://nikic.github.io/2011/12/03/Manually-installing-PEAR-on-Windows.html
that was a bitch!
I am having a problem in installing Composer. Would you help me solve this?
Here is my scenario:
Before, I am using Composer. I can install packages in my project with no problems. My life was easy. But all of a sudden, something went wrong and I don't what it is. I do not change any configuration in my computer. If I do composer update, there is an error.
something like:
zlib_decode() data error.
I cannot post the screenshot of the error because I already uninstalled Composer hoping that If I reinstall it the problem would be solved.
So I have uninstalled composer, and tried to reinstall it. But now I cannot install Composer using both the windows cmd, and the composer-setup.exe. In the windows cmd, It says, "Installer is corrupted", In the composer-setup.exe the message is : (Failed to decode zlib stream)
Here is what I have tried so far:
I have disabled ESET antivirus. and IPV6 (composer.org degraded mode)
I have disable the firewall.
I have uninstalled composer. but now I cannot install it again.
Here are the other details hope it would help:
I am using Windows 10 64bit
I am using CodeIgniter
I am using XAMPP for Windows
I am running PHP 7.1
I don't know if it is relevant but we have a company domain. and maybe firewall
If there is anything you need to know I will provide it. Hope you can help me with this. Hope I explained my self well. Thanks!
Here is the screenshot:
Screenshot when installed using windows cmd
I am trying to develop my own website on a ubuntu 16.04 machine with php7.
I have got everything working including php7, apache2, mysql but when I got to the installation of phpmyadmin, I hit a roadbump and was doing alot of googling and tried tons of suggestions I found but I still failed to get the installation complete.
After I did apt-get install phpmyadmin, the package got installed but when I went to 127.0.0.1/phpmyadmin/ I only see the source code.
I made sure I had all the extensions I needed and I also made sure php is running correctly on apache by doing a classic php.info()
P.S. I am installing from scratch and not doing and upgrade from an old system.
Many thanks!
source code for phpmyadmin
I've been running PHP 5.4 with xdebug on my Mac via Homebrew for a while, and yesterday I tried to upgrade to 5.6 with xdebug using the php56 and php56-xdebug formulas. I was able to get php56 working fine, but as soon as I install the php56-xdebug formula, Apache won't load, and I get a segmentation fault. If I remove php56-xdebug, everything works fine again. My php error log was showing that xdebug.so was trying to load twice, but I uninstalled everything php 5.4 (php54, php54-xdebug, etc.), so that went away. But for some reason, I can't get rid of my "Segmentation fault (11)" error message. I've triple checked my apache config settings and my xdebug.ini, and they are correct, as they always have been. I'm also not getting any errors in my PHP error log.
I've tried uninstalling php 5.6 itself, as well as the xdebug formula, all to no avail. Short of re-installing my OS, what do I need to do to get xdebug working?
Thanks.
Update: Per this issue, I installed php56-xdebug using --build-from-source, but the result is the same.
It looks like the problem was issues in the 2.3.x branch of xdebug. I ended up manually compiling xdebug 2.2.7 and got it to work that way.