PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

1
vote
0answers
285 views

Trouble installing php-devel on CentOS

Working with a PHP install and trying to install APC on a server to help with speed issues with an application we're developing. We are having trouble getting phpize installed. phpize is not on the ...
1
vote
0answers
85 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
641 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
113 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
391 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
751 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
244 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
584 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
120 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
101 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
129 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
207 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
531 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
462 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
198 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
338 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
764 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
249 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
691 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
1k 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
88 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
244 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
289 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
411 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
938 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
236 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
13 views

getting permission denied when uploading gfiles using php on ec2

I am trying to upload files using PHP on a Amazon t1.small instance but getting the following error: [ Tue Aug 25 22:04:25.163568 2015] [:error] [pid 6467] [client 120.56.186.247:2440] PHP Warning: ...
0
votes
0answers
22 views

How can I setup multiple php version in Linux?

I am working on a project and I just want to ask on how can I setup multiple PHP version in Linux. The scenario looks something like this since the server already has a PHP but with a version of 5.2 ...
0
votes
0answers
16 views

Debian machine not sending mails (PHP)

I have a local vagrant debian machine hosting a Symfony php application which should sends mails with Swiftmailer. When I move this app to a pre-production or production server mails are sent, so the ...
0
votes
0answers
22 views

How can I protect specific web pages from URL sharing? Temporary URLs?

This is a technical question which is based on implementing a special feature on an website. I know HTML and CSS, I know crude JavaScript (very basic) but I have no clue about PHP or other web-based ...
0
votes
0answers
21 views

no internet with some programs, it's not the firewall

the last few days some programs cannot get info from internet, that is:i wrote the programs with livecode and created a simple connectiontest program that post to a php file on a website and tells me ...
0
votes
0answers
18 views

Find missing sequence numbers in table mysql

I have a list like this 1 3 9 10 I want it to be like this 1 2 3 4 5 6 7 8 9 10 all the missing numbers will display I try the following query select l.IDBANK + 1 as start from _bank as l ...
0
votes
0answers
18 views

SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

I am running a PHP script on a RedHat server using Teradatas ODBC drivers. <?php $conn = odbc_connect("Teradata", "username", "password"); $result = odbc_exec($conn, 'SELECT count(*) FROM ...
0
votes
0answers
13 views

How to upgrade PHP in SLES 10 sp2?

I need an updated version (at least 5.3) of PHP in my server running SUSE Linux Enterprise Server 10 sp2 (PHP 5.2.5). I've look for instructions but I haven't found. Can you explain me how to do it, ...
0
votes
0answers
20 views

php-fpm -y /etc/php-fpm.conf -R Only works during current run?

So I am trying to solve the FTP Credentials problem in Wordpress from ever occuring again it seems my problem lies in php-fpm. This here is my www.conf for php-fpm: [www] listen = ...
0
votes
0answers
24 views

How to upgrade php-fpm on OSX Yosemite 10.10.04?

Currently I have this on my machine Milans-MacBook-Pro:local vaske$ brew install php56 Warning: homebrew/php/php56-5.6.11_2 already installed Milans-MacBook-Pro:local vaske$ php -v PHP 5.6.11 ...
0
votes
0answers
20 views

EC2 WP No errors in mysqld.log yet Error w/database connection?

System information: Linux - latest from AWS | Apache - 2.4.12 | MySQL - 5.5.42 | PHP - 5.4.42 memory_limit: php 128M | wp 64M Running new m3.medium instance and having the database connection issue ...
0
votes
0answers
42 views

How to make nginx connect php-fpm with 127.0.0.1, not server's public ip?

I found error 'WARNING: [pool www] child 3715 said into stderr: "ERROR: Connection disallowed: IP address 'x.x.x.x' has been dropped." ' in php-fpm's log, where 'x.x.x.x' is my server's public ip. ...
0
votes
0answers
39 views

Format date from text string in php

Situation 'Commencement Date' input I want to format the users inputted date to DD/MM/YYYY however the input must stay text if the user inputs ASAP Forexample ASAP => ASAP 08/08/2015 => 08/08/2015 ...
0
votes
0answers
9 views

OSX HID control from PHP

Here's a real challenge: I have created a command that types from the CLI in OS X 10.11. osxtype "hello" will send the actually keyboard keypresses for h, e, l, l and o. it will type into what ever ...
0
votes
0answers
53 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
15 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
34 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 ...