PHP is a server-side scripting language used to build dynamic web pages.

learn more… | top users | synonyms

2
votes
2answers
3k views

How can I upgrade my PHP 5.3.1 to 5.3.2 on XAMPP Mac OS X?

I've just installed XAMPP on Mac OS X Snow Leopard, and everything is running correctly and setup completely well. However, I want to install an open source project that requires PHP 5.3.2 or higher. ...
0
votes
2answers
155 views

Can't start PHP localhost

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
2
votes
1answer
557 views

How to make ffmpeg use correct libfreetype version?

I have a PHP application that uses ffmpeg with libfreetype. I installed both ffmpeg and libfreetype from macports. But I keep getting this error: 2013-08-30 14:44:21 - Generate poster - Create ...
1
vote
1answer
617 views

Uninstalling all instances of apache, php and mysql

So When I first got my mac mini, I installed things like apache, mysql and php - not knowing that apple either came with these or had a tool called mamp that would allow you to run these. I thought ...
0
votes
1answer
149 views

Error when installing Apache 2.4, PHP 5.5 and MySQL via Homebrew

I tried to install Apache and PHP on Mac OS X version 10.9.5 brew install httpd24 php55 --with-mysql --with-homebrew-apache --homebrew-apxs -v exit with this error ...
0
votes
1answer
621 views

OSX 10.9.5 upgrade causes apache/php downgrade

Today I installed the OSX 10.9.5 upgrade and it appears to have downgraded my Apache and PHP version. Is there an easy way to reverse this unwanted downgrade? Or do I have to reinstall apache via ...
0
votes
1answer
316 views

Update PHP in shell and install Mcrypt

I want to update to PHP 5.6 in shell (via Terminal) before I want to install the Mcrypt extension I followed this tutorial: http://justinhileman.info/article/reinstalling-php-on-mac-os-x/ But ...
0
votes
1answer
358 views

PHP not locating mcrypt while using MAMP

I'm using MAMP on a MAC. And in the php info page on MAMP, it says that mcrypt is enabled. However, when I run "php -m" on the terminal, I can't find mcrypt between the php modules. Any advice??
2
votes
0answers
63 views

Installing a different version of Apache and PHP

I have OS X Yosemite, it comes with default Apache 2 and PHP versions. I want to set up a development environment with older version of Apache (2.2) and PHP (5.3). I have a product set up running on ...
2
votes
0answers
40 views

How can I shut down an unlisted php-fpm?

I have two installations of php on my machine. One came with apache and is a 5.3 version, and I'm trying to use a 5.4 version with nginx. I'd like to work on project using nginx, but I can't figure ...
1
vote
0answers
196 views

Apache/PHP can't resolve localhost

After upgrading to Yosemite, I'm having an issue with Apache and PHP running locally. PHP can't find my local database server using localhost but it can if I specify 127.0.0.1 or test.dev (which ...
1
vote
0answers
36 views

Different file kinds for same kind(/type) of files

I am seeing this weird thing on Mac (OSX). I have a PHP project where the file kind of certain PHP is listed as PHP where as other listed as TextWrangler text document; although all PHP files are ...
1
vote
0answers
330 views

PHP exec() with Mac ports issue

I'm running PHP 5.3 from Mac Ports. I'm seeing some odd behavior with "exec()" that I can't track down. Calling commands that are installed in system-standard directories work, but calling commands ...
1
vote
0answers
95 views

Setting the config for PHP 5.3.15 and above

I have PHP 5.3.15 running on my Mac (OS 10.8.2). I have Apache running with virtual hosts. Also, I've installed FreeTDS for connecting to MSSQL. I still need to configure the /php/ext/mssql to run ...
0
votes
0answers
11 views

How to compile PHP with OpenSSL on OS X 10.9?

So I'm while trying to compile PHP 5.6.10 from the source faced the following problem: Undefined symbols for architecture x86_64: "_PKCS5_PBKDF2_HMAC", referenced from: _zif_openssl_pbkdf2 in ...
0
votes
0answers
117 views

Can't install php56-mcrypt with homebrew

I use Homebrew on my testing server on OS X. I have php56, autoconf, and mcrypt installed through homebrew. I was successful doing this on a different Mac but I am not having any luck this time. ...
0
votes
0answers
75 views

Local User Authentication for Postfix in Yosemite for php PEAR Mail

In summary up front: what I want is for php PEAR Mail_mime() to authenticate with postfix on my local computer, then for postfix to send all messages to a single address. I have a Yosemite (10.10.3) ...
0
votes
0answers
38 views

Laravel loading error in Mac Yosemite — Mcrypt Extenstion

When I tried to access my laravel after successfull updation, instead of the default page it shows an error in the webpage. Mcrypt PHP extension required. I have tried some fixes like this and ...
0
votes
0answers
54 views

Where phpstorm indexes located? And how to change location path?

I have small space on internal hdd. Therefore I use external hdd. My phpstorm projects are located there. If external hdd has been reconnected phpstorm project needs to be reindexed. It takes too ...
0
votes
0answers
150 views

Doesn't work php mail function on my mac

mail() function returns false and I don't get an email. Log error after mail() called: Aug 5 15:33:59 MacBook-Air-Anthony.local postfix/master[70836]: fatal: open lock file pid/master.pid: unable ...
0
votes
0answers
193 views

Why am I getting these errors when trying to install php 5.5.0?

So I am trying to upgrade the native php installation on my mac and i keep getting these errors: ld: library not found for -ljpeg clang: error: linker command failed with exit code 1 (use -v to see ...
0
votes
0answers
412 views

How do I switch which instance of php is used on my Mac?

I have three installed versions of php on my Mac. When I check using phpinfo() via a web browser, the one that is being invoked is version 5.3.15. I would like to switch it to the installed instance ...
0
votes
0answers
108 views

Getting PHP response om my Mac OS X 10.8

I've tried to install MAMP (also the "manual version of these things) but I haven't got any PHP enabled response from my web server yet.... Running MAMP and loading localhost/index.html returns "It ...