PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

1
vote
0answers
82 views

ldap exchange 2003 code 49 - ERROR_PASSWORD_MUST_CHANGE

I am trying to write a function to allow a user to reset their password when they must change their password (code 49 - ERROR_PASSWORD_MUST_CHANGE). I ask for their username, current password, then ...
1
vote
0answers
610 views

Configuring XAMPP and “PHP Tools for Visual Studio”

I am using XAMPP and the "PHP Tools for Visual Studio" extension in order to code in PHP. I already configured XAMPP to use xDebug and mod_rewrite. The web site looks OK when I copy everything into ...
1
vote
0answers
112 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
1
vote
0answers
380 views

Installed new version of php but server still uses older version

I just upgraded to PHP 5.4.11 from 5.3.15 following this link. After upgrading I ran php -v but it shows me following output. Zafars-MacBook-Pro:php-5.4.11 zafar$ php -v PHP 5.3.15 with Suhosin-Patch ...
1
vote
0answers
90 views

Localhost slow on desktop, not on laptop

I am using XAMPP Lite on my desktop and laptop, which uses Apache for the web-server and also supports PHP. My locally hosted image gallery PHP program has its page elements (100s of thumbnails) ...
1
vote
0answers
721 views

EnterpriseDB ApachePHP - PHP not working

I realize there are a million 'php not working threads' on superuser, but none of them cover my situation, and none of the answers have solved my problem. I installed apache/php on windows 8 as part ...
1
vote
0answers
83 views

Libpdf_php complaining about non thread safe binaries

I installed libpdf_php on MAMP v2.0 and after restarting Apache I get following error: [11-Jan-2013 11:48:21 UTC] PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with ...
1
vote
0answers
242 views

I get a 403 when I go to http://localhost/~admin/

I'm running mac osx 10.8. when I go to localhost or 127.0.0.1/ my browser says: "It Works!". However when I go to localhost/~admin/ or 127.0.0.1/~admin/ my browser says: "Forbidden You don't ...
1
vote
0answers
550 views

Aptana issues with HTML and PHP code

I use Aptana Studio 3 and I have two questions: The index file of my website is a PHP file and in this file I use HTML code and some php scripts. Aptana recognizes the PHP code and allow me to ...
1
vote
0answers
119 views

Vim PHP ctags for $['array'] C+]

So far I have this (Which is sufficient enough for me at the moment): ctags -R --languages=php --langmap=PHP:+.tpl --tag-relative=yes --PHP-kinds=+cf However, I still can't press "C-]" when I want ...
1
vote
0answers
99 views

how I can set Xdebug in php.ini for my mini server to seen the error in uniserver?

I tried uniserver portable to get php server run on my computer. [xdebug] zend_extension="C:/UniServer/usr/local/php/extensions/php_xdebug.dll" xdebug.remote_autostart=on xdebug.remote_enable=on ...
1
vote
0answers
127 views

WAMP and WIN 8 issues on port 80

I have tried all to get WAMP running in WIN 8 due to the problems on port 80. I changed the settings in lmhost from 80 to 8080 but I get a error localhost 8080 is not allowed.... I am using chrome as ...
1
vote
0answers
138 views

Solr php extension on zend server ce make fails

I've got curl, and libxml which are dependencies of the solr extension But pecl could not realize that, so I did, pecl install -n solr knowing that I have set the correct php.ini, ext_dir ..etc, ...
1
vote
0answers
203 views

How to connect Komodo edit with WAMP?

How do I setup it to preview PHP code over WAMP with Komodo edit?
1
vote
0answers
510 views

php interactive mode gives no prompt

I'm running Windows 7. I just downloaded the "binaries and source" distribution of Php 5.4.6. When I unzip the download and navigate into the directory and enter the command php.exe -a on my command ...
1
vote
0answers
454 views

Problems with mcrypt on Snow Leopard

I'm having libmcrypt troubles on my Mac, version 10.6.8, php version 5.3.8. I want to enable libmcrypt but I don't appear to have mcrypt! I've tried following directions to install libmcrypt on a ...
1
vote
0answers
195 views

Mercury with Xamp does not mail, but gives no error

Im making a website, and after users have registered i want to send them an email. Im using the codeigniter framework which has some neat premade mail functions in it. The code is working like it ...
1
vote
0answers
336 views

PHP document root problems (permission denied)

I've set up PHP on my OS X 10.8 system and am trying to test it works. I created a file named "phpinfo.php" and placed it in my document root with the contents below: <?php phpinfo(); ?> ...
1
vote
0answers
750 views

cannt run phpunit tests on bash ubuntu 11.10

I'm working with Ubuntu 11.10 as root on my local machine, I've installed xampp 1.7.7 and While following a tutorial on sitepoint on how to install pear to use PhpUnit, I didn't notice it then, but ...
1
vote
0answers
244 views

PHP Report Maker 5 Export Feature

Is there a way to add a default header for an exported report in PHP Report Maker. For example, if i choose Export to Word, it will automatically generate the header and footer that is appropriate to ...
1
vote
0answers
61 views

PHP: error when requiring PEAR.php

I'm having an include path problem: get_include_path() returns .:/usr/share/php:/usr/share/pear Pear.php is in /usr/share/php: # ls /usr/share/php Pear.php but require 'Pear.php' gives me a ...
1
vote
0answers
672 views

How can I run a PHP CLI program in the console in Eclipse PDT?

I can only open PHP Command-line Interface programs in browsers in Eclipse PDT. I want to run it in the command line so that I can get the user's keyboard input.
1
vote
0answers
995 views

Couldn't start apache

I've installed xampp 1.7.7 on windows 7 x64 and imported configuration files from 1.7.7. With default php.ini which is shipped in 1.7.7, apache start, but the web pages are browsed white pages and at ...
1
vote
0answers
87 views

apache error message on every system restart

Every time I restart my computer, Apache "has encountered a problem and needs to close". I have Windows XP Professional SP3, and am running Apache 2.2. Here is the screen I get when I click the "more ...
1
vote
0answers
374 views

Unhelpful suggested autocomplete tags when editing HTML & CSS with Aptana Studio

I switched from PHPed to Aptana 3 because of the Zen Coding Addon which is not available for PHPed. My Problem is as follows: I'm coding HTML / CSS. When I type <div st the first suggestion is ...
1
vote
0answers
247 views

Mac OSX Lion Apache server takes a while to start serving php scripts

I use the built in Apache (web sharing) and the built in PHP in OSX Lion to run DokuWiki as a personal information manager (nobody connects externally). From the previous version of OSX, there seems ...
1
vote
0answers
240 views

OSX: Installing Custom PHP Binaries

I've been doing alot of research and trying to figure out why I have this "older" version of PHP on my Mac (Snow Leopard). I tried MAMP, and it's cool if you just want a *AMP stack and not much ...
1
vote
0answers
287 views

DKIM milter with Postfix doesn't sign additional headers passed to PHP mail() function

I use CentOS server with Postfix for mail sendind and my PHP application use mail(0 for mail sending. Some "FAQ" problem with this setup have been solved quickly using Google (e.g. passing "From" ...
1
vote
0answers
407 views

PHP include and require statements fails after a number of executions

I'm having a very strange issue, where PHP include and require statements fails after a number of executions. The site is running on IIS 7/Windows 2008 R2 and the site's content is stored in a remote ...
1
vote
0answers
920 views

How do I run a PHP script through SSH using MAMP?

I have a PHP socket script that I run from SSH on a remote dedicated server, but I want to try doing that using MAMP with SSH. I have MAMP configured and am running a remote web server on port 80. I ...
1
vote
0answers
82 views

Zend studio can't open files with long name?

It fails to open such files: f83ac0fa419a277bec5820ab6298a688d0cd69f8.file.header_xxx_new.tpl.php Which can be opened in other text editors like editplus. Zend Studio Professional Edition Build ...
1
vote
0answers
235 views

“PHP Error” when running PHPUnit tests from within Komodo IDE

I am using the latest version of the Komodo IDE, PEAR and PHPUnit with PHP version 5.3.0. When I run the unit tests for my Komodo project the tests run correctly, but regardless of whether there are ...
0
votes
0answers
28 views

PHP site with JavaScripts is not working on Raspberry Pi (server) but works on other PC

I have a problem with a site that shows calendar, time, weather and RSS I found on the internet. I made an Apache server on my Raspberry Pi, then copied necessary files to /var/www and at first, the ...
0
votes
0answers
9 views

Unable to send email using PHP

I have postfix installed, but can't get it to send any email. I'm not sure what the problem is, it could be postfix it could be something else. I just can't get php to send mail Here is my setting's ...
0
votes
0answers
8 views

How to use tor with PHP CURL

I want to be anonymous and I want to be able to have my IP changed frequently, so my questions is How can I make the script use Tor proxy as using a php CURL? I'm currently running Windows. I believe ...
0
votes
0answers
1 view

Php mail not recieving

My issue is php mails aren't being received. so I have WHMCS on a server here and I am using WHMCS for service & client management but is only allowed on our company network so it won't be ...
0
votes
0answers
6 views

Can PHP sockets and HTTP requests be logged?

I would like to be able to log outgoing HTTP requests from PHP scripts with the time and PHP script location and line. It occurs to me that since you apparently can open sockets in PHP, you would also ...
0
votes
0answers
14 views

App Engine Php XDebug PhpStorm Setup issues

Phpstorm documentation indicates that a local php install is required for App Engine but I get a port 9000 conflict on XDebug when Mamp is launched. The app Engine docs indicate that php is installed ...
0
votes
0answers
4 views

Serving PHP and Node.JS from the Same Apache Server via XAMPP

I have seen a lot of tutorials about the topic. Tho, my question is about domains and subdomains. Suppose i have a domain example.com. It lands on my blog. The forum.example.com lands on a different ...
0
votes
0answers
13 views

Sublime Text: Why regex in syntax highlighting does not work?

In sublime text 3 a default syntax highlighting rule paints a sql select just fine if its in the same line, but not if its in the next line: vs After reading this question I opened the PHP package ...
0
votes
0answers
21 views

Squirrel Mail - POP3 Migration - Server to Server

I'm looking to migrate Squirrel Mail mailboxes POP3 over to a new server and i can't find a guide on how to do this and which plugin would be best to use? I've managed to install Squirrel Mail on the ...
0
votes
0answers
19 views

Accessing PHP web server running on a VirtualBox VM (with host-only network)

I am trying to connect to the PHP built in web server (php -S) running on a VirtaulBox VM. My host OS: Windows 8.1 x64 My Guest OS: Ubuntu Server 14.04 LTS I can access the Apache web server just ...
0
votes
0answers
21 views

Running SCP through PHP does not yield same result as CMD

I have a Microsoft Windows Server 2012 R2 Foundation running an MSSQL server and PHP. My goal is to replicate tables from the MSSQLdatabase to a Debian Wheezy MySQL database. I have successfully ...
0
votes
0answers
59 views

Fedora 22 Docker Container unable to network

I have been struggling with Fedora 22 and getting Docker images to be able to communicate with the outside world. Not sure how to start testing this, or even where to start to look. Let me explain ...
0
votes
0answers
10 views

SELinux issue with php_shell_exec

I have a php site on CentOS7 that needs to use some shell scripts using php_shell_exec. But the scripts do not run due to SELinux (that I require). None of the scripts use sudo, I understand that ...
0
votes
0answers
16 views

How to prepare Windows based environment to test multiple PHP versions?

I guess this is more general question so asking it at superuser, not on stack exchange. I have to create windows environment with both IIS and Apache, and test latest 3 PHP versions. (At the moment ...
0
votes
0answers
55 views

Zabbix 403 Forbidden using httpd24-httpd

Using latest version of Zabbix. Running RHEL 6.6 and needed to use a different repo to get newer versions of Apache and PHP. The new httpd directory is /opt/rh/httpd24-httpd/root/etc/httpd When I ...
0
votes
0answers
20 views

php failed signature verification and may have been tampered with

I have been unable to install any version of PHP on Windows/IIS via Web Platform Installer 5.0 running on Windows 8.1. I have tried several different versions of PHP: 5.3, 5.4, 5.5, 5.6. Each time, it ...
0
votes
0answers
33 views

website hosting on my local server using mamp in mac

I want to host a wordpress site locally on my MAMP server. This is the procedure I followed: 1.Installed the duplicator plugin on the site and created the site package. 2.Downloaded the installer and ...
0
votes
0answers
18 views

Configure PHP settings on per vhost basis

I have an Apache server that has two websites. I want the two sites to have a bit different PHP configurations. The setup: The two vhosts share the configuration php.ini file. The same php.ini is ...