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
votes
0answers
20 views

How can i make my http server look like its from brazil?

So i have created a http server http://impulzz.comuf.com/cstrike/ and its located somewhere in the US, so when i do a trace route some city in the US comes up, I would like to make it look like this ...
0
votes
0answers
4 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 ...
1
vote
1answer
17 views

File exists but returns “The system cannot find file specified” when using UNC path

I'm using PHP to check if a file exists and then get it's size. The code worked great before but now that we're using a UNC path I can check that the path exists with file(exists($filename)) but ...
0
votes
0answers
7 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 ...
-2
votes
0answers
29 views

How to print PDF using dot matrix printer [on hold]

I have test to print PDF file using dot matrix printer. At the first printing, I was lucky because the output "Its what U see What U get", the output printed use font family Courier. But when I ...
0
votes
0answers
9 views

GET variables in rewritten urls? [on hold]

I currently have the following URL structure in my online shop: http://localhost/product/123/mens-t-shirt Which opens the following page: http://localhost/product.php?id=123&uri=men-t-shirt ...
0
votes
0answers
19 views

SSH2 taking too long to connect with remote server [on hold]

I am trying to connect with remote server using SSH2 configuration but it’s taking too long to connect with remote. Is there any way out for this so that i will connect with remote quickly using SSH2? ...
0
votes
0answers
10 views

Buffer problems Adafruit Thermal Printer connected to Raspberry Pi B+ [migrated]

My Raspberry Pi B+ is hosting a PHP website and that is connected to a thermal printer through serial interface (RS232 Adafruit thermal printer). So I used the library PHPSerial to write to my ...
0
votes
2answers
52 views

FTP is corrupting files since a few days

Since a few days, every ftp upload I run corrupts files over a certain size, mostly after 400 - 500 lines of code, the file breaks, starts all over from the beginning, and then after a few lines ...
0
votes
0answers
11 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"); ...
2
votes
0answers
9 views

Customise HTML-Kit Tools syntax highlighting

I'm using HTML-Kit tools to edit a PHP site. The syntax highlighting's really helpful, but it would be good if I could edit it, specifically so that my custom functions would be highlighted (as ...
1
vote
1answer
45 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
0
votes
1answer
23 views

PHP PECL Sphinx module won't install

I'm trying to install the PHP Sphinx client (PHP 5.6) on my Debian 7 server using PECL. I get the misleading error "wrong libsphinxclient version or lib not found" when trying to build, even though ...
0
votes
0answers
11 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
13 views

PHP: Print array to template without template engine [migrated]

I have a simple associative array in PHP containing data I like to print out in a format specified by a HTML template. The template would look something like this: <html><head>Some ...
0
votes
0answers
15 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() ...
-1
votes
0answers
26 views

phplist is showing blank page after installation

I installed phplist on goDaddy VPS Server on CentOS. I have completed installation successfully. But now it is showing blank page. I tried so much. I also installed new fresh copy but it is not ...
0
votes
0answers
21 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
10 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
1answer
33 views

Login script with PHP and MySQL doesn't work, users from database doesnt appear - probably rookie mistake

I am new at php and MySQL, and I might have a stupid mistake here, but I just cant find it.... The script returns that I have entered wrong password or username, but I am completely sure that both are ...
0
votes
0answers
15 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
7 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
1answer
58 views

unable to open phpmyadmin Error during session start; please check your PHP …etc

I have installed xampp on ubuntu. I can access on firefox localhost/xampp. However when I go to phpmyadmin on the left it comes up with "phpMyAdmin - Error" Then underneath that it has this: "Error ...
1
vote
0answers
58 views

bash- command does not work with php shell_exec

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
8 views

How to make titles bold based on date in WordPress?

I am having a WordPress site with static front page and it displays featured and recent posts....I am not using any widgets to achieve this, just using a custom home page template. My requirement is ...
1
vote
0answers
78 views

I destroyed my Mac's PHP setup: SSL certification fails

Long story short, I deleted the PHP symlink on my Mac, and replaced it with a symlink from XAMPP. Now it seems that there's a problem with my SSL configuration or what seems to me, a lack thereof. ...
0
votes
1answer
251 views

Errors with a phpMyAdmin install on CentOS 7

Well, I was trying to install phpMyAdmin on CentOS 7 (64bit) and this happens. Here is a Pastebin of the output from yum install phpmyadmin because can’t get code thing to work. [root@ftb ~]# yum ...
0
votes
2answers
127 views

How to yum update PHP to version 5.4 on Amazon Linux?

I need PHP 5.4 installed in an Amazon Linux instance. Presently we have: root@ip-10-138-1-229 webapps]$ php -version PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34) Is there a yum package for this? ...
0
votes
1answer
80 views

Remove everything related to PHP on Debian Server

I tried to compile PHP5.4 by myself with ZTS support which worked fine, but it seems that whenever I install extension with apt-get like apt-get install php5-mysql, it does not get installed into the ...
0
votes
1answer
61 views

Can MySQL handle a string 2 million characters long in BLOB

A search using the title returned 1 question on Stack Overflow, which was not related, and with the MySQL docs 65535 characters was mentioned as a max; but is that ... normal characters or would it be ...
1
vote
0answers
12 views

PHP syntax in Sublime Text very slow

My Sublime Text 3's PHP syntax highlighting causes the editor to become extremely slow. And it's proportional to the amount of code in the current file. It's only with PHP. As soon as I switch to ...
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
5 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 ...
1
vote
0answers
22 views

How to switch off “you can use new shorter array creation syntax” hint in NetBeans IDE 8.0.2?

I use NetBeans IDE 8.0.2 on Linux Mint. I searched through the options few times, but I can never find the option to switch this hint off in there. I know well about the new syntax in PHP, but I ...
1
vote
0answers
23 views

PHP - MSSQL configurations cause slow performance [closed]

I have a problem in my project using PHP and MSSQL. I have the following configurations: 64 GB Ram 16 CPU Intel Xeon SQL Server 16 GB Ram 4 CPU Intel Xeon Web Server And I have the following code: ...
0
votes
0answers
26 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 ...
-1
votes
1answer
81 views

How to Syncing Offline MySQL db to online MySQL db

I am developing a inventory management web application using php and mysql. This application will runs on server hosting and localhost. while any one server disconnect the internet at the time data ...
1
vote
1answer
113 views

failed to open stream too many open files - php 1024 maximum limit - Redhat - why isn't new limit working?

I've got this message while debugging a problem in a PHP program. I've already edited the /etc/security/limits.conf and added * hard nofile 500000 * soft nofile ...
0
votes
0answers
32 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
51 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
1answer
426 views

install php-fpm on centos after remoe it

i install php-fpm and php-mysql and nginx then i remove it and update servers kernel. now, when i want to install php-fpm ,.. dont install $>uname -a 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 ...
1
vote
1answer
200 views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
0answers
28 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
46 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
1answer
38 views

How to permanently correct syntax highlighting after “?>”?

In Vim, I have a PHP script that contains a line similar to the following: $return = "<?xml attributes=\"values\" ?>"; Normally, the ?> characters will close an opening <?php tag, ...
0
votes
1answer
71 views

Missing MySQL extension required to run WordPress on custom Linux server

I need to get WordPress up on running on a custom Red Hat Linux server, but am getting the following error when attempting to visit the WordPress install page: Your PHP installation appears to be ...
0
votes
0answers
59 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 ...
0
votes
0answers
72 views

nginx not serving php files with curl in fedora 21

phpinfo and php with echo are working fine but with curl gives 403 error. error in chrome: http://localhost/send3.php Failed to load resource: the server responded with a status of 403 (Forbidden) ...