A server-side scripting language used to build dynamic web pages.

learn more… | top users | synonyms

2
votes
2answers
2k 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. ...
2
votes
1answer
408 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
354 views

How to install memcache on Mavericks? (MAMP)

I have MAMP on my machine, and I would like to install memcache for php, because one of my project throws errors like Fatal error: Class 'Memcache' not found. I installed X-Code from appstore, and ...
0
votes
1answer
8 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??
0
votes
1answer
63 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 ...
2
votes
0answers
34 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
157 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
82 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
10 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
19 views

Bitnami multiple installations

I'm running a copy of Bitnami Prestashop locally on my Mac for development purposes, I need to also install a copy of Bitnami Wordpress but I'd prefer to avoid having to setup two separate Bitnami ...
0
votes
0answers
14 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
90 views

Mavericks XAMPP install PHP GD2 extension

I am using XAMPP for my PHP development on Mavericks. I am using PHPExcel for excel manipulations. The problem is PHPExcel requires PHP GD2 extension. Please guide me how to install this extension ...
0
votes
0answers
54 views

php tmpfile() - Could not create temporary files

I'm using a local PHP server, and when I try to create a temporary file, I get this message: $temp_file = tmpfile(); Could not create temporary files for attachments. Your tmp directory may be ...
0
votes
0answers
41 views

Homebrew php-fpm caused some crash logs on Console.app

I recently opened up Console.app application and saw there're a bunch of crash logs by PHP-FPM, which was installed with PHP from homebrew-php. The log files have something like in this paste: ...
0
votes
0answers
99 views

install mysql for php 5.5 after install php with php-fpm and without mysql at first

I've installed nginx, php-fpm with brew via this command brew install --without-apache --with-fpm --without-mysql php55 now I need to adding MySql driver/adapter so my PHP code could connect to my ...
0
votes
0answers
85 views

How to tell PHP-FPM to use PHP 5.4?

I am trying to update to PHP 5.4 using https://github.com/josegonzalez/homebrew-php. However, I cannot find any PHP-related .plist files anywhere in /usr/local for updating FPM to use PHP 5.4 as ...
0
votes
0answers
98 views

Web development on PowerPC

I'm interested in LAMP stack and Nodejs stack for PowerPC (iMac g5). Do they exist for Mac OS X 10.5.6 PPC?
0
votes
0answers
153 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
360 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
106 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 ...