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

learn more… | top users | synonyms

0
votes
0answers
144 views

OpenSSL 0.9.8zg

A week ago, as part of the installation a PHP 5.4 cartridge from openshift.com on my Mac with OS X v10.10.5 in the Terminal I noticed a message about it is loading OpenSSL 0.9.8?? for compatibilty ...
0
votes
1answer
26 views

Know installation source of PHP

I'm finding myself in an awkward situation. I need to install PHP and Nginx for development but I do not want to mess up my Mac with multiple installations. I have found that PHP and PHP-fpm are ...
0
votes
0answers
32 views

Problems configuring Apache and PHP

When I am entering http://localhost, it is showing the it works message. But when I am trying to open the phpinfo page by safari(http://localhost/phpinfo.php) it is showing the error,"Safari can't ...
0
votes
1answer
14 views

How can I hook up a PHP server?

I have a php page I want to test on a server. Is there a server that runs through Terminal.app that supports PHP? I read this tutorial, but either I did it wrong or it didn't work. How can I start up ...
0
votes
0answers
28 views

php56 macports el capitan

I successfully installed a MAMP stack using Macport on OX El Capitan. Now I run into a situation where mysql is not correctly used in a command line script. I suspect that the built in php is used ...
1
vote
1answer
21 views

Port 9000 apache returns access forbidden

I am using native PHP and native Apache. PHP version is 5.5. userdir module in Apache is enabled, and I have my PHP codes under ~/Sites. Localhost URL is localhost/~username. I have installed XDebug ...
0
votes
0answers
13 views

How can I import a text file of emails into Mail?

I have thousands of emails from the nineties that were exported as a text file that I'd like to import into Mail. I'm looking for a way to do that directly or indirectly. I'm assuming it will require ...
0
votes
2answers
33 views

MAMP PRO uninstalled but Terminal commands still exist. How to remove them as well?

Source: To "uninstall" MAMP, you only have to delete the MAMP directory and everything returns to the original state I uninstalled MAMP using the Uninstaller from Applications/MAMP PRO. I ...
0
votes
1answer
513 views

Installation failure - the mongodb driver for PHP on El Capitan

I tried to install the mongodb driver for PHP on El Capitan. While running sudo pecl install mongo, I get the error message: sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo fatal error: ...
0
votes
0answers
55 views

Phalconphp doesn't appear in phpinfo() installation succeed

I have problem in Phalconphp installation. I have followed the OS X install instructions but the phalcon doesn't appear in phpinfo() which mean I doesn't installed. My OS X version is OS X 10.11, El ...
2
votes
1answer
105 views

How to update internal PHP

How do I update the internal PHP on OS X 10.7.1? I've loaded a current version but since I don't have a simple plan how to update it, I won't do it. I guess it's just easy replacing of files in ...
1
vote
0answers
117 views

Problem loading php56 instead of php5 under MacPorts

I am running MacOS X Mavericks, where I manually created a MAMP stack by installing mysql5-server, php5, etc., under MacPorts. I was recently forced to upgrade this configuration to mysql56-server ...
0
votes
1answer
22 views

Podcast sounds to iTunes [closed]

I need to upload our sounds to iTunes using rss feed.Created rss feed,i don't know how can work this with iTunes. Thanks in advance.
0
votes
2answers
50 views

PHP loop through files in directory [closed]

I´m new at PHP and finding it difficult to understand the manual. I need to run this code : $snapchat->setStory($imagePath) for every file present in a certain directory. After code has run the ...
0
votes
1answer
250 views

Uninstall PHP on Mac Mountain Lion

I have installed PHP 5.4.40 on my Mac OS Mountain Lion, but need >=5.5.9 (for laravel/lumen-framework v5.1.0 installation), so i run installation with package installer, iMac-Dmitry:Projects dmitry$ ...
0
votes
1answer
33 views

Mavericks PHP versions issue

I just ran the command below to update PHP on my system (twice, forgot I ran it before). curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5 Output Detected OS X Mavericks 10.9 All ok. Get ...
1
vote
1answer
845 views

Uninstall/ disable php 5.6.9 osx Yosemite

I´m running osx yosemite with homebrew, apache, php5.6.9 and have installed php 5.3. I need php 5.3 to run a certain api which known to have complications with ph5.6.9. But how can I disable php 5.6.9 ...
0
votes
1answer
299 views

403 forbidden on Apache vHost

I'm using Mac OS X 10.6.8 and I'm trying to configure a vHost. I configured it and it gave me a 403 Forbidden, and I'm having trouble giving _www permission to read/write in ~/Document/workspace/dev ...
0
votes
0answers
301 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
3answers
223 views

Install php on Mac Yosemite

I am trying to run Laravel but I was getting a mcrypt error. I found more than one php on my mac so I decided to delete both and reinstall. However I can not seem to find instructions on how to ...
0
votes
1answer
334 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
123 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
1answer
163 views

Joomla not working on Localhost:8000

I was migrating a Joomla site to a new server. Before uploading to the new server, I wished to test it on my localhost php server. I have done this with Wordpress sites and other PHP/MySQL things with ...
2
votes
0answers
118 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 ...
1
vote
2answers
181 views

PHP on OSX 10.10

How do I install/allow php to run on Yosemite? I've read a lot about doing stuff through terminal, but none of the 'tutorials' are thorough, they just tell me to do 'sudo....' I've tried it, and ...
0
votes
0answers
85 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
1answer
206 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 ...
2
votes
1answer
1k views

Can't access apache-powered website at localhost

I was trying to enable php, mysql, apache on my macbook pro running yosemite. I followed this guide but it doesn't run. What's wrong in setting up a local web server on OS X Please help.....I get an ...
0
votes
1answer
118 views

Admin vs firstname and lastname

I've been using OS X since Lion. I'm a sole user of my Mac. When I log into the Mac, I log in as Admin. Also, in System Preferences, under Users & Groups, the Current User is listed as Admin. ...
0
votes
1answer
302 views

phpinfo() displays Wrong version openssl in OS X

I upgraded openssl from version 0.9.8zc to OpenSSL 1.0.2 version. I used this web page How to upgrade OpenSSL in OS X? to do this. The next step I upgraded php to 5.6 version from this web page ...
1
vote
1answer
163 views

Linking homebrew, php, mcrypt, and localhost:8000

I currently using php -S localhost:8000 for my php testing server on OS X. I am trying to use OpenCart which requires mcrypt and OS X does not come with that. I installed Homebrew, php 5.6.5, and ...
0
votes
1answer
3k views

PHP version shown in command line differs from phpinfo(); in localhost:8000

I started my OS X PHP test server by typing php -S localhost:8000 I updated my PHP on OS X to 5.6 and when I check the version through the command line by typing: php -v It tells me that I have ...
0
votes
1answer
114 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 ...
1
vote
1answer
166 views

Set sublime text to read .asp files as .php files (with php syntax)

I have a few .asp files that I want to edit with Sublime Text, however, I always have to change the syntax to PHP under View -> Syntax -> PHP. Is there anyway that I can make Sublime Text ...
0
votes
3answers
104 views

Enabling Apache

I cannot find the web sharing option in the system preferences under "Sharing"(where the web sharing is supposed to be). I am using Mac Os x 10.9.4
1
vote
0answers
303 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 ...
4
votes
4answers
5k views

phpMyAdmin 403 Forbidden Error after upgrade to Yosemite

I upgraded my Mac to Mac OS X Yosemite. I had a AMP stack installed via Homebrew on Mavericks and it worked fine. After upgrading to Yosemite, I have the following problems: when trying to load ...
0
votes
1answer
722 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 ...
1
vote
1answer
492 views

Can't compile PHP 5.6.1 from source

I'm trying to compile PHP 5.6.1 on my MacBook Pro but I can't seem to get pass all the problems. I get stuck with the error message at make: clang: error: linker command failed with exit code 1 (use ...
0
votes
1answer
429 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 ...
1
vote
1answer
1k views

Terminal “LoadModule” - command not found

I installed via homebrew the new php56 version. To activate it and use it I typed this in the Terminal: LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so But it says: ...
0
votes
1answer
487 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
2k views

XAMPP on Mavericks install APC and Memcached

What I already did: Download latest stable release from pecl.php.net with wget- Unpack archive Run phpize, ./configure, make, make install, etc.. That stuff went well, now I have: ...
1
vote
0answers
46 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 ...
2
votes
2answers
2k 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
370 views

Do i need the 32 bit or 64 bit version of Mysql for use with php 5.5

First time Mac user, I am just about to download MySQL for Mac, which version do I need for use with PHP 5.5? Apologies if this is a really simple question. Thanks
0
votes
1answer
28 views

Can't download over MacPorts

So I'm trying to install the PDO drivers for PHP via Macports. I am using install php5-mysql, but when I hit enter I get usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] ...
0
votes
2answers
246 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 ...
1
vote
1answer
471 views

OS X PHP — dyld: Library not loaded: /usr/lib/libpq.5.dylib

What is the problem with my Mac's default PHP? Whenever I do php -version, it shows the following file missing information. How can I fix this problem?
1
vote
1answer
897 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 ...