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
90 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
126 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
133 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
194 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
442 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
434 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
187 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
331 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
716 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
229 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
618 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
963 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
83 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
353 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
245 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
230 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
278 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
400 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
875 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
232 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
4 views

Can I use an outgoing service on my SMTP server on a differnt port to 587/465?

Creating my own SMS service using PHP and came to an impasse: the firewall uses ports 587 and 465 for SECURE IMAP so it's a no go to use TLS or SSL on those ports. Is there a way I can use different ...
0
votes
0answers
10 views

Lost trying to set up mail server forwarding. iRedMail Roundcube Mail

I'm rather new to linux, setting up email servers, and programming in general. I'm using AWS ubuntu to create an iRedMail email server. I have the basics set up but I can't figure out how to set up ...
0
votes
0answers
10 views

Setting up php to send email through IIS

I have a wordpress site on my Windows 2012 R2 IIS server. I have installed SMTP. These are the setting I've done in php.ini: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ...
0
votes
0answers
12 views

Write permissions to xampp on windows 7

I have installed xampp on windows 7 in C:/ directory. I am trying to run a PHP installation file (timetrex installation) I am getting the following error: ...
0
votes
0answers
7 views

nginx configuration - Allow local access (different rules for local requests?)

I'm working on a debian 7 nginx server. Because the server is online available, I restricted the access with following lines in the site-configuration ( server {} ): auth_basic "Restricted"; ...
0
votes
0answers
25 views

exception to domain forwarding

I have forwarded a domain from a hosting site to our own http server. I would now like to host some pages directly on host server to take advantage of some of the services they have; for example - a ...
0
votes
0answers
21 views

Installed PHP extensions to wrong PHP version

I just bought a VPS and it came with PHP5.3.3 and that wasn't good for our website, so I successfully (so it seemed, anyway) installed PHP5.6.7 and successfully registered it with Plesk. For the ...
0
votes
0answers
21 views

XAMPP Apache error AH01599: Cannot get media type from 'x-httpd-php53'

I'm trying to setup Xampp on a Mac (OSX 10.10.2), its setup and normal PHP runs, however when I try and run a Wordpress site the PHP code doesn't execute, it just prints out in the browser and I keep ...
0
votes
0answers
50 views

Nginx + PHP projects outside of root

I'm trying to setup project directories outside of my server root in Nginx 1.0.15 (I can't get any newer versions due to environment). I want my directory structure to look like this: /var/www |-- ...
0
votes
0answers
17 views

Once again Trovebox (OpenPhoto) setup hangs/fails at final step 3

Trovebox setup doesn't proceed beyond step 2. Gives a blank page 3 Having the same issue as this post but advice there is not resolving my issue Trovebox (OpenPhoto) setup hangs/fails at final step ...
0
votes
0answers
10 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
0
votes
0answers
31 views

How to send COOKIE, PHPSESSID from my own webserver to php5-cgi script to execute PHP pages

I am developing a Webserver in C. I know how to pass environment variables to ph5-cgi, eg: putenv("QUERY_STRING="); putenv("REQUEST_METHOD=GET"); putenv("REDIRECT_STATUS=true"); ...
0
votes
0answers
14 views

ISPConfig3: No PHP MySQL function available

This message is given when I configure ISPC3 with php -q install.php The ISPC3 output: ISPConfig3: No PHP MySQL function available. Please ensure the module is loaded. I've tried to install the ...
0
votes
0answers
21 views

php.ini changes not reflected to website

i am unable to edit the php.ini changes. i changed in the etc/php.ini and also in home/domain/etc/php5/php.ini But the changes are not be reflected when i see on the php files. i am using phpinfo() ...
0
votes
0answers
32 views

Turning off send mail as nobody on WHM, existing PHP scripts with mail()

I've turned off sendmail as nobody on WHM, to try to deal with some load issues on my server. However, this means that many existing PHP scripts under other accounts that have mail() in them do not ...
0
votes
0answers
12 views

How to set ownership/permission of PHP site that accessible by the user AND the apache user

I'm having problems with my PHP projects within /var/www set on permission www-data:www-data. My user can't write to these directories. I've added myself to www-data group and have added chmod -R ...
0
votes
0answers
25 views

ffmpeg start recording at certain time

I'm searching a ffmpeg option that let me start recording streaming source at a certain time: I start my php script with crontab, inside my php I run ffmpeg for X minutes. Ffmpeg takes some seconds to ...
0
votes
0answers
9 views

Phing - Alternative to fetching files using scp's fetch attribute using filesets

I have a Phing task like this: <scp host="myserver" fetch="true" todir="backup"> <fileset dir="upload" > <include name="**" /> </fileset> </scp> ...which ...
0
votes
0answers
6 views

Php Pear Remote-Install “Error: remote-install expects either option ”remoteconfig“ be set, or remote_config configuration variable be used”

I am setting up PHP and Pear Remote install on my local server. As per the instructions here: http://pear.php.net/manual/en/installation.shared.php I have 'setup' the remote configuration using ...
0
votes
0answers
9 views

How to identify the database and took backup from another server?

Please guide me in this situation. I have two domains domain1 and domain2, both domain are registered from the different provider but hosted on the same server (server1). My question is that if I ...
0
votes
0answers
7 views

Syntax highlighting of variable interpolation in BBEdit

I'm writing PHP in BBEdit. How can I highlight variables inside strings differently from the rest of the string? For example, in "hello, $name", the $name part should have a different highlight ...
0
votes
0answers
31 views

Can Netflix OSS system be used for applications built in php and/or python?

I came across NetflixOSS open source project http://netflix.github.io/#repo I was wondering if it would work out of box with php and python applications. How can a person tell what types programming ...
0
votes
0answers
47 views

Getting new PHP version in WAMP to load

I'm downgrading my WAMP from 5.5.12 to 5.3.10, I added exported php-5.3.10-Win32-VC9-x86.zip to C:\wamp\bin\php\php5.3.10\ I've added the necessary php5apache2_4.dll into the php5.3.10 folder and ...
0
votes
0answers
62 views

Uninstalled Apache, but still see test page

I recently installed Apache HTTP Server from Apache Haus and PHP, and have decided I'd like to experiment with a few other options, so I uninstalled and deleted them. However, when I visit localhost ...
0
votes
0answers
9 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
0
votes
0answers
29 views

Recovering deleted files using php

I honestly don't know what I did. But I used either rmdir() or unlink() and accidentally deleted some files I worked on today. I am using Mac OS X PLEASE PLEASE tell me there is someway I can any of ...
0
votes
0answers
55 views

550-Please deliver mail to the address specified in the MX records for this 550 domain

I have a PHP script which emails the results of a form to a specified address. Previously it was working fine but now it's not sending email anymore. When I check the error log, I see this error: ...
0
votes
0answers
62 views

How to execute an application with wine + parameters/attributes on php

I am trying to execute my custom application with wine on php. The problem are the parameters/attributes I'll need to start the app with. It works perfectly via ssh: wine test.exe -b test.png But ...